Set what items are affected, or just let your players handle it!
Supports
ALL custom texture plugins.
Update
2.5.0:
Advanced Add Rules
Add exact or rule-based entries that control which items require double-tap to drop.
Code (Text):
/antidrop additem HAND_EXACT
Saves an exact snapshot of the item in your hand (includes name, lore, enchants, flags, attributes, PDC/NBT, custom model data, etc.). Only items identical to this snapshot will be protected.
# All standard minecraft materials
Items-In-List:
Name: '&a%item%'
Lore:
- ''
- ' &7- &fClick to stop applying this item to the &6Anti-Drop &fitems list.'
# Placeholder list items
Placeholder-Items:
ALL_ITEMS:
Material: PAPER
Name: '&aAll items &fare currently applied.'
Lore:
- ''
- ' &7- &fClick me to stop applying all items to &6Anti-Drop&f.'
update-check:
enabled: true
permission: antidrop.update
message: "&6ᴀɴᴛɪᴅʀᴏᴘ &e» &fA new version, &b%latest%&f, is available. You're running &e%current%&f."
Code (Text):
# messages.yml
messages:
Prefix: '&6ᴀɴᴛɪᴅʀᴏᴘ &e» &f'
Header: ' &f&m+----&3&m----&f&m----&3&m----&8( &6ᴀɴᴛɪᴅʀᴏᴘ &8)&f&m----&3&m----&f&m----&3&m----+'
Footer: ' &f&m+---&3&m----&f&m----&3&m----&f&m----&3&m----&f&m----&3&m----&f&m----&3&m----&f&m---+'
Anti-Drop: '%prefix%Press again to &asuccessfully &fdrop your &a%item_name%&f.'
Drop: '%prefix%You''ve &asuccessfully &fdropped your &a%item_name%&f.'
# For "Drop" & "Anti-Drop" you can use either %item% or %item_name%
Toggled: '%prefix%&6Anti&f-&6Drop&f is now %mode%&f.'
No-Permission: '%prefix%Sorry, but you don''t have permission to do that.'
Reloaded: '%prefix%You''ve &asuccessfully &freloaded the configuration.'
Different-Item: '%prefix%Sorry, but that isn''t the original pickaxe you tried to throw out previously.'
Players-Only: '%prefix%Sorry, but only players can use that command.'
Use-Material: '%prefix%Sorry, but you must use Material format, not number format. &7(exp: diamond_pickaxe, iron_spade, ALL_ITEMS)'
Added-Item-In-Hand: '%prefix%You''ve added the &a%item% &fin your hand to the &6Anti-Drop &fitems list.'
Added-Specified-Item: '%prefix%You''ve added &a%item% &fto the &6Anti-Drop &fitems list.'
Added-All-Items: '%prefix%All items are now applied to the &6Anti-Drop &fitem list.'
Already-In-List: '%prefix%Sorry, but that item is already in the &6Anti-Drop &fitems list.'
Removed-Item-In-Hand: '%prefix%You''ve removed the &a%item% &fin your hand from the &6Anti-Drop &fitems list.'
Removed-Specified-Item: '%prefix%You''ve removed &a%item% &ffrom the &6Anti-Drop &fitems list.'
Removed-All-Items: '%prefix%All items are no longer applied to the &6Anti-Drop &fitem list.'
Empty-Handed: '%prefix%Sorry, but your hand is empty.'
Not-In-List: '%prefix%Sorry, but that item isn''t in the &6Anti-Drop &fitems list.'
Air-Not-An-Item: '%prefix%Sorry, but please provide an actual item.'
Item-Does-Not-Exist: '%prefix%Sorry, but that item doesn''t exist.'
Version: '%prefix%Version: &b%version%'
Formats:
Reload: '%prefix%&e/antidrop reload'
Toggle: '%prefix%&e/antidrop toggle'
Dev: '%prefix%&e/antidrop dev'
GUI: '%prefix%&e/antidrop gui &8| &emenu'
Add-Item: '%prefix%&e/antidrop &8(&eadditem &8| &eai&8) (&eitem type &8| &ehand &8| &eall_items&8)'
Remove-Item: '%prefix%&e/antidrop &8(&eremoveitem &8| &eri&8) (&eitem type &8| &ehand &8| &eall_items&8)'
Version: '%prefix%&e/antidrop version'
Permissions
AntiDrop.commands.Toggle » Allow players to toggle their Anti-Drop.
AntiDrop.commands.Reload » Reload the configuration.
AntiDrop.commands.AddItem » Add items to the Anti-Drop items list.
AntiDrop.commands.Version » Access to view the plugins current version.
AntiDrop.commands.RemoveItem » Remove items from the Anti-Drop items list.
AntiDrop.commands.Menu » Opens a GUI to display the items on the Anti-Drop items list.
PlaceholderAPI
Placeholder
Description
Code (Text):
%antidrop_toggled%
Displays if Anti-Drop itself is on/off for the player.
Code (Text):
%antidrop_toggled_for_hand%
Displays if Anti-Drop is on/off for the item that the player is holding in their hand.