Sueta
DO

Don't Pickup Items

v1.1.1

Block non-vip players having vip items!

·Plugin

dpi_logo.png

This plugin was based on the idea to block items for an specific group. Ever had premium items but non vip players can access to them? Now when a vip players shares the item with a non vip, they cant be picked up, with configurable messages!

Block pickup! Don't let the players share the items by throwing and picking them from the ground. Features also a cooldown in messages so the chat isn't flooded.

Block movement! Users without permissions cannot move or retrieve items from inventories! (ex. Chest)

dpi_commands.png
· /dpi reload <items|messages|config|all>
Reloads the files.

· /dpi switch <pickup|drop|rename|move>
Switches values in the config on/off.

·
/dpi add
Add the name of the item on your hand to the blacklist.


dpi_permissions.png
· dpi.pickup | dpi.move | dpi drop
Allow picking up / moving the item in inventories / dropping the item into the ground.

· dpi.rename
Allows the user to rename blacklisted items in an anvil.

· dpi.reload

Gives access to the reload command.

· dpi.add

Permission to use the add command

messages.yml
Prefix: '&b&l[Don''t Pickup Items]&r'

NoArgs: '&cYou hadn''t provided any arguments!'
NoPermission: '&cYou don''t have permission to use this command!'

AddSuccess: '&3Successfully added the item &r%item% &3to the config!'
AddExisting: '&cThe item &r%item% &ci already the config!'

ReloadSuccess: '&3The config has been reloaded!'
ReloadFailure: '&cThere was an error reloading!'
ReloadNoArgs: '&3You must specify a file to reload!'

SwitchSuccess: '&3Successfully switched the config! Now is set to: &6%status%'
SwitchFailure: '&cThere was an error switching the config!'
SwitchNoArgs: '&3You must specify the config to switch!'

CantPickup: '&cYou can''t pick up the item &r%item%&c!'
CantDrop: '&cYou can''t drop the item &r%item%&c!'
CantMove: '&cYou can''t move the item &r%item%&c!'
CantRename: '&cYou can''t rename the item &r%item%&c!'
items.yml
# Items that can be picked up with the permission dpi.pickup
items:
- item1
- item2
config.yml
# Blocks the user from picking up items from the ground.
BlockPickup: true

# Blocks the user from moving the item in an inventory.
BlockMovement: true

# Blocks the user from dropping the item.
BlockDrop: false

# Blocks the user from renaming the item in an anvil.
BlockRename: true


dpi_plannedFeatures.png
- Block renaming items
- Add items through commands
- Configuration options
- Group items
- Add support for non-named items

Similar projects

Plugin →