Anti-Drop » 1.13 - 1.21.10 | GUI items list icon

Anti-Drop » 1.13 - 1.21.10 | GUI items list -----

Advanced item protection for your players. Global or personal.



[​IMG]

Set what items are affected, or just let your players handle it!

Supports ALL custom texture plugins.

[​IMG]

[​IMG]

[​IMG]

[​IMG]

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.

Code (Text):

/antidrop additem DIAMOND_PICKAXE#123
/antidrop additem MODEL:123
 
Match items by custom model data (either by type#cmd or by cmd alone).

Code (Text):

/antidrop additem NAME_EQUALS:&bGod Pickaxe
/antidrop additem NAME_CONTAINS:&bGod
 
Match by display name (color codes allowed).

Code (Text):

/antidrop additem LORE_CONTAINS:&7Soulbound
/antidrop additem LORE_LINE_EQUALS:0:&7First line text
 
Match anywhere in lore, or a specific line index.

Code (Text):

/antidrop additem ENCHANT:EFFICIENCY:5
 
Match items that have at least the given enchant/level.

Code (Text):

/antidrop additem PDC:myplugin:tooltier:mythic
 
Match by PersistentDataContainer string value.

Code (Text):

/antidrop additem FLAG:HIDE_ENCHANTS
/antidrop additem UNBREAKABLE:true
 
Match items that have a specific item flag or unbreakable state.

All prior tokens still work:
Code (Text):
ALL_ITEMS, ALL_TOOLS, ALL_SWORDS, ALL_ARMOR, SHULKER_BOXES, CUSTOM_ITEMS
Code (Text):
DIAMOND_PICKAXE
Code (Text):
HAND

Commands


[​IMG]
Files
Code (Text):
# config.yml
settings:

    Enabled-By-Default: true
 
    Per-Player-Lists: false   # When true, players manage their own Anti-Drop lists.

    Applied-Items:
    - ALL_TOOLS
    - ALL_SWORDS
    - ALL_ARMOR
    - SHULKER_BOXES

    Predicate-Placeholder:
      Material: PAPER
      Name: '&aRule'
      Lore:
        - ''
        - '&7%token_short%'
        - ''
        - '&7Click to remove this rule.'

    Snapshot-Placeholder:
      Material: PLAYER_HEAD
      Name: '&aExact Item Snapshot'
      Lore:
        - ''
        - '&7This matches a single exact item'
        - '&7(including all meta, PDC, etc.)'
        - ''
        - '&7Click to remove.'

    # Custom placeholders: (caps matter)
    #
    # ALL_ITEMS - This means absolutely everything.
    # ALL_TOOLS
    # ALL_SWORDS
    # ALL_ARMOR
    # SHULKER_BOXES
    # CUSTOM_ITEMS - This STRICTLY refers to items with a custom name.

    # Want more added? Let me know!

    Timer: 3
    # Timer is in seconds.
    Enabled: '&aON'
    Disabled: '&cOFF'
    Message-Display-Format: ' &7- &e%command% &7- &f%usage%'
    Use-Header-And-Footer-In-Drop-Messages: true
    GUI-Name:
      Standard: '&6Anti-Drop &fitems'
      Per-Player: '&fYour &6Anti-Drop &fitems'

    # 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.'

      ALL_TOOLS:
        Material: DIAMOND_PICKAXE
        Name: '&aAll Tools'
        Lore:
          - ''
          - ' &7- &fClick to stop applying &aAll Tools &fto &6Anti-Drop&f.'

      ALL_SWORDS:
        Material: DIAMOND_SWORD
        Name: '&aAll Swords'
        Lore:
          - ''
          - ' &7- &fClick to stop applying &aAll Swords &fto &6Anti-Drop&f.'

      ALL_ARMOR:
        Material: DIAMOND_CHESTPLATE
        Name: '&aAll Armor'
        Lore:
          - ''
          - ' &7- &fClick to stop applying &aAll Armor &fto &6Anti-Drop&f.'

      SHULKER_BOXES:
        Material: SHULKER_BOX
        Name: '&aShulker Boxes'
        Lore:
          - ''
          - ' &7- &fClick to stop applying &aShulker Boxes &fto &6Anti-Drop&f.'

      CUSTOM_ITEMS:
        Material: NAME_TAG
        Name: '&aCustom Named Items'
        Lore:
          - ''
          - ' &7- &fClick to stop applying &aCustom Items &fto &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.

Custom OP-Prison server:
Play.TheIslandsNetwork.com
(1.20.4 recommended)

Support

The quickest way to get support for any of my resources
would be to join my Resource Discord.
» https://discord.gg/2vUqykD

Note »
Please DO NOT leave bad reviews for any issues
that you have. Please simply PM me or leave it
in the discussion tab. Thank you. (y)

That and reviews are highly appreciated! :alien:

[​IMG]
Resource Information
Author:
----------
Total Downloads: 14,836
First Release: Sep 20, 2016
Last Update: Oct 14, 2025
Category: ---------------
All-Time Rating:
27 ratings
Find more info at discord.gg...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings