HomeJavaModsV-AntiDrop | Prevents dropping your items (Abandoned) [1.8-1.19]
V-AntiDrop | Prevents dropping your items (Abandoned) [1.8-1.19]
ModsJava

V-AntiDrop | Prevents dropping your items (Abandoned) [1.8-1.19]

⬇ Download on Spigot

[​IMG]
V-AntiDrop prevents accidental dropping of items, useful for servers that have special or even valuable items, avoiding losing them.

[​IMG]

[1] Prevent accidentally dropping items in two ways, the drop-type: never that you can never drop the item and the drop-type: confirmation in which you have to press the key twice to drop the item.
[2] The plugin allows you to deny the dropping of custom items, as well as vanilla items.
[3] It has custom messages for each item and if you don't want it to have a message just set the message to "ignore".
Spoiler: Item Messages
Code (YAML):
Never drop:
message
: '&8 [&bAnti-Drop&8 ] &7You can''t drop your Cogin.'

Drop confirmation
:
message-confirmation
: '&8 [&bAnti-Drop&8 ] &cPress the key again to drop your axe'
message-confirmed
: '&8 [&bAnti-Drop&8 ] &aYou dropped your axe.'

Ignore message
:
message
: ignore

message-confirmation
: ignore
message-confirmed
: ignore
[4] Avoid losing the item on death by having the drop-when-die option set to false, this option can be set for each item added. If you want to drop it, set it to true.
drop-when-die-type allows you to set two types of ways to recover items on death:
1. Recover all items (drop-when-die-type:
all;100)
2. Recover half of the items (drop-when-die-type:
half;100)
Spoiler: Probabilities
You will be able to set a probability of being able to recover items depending on the probability set, this option is found in drop-when-die-type, next to the type of item recovery on death separated by a ; (Example: all;100).
Spoiler: Probabilities
Examples:
1. Half items: If you have a probability of 50%, then you have a 50% chance of recovering half of the items in a stack.
Spoiler: Config Example
Code (Text):
drop-when-die-type: half;50
2. All items: If you have a 50% chance, then you have a 50% chance of recovering the entire stack of items.
Spoiler: Config Example
Code (Text):
drop-when-die-type: all;50

[5] If you want to prevent items from being dropped in a certain world or region of WorldGuard, this option will allow you to do that by setting the locations option to true and adding your locations where you don't want them to be dropped to the location-list.
Requirements:​
- Plugins WorldGuard and PlaceholderAPI (Not required for the plugin to work)
- Have WorldGuard extension in PlaceholderAPI for the regions option to work.​
> How can I add it? With the command /papi ecloud download WorldGuard.​
Spoiler: Locations
Code (YAML):
        locations : true
        location-list
:
        - ' [world ] world'
        - ' [region ] Spawn'

[​IMG]
Spoiler: Config.yml
Code (YAML):

Config
:
  messages
:
    no-permission
: '&8 [&bV-AntiDrop&8 ] &cYou don''t have permissions.'
    reload
: '&8 [&bV-AntiDrop&8 ] &7Reloaded'
    command-does-not-exist
: '&8 [&bV-AntiDrop&8 ] &7That command doesn''t exist'
    no-console-command
: '&8 [&bV-AntiDrop&8 ] &cYou can''t execute commands in console.'
  AntiDrop
:
    anti-drop-custom
: true
    anti-drop-vanilla
: true
    Custom
:
      Example1
:
        drop-type
: never
        item
: COAL
        data
: 0
        name-conditional
: equals
        lore-conditional
: equals
        enchants-conditional
: contains
        name
: '&b&lCogin'
        lore
:
        - '&r'
        - '&bExample'
        - '&r'
        enchants
:
       - DAMAGE_ALL-3
        message
: '&8 [&bV-AntiDrop&8 ] &7You can''t drop your Cogin.'
        drop-when-die
: false
        drop-when-die-type
: half;0
        locations
: true
        location-list
:
        - ' [world ] world'
        - ' [region ] Spawn'
      Example2
:
        drop-type
: confirmation
        item
: DIAMOND
        data
: 0
        name-conditional
: equals
        lore-conditional
: contains
        enchants-conditional
: contains
        name
: '&e&lFang'
        lore
:
        - '&r'
        - '&eExample'
        - '&r'
        enchants
:
        - DAMAGE_ALL-3
        - DURABILITY-3
        message-confirmation
: '&8 [&bV-AntiDrop&8 ] &cPress the key again to drop your
          fang'
        message-confirmed
: '&8 [&bV-AntiDrop&8 ] &aYou dropped your fang.'
        drop-when-die
: false
        drop-when-die-type
: half;0
        locations
: true
        location-list
:
        - ' [world ] Spawn'
        - ' [region ] Shop'
      Example3
:
        drop-type
: never
        item
: IRON_PICKAXE
        data
: 0
        name-conditional
: equals
        lore-conditional
: contains-lines
        enchants-conditional
: ignore
        name
: '&e&lGuno Pickaxe'
        lore
:
        - '&7Get &eX2 &7diamonds when mining'
        - '&7to get money.'
        enchants
:
        - DIG_SPEED-5
        - LOOT_BONUS_BLOCKS-3
        - DURABILITY-3
        message
: '&8 [&bV-AntiDrop&8 ] &7You can''t drop your &e&lGuno Pickaxe.'
        drop-when-die
: false
        drop-when-die-type
: all;0
        locations
: true
        location-list
:
        - ' [region ] PvP'
    Vanilla
:
      Example4
:
        drop-type
: never
        item
: DIAMOND_PICKAXE
        data
: 0
        message
: '&8 [&bV-AntiDrop&8 ] &7You can''t drop your pickaxe.'
        drop-when-die
: false
        drop-when-die-type
: all;0
        locations
: true
        location-list
:
        - ' [region ] PvP'
      Example5
:
        drop-type
: confirmation
        item
: DIAMOND_AXE
        data
: 0
        message-confirmation
: '&8 [&bV-AntiDrop&8 ] &cPress the key again to drop your
          axe'
        message-confirmed
: '&8 [&bV-AntiDrop&8 ] &aYou dropped your axe.'
        drop-when-die
: false
        drop-when-die-type
: all;0
        locations
: true
        location-list
:
        - ' [region ] PvP'
 

[​IMG]
> /antidrop reload | antidrop.admin


Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

V-AntiDrop | Prevents dropping your items (Abandoned) [1.8-1.19] is a free Minecraft Java mod. Compatible with Minecraft 1.9, 1.10, 1.11, 1.12 and newer. Downloaded 657 times (via Spigot). Download it and open it directly in the game.

Explore more