Lightweight plugin to set a player drop to a category.
How to use the plugin
There are three commands:
- /drops add <name> <permission> [worlds]
- /drops temove <name>
- /drops edit <name>
Parameters between <> are required, but those between [] are optional.
The <name> parameter is the name of the category.
The <permission> parameter is the permission to be given to the player to insert it in the category.
The [worlds] parameter is used to distinguish in which worlds the custom drop will take effect, it is used as follows: (worlds=world,world_nether,world_the_end), separating each world from a comma.
config.yml
message:
not-player: "&cOnly Players can execute this command"
insufficient-permission: "&cYou haven't permissions"
incorrect-usage: "&cIncorrect usage! Please use the command like this: &e{command}"
add: "&2Created/Modified a new configuration of drops!"
remove: "&2Removed/Modified an existent configuration of drops!"
plugin-help:
- "&b-------- &2&lCustomDrops &b--------"
- "&bParameters between <> are required, but those between [] are optional"
- "&2&l/drops add <name> <permission> [worlds] &b- Create a new configuration of drops"
- "&2&l/drops remove <name> &b- Remove an existent configuration of drops"
- "&2&l/drops edit <name> &b- Modify an existent configuration of drops"
inventory-name: "&2&lDrops"Example of drops.yml:
drops.yml
drops:
diamond:
#Permission
permission: customdrops.diamond
#If true items will dropped only if the player has the items
only-if-has: false
drop-items:
# Material/Quantity
- DIAMOND/1
emerald:
permission: customdrops.emerald
only-if-has: false
#Worlds
worlds:
- world
- world_nether
- world_the_end
drop-items:
- EMERALD/1Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta