Anti Drop - Great for prison servers icon

Anti Drop - Great for prison servers -----

A plugin that prevents players from accidently dropping items



Recoded AntiDrop - Many changes
IMPORTANT: You must copy your config.yml values inside your "AntiPickDrop" folder to the new folder named "AntiDrop"

In this update I have completely recorded AntiDrop to improve its stability, performance and functionality.

Changelog
  • Changed the way that AntiDrop checks if the player drops a second time within the drop-delay to improve performance
  • Changed player storage to a custom .yml file instead of .txt file
  • Added specific-item support (More info below)
  • Added enabled-by-default option
  • Fixed a bug where AntiDrop's plugin name and folder was still AntiPickDrop
  • Added Java unicode support (ex \u00BB will become »)
  • Removed {RARROW} placeholder (replace with \u00BB)
You'll have to add the follow sections to your config:
Code (YAML):
# (true = Enabled on join if new | false = Disabled on join if new)
enabled-by-default
: true

# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
# https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html
specific-items
:
  # None of these attributes (name, data, enchants or lore) are required, but atleast one must be set
  # If an item matches all the data below antidrop will be triggered
  WOOL
:
    # Data of item (The number after the colon of an item's id) (if there is no colon this can be removed or set to 0)
    data
: 14
    # Name of item
    name
: '&cIf an item has this name it will trigger &lantidrop'
    # Enchants must be defined as named on the Spigot JavaDocs (link above)
    # and the enchants must be defined as 'NAME:LEVEL'
    enchants
:
     - 'DIG_SPEED:3'
    # Lore of item
    lore
:
     - '&e&lline 1'
Thanks to @Shaun246 for the suggestion (specific-items)

If you have trouble configuring specific-items PM me. But please provide a pastebin of your config and I'll be happy to help.
----------, Jun 22, 2016
Resource Information
Author:
----------
Total Downloads: 5,556
First Release: Apr 1, 2016
Last Update: Oct 16, 2024
Category: ---------------
All-Time Rating:
17 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings