本帖最后由 Arobcher 于 2016-8-6 13:12 编辑
Anti Drop
更好的防止掉落插件
插件介绍
- AntiDrop插件可以保存玩家死亡掉落的贵重物品或者是丢掉的
插件特性
- 玩家可以有两次机会确认是否可以丢掉物品
- 保护死亡掉落的物品 (需要在配置文件开启)
- 自定义死亡保护掉落的物品
插件指令
/antidrop,/ad,/apd - 开启掉落保护(只限自己)
/antidrop reload - 刷新插件配置文件
插件权限
- antidrop.use - Antidrop的的使用权限
- antidrop.toggle - Antidrop开启掉落保护权限
- antidrop.reload - Antidrop刷新配置文件权限
- antidrop.deathprotection - Antidrop死亡保护掉落权限
配置文件
- # ||=========================================||
- # || Anti Drop ||
- # || Version 2.1.4 ||
- # ||=========================================||
- # ||========================================||
- # || Placeholders ||
- # ||========================================||
- # {PREFIX} - Prefix of plugin
- # {TOGGLED} - Changes to enabled/disabled depending on if you just toggled apd on or off
- prefix: '&b&lAntiDrop &8&l\u00BB &7'
- # ||========================================||
- # || Preferences ||
- # ||========================================||
- # (true = Enabled on join if new | false = Disabled on join if new)
- enabled-by-default: true
- # In seconds
- drop-delay: 3
- # https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
- applied-items:
- - DIAMOND_PICKAXE
- # If true then when a player has antidrop disabled their antidrop items (with drop: false) will still drop (and wont if enabled), if false antidrop items (with drop: false) will never drop
- death-drop-inherits-antidrop: true
- # https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
- # https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html
- specific-items:
- # Only the item attribute is required. (name, data, enchants or lore) are not
- # If an item matches all the data below antidrop will be triggered
- # drop is unreleated and just changes if players will keep this item on death or not
- redwool:
- item: '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
- # Should this item drop on death? (Will still drop if player doesn't have the permission antidrop.deathprotection)
- drop: false
- # 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'
- # If set specific-items may have its own unqiue anti-drop-message
- anti-drop-message: '{PREFIX}Press Q again to drop your wool'
- # If set specific-items may have its own unqiue drop-message
- drop-message: '{PREFIX}Wool dropped successfully'
- # ||=======================================||
- # || Messages ||
- # ||=======================================||
- anti-drop-message: '{PREFIX}Press Q again to drop your item'
- # Remove the # if you want the message to be sent
- #drop-message: '{PREFIX}Item drop confirmed'
- anti-drop-toggled: '{PREFIX}AntiDrop has been {TOGGLED}'
- no-permission: '&cYou don''t have permission for this command'
复制代码
|
借用原贴图片
插件下载