With this addon you can ban any player's inventory or hotbar! He will not be able to fill the banned inventory even from the creative! The ban of slots remains even after the death of the player!
This addon allows you by entering one command to ban certain slots of the player's inventory. A player cannot put items in a banned slot, pick up items from the ground in this slot, and in general cannot interact with it in any way. The item that bans the slot cannot be thrown away by the player, moved somewhere, and in general it is not visible there that it is an item. Also, banned slots do not drop out when the player dies, and when the player is revived, they remain with him.
How to use:
just type /execute <playername> ~~~ function and one of these:
for example, to ban all possible player slots, enter
/execute <playername> ~~~ function allslots_Ban
Description of functions:
allslots_Ban bans all possible player slots (including hotbar and armor slots)
armor_Ban bans all armor slots
hotbarSlot1_Ban -- hotbarSlot9_Ban bans one hotbar slot from 1 to 9
hotbar_Ban bans all hotbar slots
inventory_Ban bans all inventory slots (except hotbar and armor slots)
And the same functions but ending in "_Unban" unban the corresponding slots. (if you have banned one hotbar slot, enter "hotbar_Unban" to unban it)
A completely banned inventory does not pick up items from the ground:
This addon only works on version 1.16.0 and higher. If your version of minecraft is lower (1.14 \ 1.13 \ 1.10) this addon will not work!
This addon does not require any experimental world options to be enabled!
This addon works great in multiplayer!
If a banned hotbar slot is selected, the player's hand is not visible in the first person view;
armor_Ban only bans the helmet slot;
These bugs cannot be fixed yet.
Is this addon compatible with other addons?
This icon in the name of the addon means that this addon is compatible with all my other addons, and addons from other creators!
Select version for changelog:
- Added an icon about the compatibility of the addon with other addons.
Click "Download" then when the page loads scroll down and find the "Free access with Ads" button and click on it. Then scroll up a bit and find "Discover interesting acticles" and click on that. A window will appear and you click on the cross, the inscription "wait 9 seconds" will appear, you wait and then click again on the cross and it will close. When it is closed click on the gray "Continue" button and hurray you did it!