(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:
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:
Commands
Warnings
If you like the script, please kindly consider leaving a 5-star rating.