DropProtection
3.1Have you ever accidentally dropped a valuable item? This script offers several measures to avoid it!
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
Commands:
- /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:
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 secondsScreenshots:
Screenshots
- Commands
- Warnings
If you like the script, please kindly consider leaving a 5-star rating.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta