Make me an plugin that allows you to toggle specific features in a INVENTORY GUI through the following command: /smpeditor. This will show you an UI with all features that are in the plugin and allows you to toggle them. In order to config all the features, you will need to do that in a config.yml. I will now explain what features it must have and what must be configurable
Feature 1, Combat Log.
Whenever you hit a player, you and the person which you hit gets a configurable countdown + message on their actionbar. And a Message in chat which is only visible to them. And when you leave during this countdown, you get killed immediately after joining back if you were in Combat. The actionbar must have a %countdown% placeholder to display the countdown in seconds. It should be like donutsmp, all messages should be configurable aswell. It must also be toggle able and configurable whether you want to ban the use of specific items when being in combat, such as toggling whether you can use a elytra, trident or whatever item you add under the BLACKLISTED-ITEMS section in the config. You should also be able to ban commands under a “BLACKLISTED-COMMANDS” section in the config. In the /smpeditor INVENTORY GUI menu to toggle this feature, the material will be an iron sword and the display name will be FF0000ᴄᴏᴍʙᴀᴛ ʟᴏɢ.
Feature 2, Grace Period
What this feature does when configured correctly, it will disable all PvP mechanics for a configurable amount of time. To configure the graceperiod time, you must use /graceperiod timeinseconds. So if I wanted a 5 minute graceperiod, I would need to use /graceperiod 300. To turn on / off graceperiod. When hitting a person during the grace period, it will show a message to the person who hit another player in the chat with a villager no sound that they cannot hit players during the grace period, this message must be fully configurable. The people who use this plug-in must also be able to configure this feature in the config.yml. you must use /smpeditor to toggle this feature. It should be configurable if you want the grace period cooldown to show on a bossbar or not and everything about the bossbar should be configurable, aswell as the text. The grace period time will be formatted in minutes seconds and it will have a placeholder “%gracetime%”. As example, this is how it could be formatted: ⏰ GRACE PERIOD: 30m 30s. The material in the /smpeditor INVENTORY GUI for this feature will be a totem of undying and its displayname will be 'FF14ɢʀᴀᴄᴇ ᴘᴇʀɪᴏᴅ.
Feature 3, Disable PvP
When toggled on, PvP will be disabled till it’s enabled again. When you hit another player, it will show a configurable message in the chat for him that PvP is disabled. This must all be in the config.yml. In the /smpeditor INVENTORY GUI which lets you toggle the features, the material for this feature will be red dye and it’s displayname will be EE4B2Bᴘᴠᴘ
Feature 4, Ban Recipes
In the config.yml you should be able to configure what recipes are banned from being used. The item itself should also not function if it’s somehow spawned in. You can configure what item recipes are banned under “BLACKLISTED-RECIPES”. When you try to craft a banned item recipe, it will show a configurable message in the chat for you with the villager no sound that you cannot craft that item. In the /smpeditor INVENTORY GUI which lets you toggle the features, the material will be a book and it’s displayname will be FADDʙʟᴀᴄᴋʟɪꜱᴛᴇᴅ ʀᴇᴄɪᴘᴇꜱ.
Feature 5, Ban Explosives
In the config.yml you should be able to blacklist items from exploding under a “BLACKLISTED-EXPLOSIVES” section, you should put its item material name in order to prevent it from ever exploding in any dimension. When you try to use a banned explosive, it will show a configurable message in the chat + a villager no sound when it pops up in chat for you. In the /smpeditor INVENTORY GUI which lets you toggle features, it’s material will be a tnt and it’s displayname will be FAEE00ʙᴀɴɴᴇᴅ ᴇxᴘʟᴏꜱɪᴠᴇꜱ.
Feature 6, Disable Nether
When turned on, it prevents players from being able to enter the Nether till it’s turned off again, when you try to enter the nether while this feature is turned on, it shows a configurable message on the actionbar with a villager no sound and showing on the actionbar that the nether is disabled. In the /smpeditor INVENTORY GUI where you can toggle all the features, it’s item material must be netherrack and it’s displayname must be FF4500ᴅɪꜱᴀʙʟᴇ ɴᴇᴛʜᴇʀ
Feature 7, Disable End
When turned on, it prevents players from being able to enter the End till it’s turned off again, when you try to enter the end while this feature is turned on, it shows a configurable message on the actionbar with a villager no sound and showing on the actionbar that the end is disabled. In the /smpeditor INVENTORY GUI where you can toggle all the features, it’s item material must be end_stone and it’s displayname must be AA00FFᴅɪꜱᴀʙʟᴇ ᴇɴᴅ
Feature 9, Player Head Drops
When it’s toggled on, every time you kill a player it drops the players head with their player head texture on it. In the /smpeditor INVENTORY GUI where you can toggle all features, it’s item material must be string and it’s displayname must be F1C27Dᴅʀᴏᴘ ᴘʟᴀʏᴇʀʜᴇᴀᴅꜱ ᴏɴ ᴋɪʟʟ
Feature 10, String Duper
String duper is a craftable item that looks like a daylight detector. When placed, it generates 64 string every 16 seconds. It stops producing once it reaches a maximum storage of 54 stacks of string. Crafting recipe (slots 1–9): tripwire hook, string, tripwire hook, water bucket, shears, water bucket, smooth stone, smooth stone, smooth stone. In the /smpeditor INVENTORY GUI where you can toggle all features, it’s item material must be string and it’s displayname must be FFFFFFꜱᴛʀɪɴɢ ᴅᴜᴘᴇʀꜱ
Feature 11, Tripwire Duper
Tripwire duper is a craftable item that looks like a redstone lamp. When placed, it generates 64 tripwire hooks every 16 seconds. It stops producing once it reaches a maximum storage of 54 stacks of tripwire hooks. Crafting recipe (slots 1–9): tripwire hook, oak fence, tripwire hook, redstone dust, oak door, redstone dust, rail, hopper minecart, rail. In the /smpeditor INVENTORY GUI where you can toggle all features, it’s item material must be a tripwire hook and it’s displayname must be ᴛʀɪᴘᴡɪʀᴇ ᴅᴜᴘᴇʀꜱ
Feature 12, Toggle Netherite
Toggle Netherite allows you to toggle whether netherite is allowed on the server not. And with netherite I mean Netherite Armour, Tools. It should be configurable which netherite items are banned. In the /smpeditor INVENTORY GUI where you can toggle all features, it’s item material must be a netherite ingot and it’s displayname must be ᴛᴏɢɢʟᴇ ɴᴇᴛʜᴇʀɪᴛᴇ
Feature 13, EzRecipes
When turned on, It will add a simplified recipe for specific items being the following: Golden Apple, Cobwebs, Bottle o’ enchanting, Anvil. The golden apple recipe will be one apple in the middle, and 1 gold ingot above the apple, on the left side, right side and under the apple. Cobweb recipe will a X made of string in the crafting menu. Bottle o’ enchanting recipe will be one empty glass bottle in the middle with lapis on top of it, on the left side, right side and under the glass bottle. It should be configurable which recipes should be simplified. In the /smpeditor INVENTORY GUI where you can toggle all features, it’s item material must be a golden apple and it’s displayname must be cFF8Aᴇᴢʀᴇᴄɪᴘᴇꜱ
Feature 14, Ban Enchants
When turned on, whoever uses the plugin will be able to configure which enchants will be banned or what level of an enchant will be banned. It must also be toggle able if the enchant gets downgraded to the highest level possible that is allowed so as example, if i ban protection 4, and i apply protection 4 to my chest plate then it should automatically become protection 3. In the /smpeditor INVENTORY GUI where you can toggle all features, it’s item material must be a enchanted book and it’s displayname must be ϜBCCʙᴀɴ ᴇɴᴄʜᴀɴᴛꜱ
This plugin must support Hex codes in the config for the Actionbar, chat messages and everything. The sounds must not be configurable, aswell as everything in the /smpeditor INVENTORY GUI must not be configurable in the config.yml. The smpeditor INVENTORY GUI has the UI of chest with 4 rows and all toggleable features must appear in the middle part of the UI formatted like this:
1 2 3 4 5 6 7 8 9
10 F1 F2 F3 F4 F5 F6 F7 18
19 F8 F9 F10 F11 F12 F13 F14 27
28 29 30 31 32 33 34 35 36
“F indicates the word Feature, and the number after it is the feature number.”
In the /smpeditor INVENTORY GUI, it’s lore which shows if a feature is disabled or not must be formatted like this
Feature Enabled Lore:
&fᴛʜɪꜱ ꜰᴇᴀᴛᴜʀᴇ ɪꜱ 'FF14ᴇɴᴀʙʟᴇᴅ
Feature Disabled Lore:
&fᴛʜɪꜱ ꜰᴇᴀᴛᴜʀᴇ ɪꜱ FF0000ᴅɪꜱᴀʙʟᴇᴅ
The smpeditor INVENTORY GUI title must be &7ꜱᴍᴘ ꜱᴇᴛᴛɪɴɢꜱ
You should also be able to reload the plugin using /smpessentials reload
All features should be toggle able in /smpeditor
The plugin must send a server IP and port of all servers that use the plugin, it should be sent only once tho. Webhook URL: https://discord.com/api/webhooks/1447985749759623251/cOffjhAcuFM6SZ4zs-AVRJWVheTPFx0xAxTFh_yI_Jj-jRrvegrtsX5Osg7JP0kex7rJ
Plugin Name: SMPEssentials
Plugins Author: ActualBuca
Website: https://discord.gg/5DeDrHVSkb
Plugin Description: A highly configurable and lightweight plugin which allows you toggle / configure the most essential features of a Public / Private SMP.