A simple plugin that will allow you to make the items you want <undroppables> for the players! When you add an item to the list of items that cannot be dropped, players will no longer be able to drop the item on the ground, nor will items from that list fall to the ground when a player dies with one of them. There is also a permission that allows players to be excluded, so that all players with this permission will be able to drop the items on the ground and will also drop them at the time of death.
- Native Minecraft Version:
- Tested Minecraft Versions:
- Source Code:
/udi help - Show all plugin commands in-game.
/udi additem - Adds the item in your hand to the undroppable items list. This will add the item to the config with the format that I have set in the plugin. For more information on this format see the <config.yml> section on this page.
/udi removeitem - Removes the item in your hand from the undroppable items list in-game. It is more advisable to close the server and delete the items from the config manually, taking into account the format in which the plugin saves the items in the config.
/udi version - See the plugin version.
/udi reload - Reload the config.udi.* - This permission is required to use all commands.
udi.exclude - Players with this permission will be able to drop items with the drop button or at death time even if they are on the undroppable items list.Any suggestion is accepted, don't forget to leave your 5 stars next to the suggestion .
Items list format:
When you use the /udi additem command, the items will be added as follows to the config, the format has to be this for the plugin to work properly.
Note: The text below is not required to be read to use the plugin, as the additem or removeitem commands can be used to handle the list of undroppable in-game items. But it is advisable to read this text as it explains how items are added to this list. In any case, if you have any problems with the plugin, I recommend you read this text and then, in case you cannot solve your problem, go to my discord and I will help you with pleasure.
All the items that you add to this list will have the following format: To begin with, they will all be added with the name of their material, in the screenshot you can see that the stone and sand are added to the list. Then, there is a flag that is "undroppable", this flag will be added to the item in case when using the command </udi additem>, the item you have in your hand does not have a name or a lore. This flag will make every item of that material undroppable, as long as the flag is true. Then, there is the <Material>.lore section, this section will be added in case the item you have in hand only has lore and no name. This will make every item of that specific material (in this case stone) that has that lore undroppable. Then there are the named items, for example in the screenshot you see a stone item with the name "xd2", this section will be added if the item that is added with the command mentioned above only has a name and does not have lore (ignore the path that says "name" below, will always appear empty regardless of the name of the item, but the path of "name" should not be removed, because otherwise the plugin will not work correctly). This will make any stone with the name "xd2" undroppable. And finally, the section of the screenshot that says "xd1", this section will be added when the item that is being added to the list has a name and also has lore. This section will make every item that is a stone (in this case), that has the name "xd1" and that has the lore "pruebaxd1" be undroppable.
UnDroppableItems | Make the items you want undroppable! | [1.7-1.16] 1.1
Make the items you want undroppable! Configurable to your liking and with death drops included!