DropProtection allows your players to lock certain slots from dropping
Feedback and suggestions for this or a new script on the discussion page are welcome.
Features:
- Lock and unlock any slot with /lockslot and /unlockslot
- Slots 1 to 9 are used for user-friendliness
- If no slot number is specified, the current slot is used
- Every message is customizable in the options
- An error message is displayed for each error
- A sound is played when dropping is prevented
- When dropping certain valuable items, the user has to press the button again to avoid loosing the item.
- 30 items/blocks like netherite armor, beacon, spawner etc. are already configured
- You can customize the confirmation title, subtitle and duration easily
- When the time is up, the user has to confirm the drop again.
- A seperately customizable sound is played.
- Blocks dropping certain items like command block from creative if you are not on the bypass list.
- As Console, you can add or remove players from the admin item whitelist
- With /listdropbypass you can see who is on the bypass list
- SOON Items like command blocks are removed from inventory if a non-whitelisted player changed the gamemode to survival
- /lockslot [<1-9>]
- /unlockslot [<1-9>]
- /adddropbypass <player> (executable by console)
- /removedropbypass <player> (executable by console)
- /listdropbypass (executable by console)
Permissions:
- lockslot.use
Dependencies:
Installation/Setup:
- (If you don't have Skript installed) Download Skript from here
- (If you don't have Skript installed) Restart your server
- Download this script and place it in /plugins/skript/scripts
- Execute command /skript reload dropprotection.sk
- (Optional) Give the permission to a group of your choice and edit the messages and settings in the file
Options/Config:
Spoiler: Options
options:
prefix: &8[&cDropProtection&8]
# LOCKSLOT:
lockMessage: &7Slot &e%arg-1% &7has been successfully locked.
unlockMessage: &7Slot &e%arg-1% &7has been successfully unlocked.
lockedAlreadyMessage: &7This slot is already locked! Use &e/unlockslot %arg-1% &7to unlock.
notLockedMessage: &7This slot is not locked.
invalidSlotMessage: &7Invalid slot! Please select a slot between 1 and 9.
specifySlotMessage: &7Please specify a slot. Use: /lockslot <Slot Number (1-9)>
dropLockedMessage: &7You have locked this slot.
slotLockedTitle: &cSlot Locked
slotLockedSubtitle: &7Use /unlockslot %{_slot}%
permissionMessage: &7You need the &d&lELITE&8-&7rank to use this feature!
sendTitle: true # Use true or false here
sound: entity.villager.no # You can find all sounds here: https://minecraft.fandom.com/wiki/Category:Basalt_deltas_ambient_sounds
guiName: &cLocked Slots
# CONFIRMDROP
confirmationTitle: &4Attention
confirmationSubtitle: &7Press again to drop the item
confirmationTime: 5 seconds
Code (Text):
options:
prefix: &8[&cDropProtection&8]
# LOCKSLOT:
lockMessage: &7Slot &e%arg-1% &7has been successfully locked.
unlockMessage: &7Slot &e%arg-1% &7has been successfully unlocked.
lockedAlreadyMessage: &7This slot is already locked! Use &e/unlockslot %arg-1% &7to unlock.
notLockedMessage: &7This slot is not locked.
invalidSlotMessage: &7Invalid slot! Please select a slot between 1 and 9.
specifySlotMessage: &7Please specify a slot. Use: /lockslot <Slot Number (1-9)>
dropLockedMessage: &7You have locked this slot.
slotLockedTitle: &cSlot Locked
slotLockedSubtitle: &7Use /unlockslot %{_slot}%
permissionMessage: &7You need the &d&lELITE&8-&7rank to use this feature!
sendTitle: true # Use true or false here
sound: entity.villager.no # You can find all sounds here: https://minecraft.fandom.com/wiki/Category:Basalt_deltas_ambient_sounds
guiName: &cLocked Slots
# CONFIRMDROP
confirmationTitle: &4Attention
confirmationSubtitle: &7Press again to drop the item
confirmationTime: 5 seconds
Screenshots:
Spoiler: Screenshots
- Commands
- Warnings
If you like the script, please kindly consider leaving a 5-star rating.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.13, 1.14, 1.15
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
DropProtection is a free Minecraft Java mod. Compatible with Minecraft 1.13, 1.14, 1.15, 1.16 and newer. Downloaded 258 times (via Spigot). Download it and open it directly in the game.