DigLoot
First plugin ever just dont hate me too much. :)
Admin can create loot table of items.
Players will get items for breaking blocks.
REMEMBER!! If you run this plugin on old server use /dl repair after adding plugin. It will generate files for all players
Permissions tested on LuckPerms.
Admin commands (permission: digloot.admin):
- Added in Version 1.0.0:
- /dl add - Add item form main hand to loot table
- /dl list - display all items in loot table
- /dl remove - remove item from loot table (id = number from /dl list)
- /dl repair - check all offline and online players if they have player data files and create them if not
- /dl serialize - show serialized itemstack in chat
- /dl rate - change drop rate for all items (base rate 100 (more rate = less drops))
- Added in Version 1.1.0
- /dl filter add - add main hand item to filter
- /dl filter remove - display items in filter and allows to remove them
- /dl tools - Give player tools
- Added in Version 1.1.2
- /dl locale - Reload language and all changes you made in locale.yml
Player commands:
/dl - open loot inventory
If you are using this plugin on your server drop ip in comment :)
I tried to add this to a private server with my friends and it didn't work.
When I try to add an item to the loot table my console would get spammed non stop with errors and the server would get suspended.
After the server rebooted my friend pressed a button and it instantly did the same thing.
In reply to GoneZero:
can u send me error code u get ?