Please join the discord for support:
https://discord.gg/zJQbHXYGWy
Requires Java 16 to use!
Or you can message me here on Spigot.
Do not report bugs in the review section!
Plugin Idea Credit:
-
@srnyx
-
https://discord.gg/bapplause
DEPENDENCIES (Will NOT work without these!)
- HolographicDisplays
Description:
LootChests are chests that can be placed, that can have random items in them. They are created with a GUI editor, and random amounts of items can be generated in the loot chests when they are placed down.
Permissions:
Code (Text):
lootchests.command - allows a player to use all the loot chest commands.
Commands:
Code (Text):
/lootchest create <id> <mininum items> <maximum items> [Rest of the args for display name] -
The minimum items is the minimum amount of items the loot chest will have when placed, the maximum items is the maximum amount of items the loot chest will have when placed. [Rest of the args for display name] means anything after <maximum items> will be used in the hologram that is displayed above the loot chest.
/lootchest delete <id> - deletes a loot chest.
/lootchest get <id> [amount] - Gives you the loot chest item
/lootchest give <id> <player> [amount] - Same as get, but with another player.
/lootchest edit <id> - Opens the loot chest edit menu
/lootchest list - Lists all existing loot chests
/lootchest edititem <id> <material> <min> <max> - Allows items to spawn with a random amount. Sets all instances of a material in a loot chest to <min> amount up to <max> amount.
/lootchest fix <x> <y> <z> <x> <y> <z> - Fixes loot chests placed in version 1.0.0, when locations were not saved on the second restart. It spawns holograms for all loot chests within the locations.
Config:
Code (YAML):
[/B
]
messages:
prefix
:
"&aServer >>"
reloaded
:
"%prefix% Reloaded successfully"
command-usage
:
"%prefix% /lootchest <create | delete | get | edit | edititem | list | reload>"
command-create-format
:
"%prefix% /lootchest create <id> <mininum items> <maximum items> [Rest of the args for display name]"
command-delete-format
:
"%prefix% /lootchest delete <id>"
command-get-format
:
"%prefix% /lootchest get <id> [amount]"
command-give
:
"%prefix% /lootchest give <id> <player> [amount]"
command-edit-format
:
"%prefix% /lootchest edit <id>"
command-list-format
:
"%prefix% /lootchest list"
command-edit-item
:
"%prefix% /lootchest edititem <id> <material> <min> <max>"
command-fix
:
"%prefix% /lootchest fix <x> <y> <z> <x> <y> <z>"
no-permission
:
"%prefix% You do not have permission to do this!"
must-be-player
:
"%prefix% You must be a player to execute this command!"
loot-chest-saved
:
"%prefix% %lootchest% saved"
min-items-set
:
"%prefix% %lootchest%'s minimum items was set to %amount%"
max-items-set
:
"%prefix% %lootchest%'s maximum items was set to %amount%"
item-chances-set
:
"%prefix% %material% max set to %max% and min set to %min%"
loot-chest-deleted
:
"%prefix% %lootchest% deleted"
no-loot-chest-found
:
"%prefix% %lootchest% does not exist"
hologram-display-not-looted
:
"%prefix% %lootchest%"
hologram-display-looted
:
"%prefix% %lootchest% looted"
player-not-online
:
"%prefix% %player% is not online!"
fix-task-complete
:
"%prefix% Loot chests have been fixed"
fixed-loot-chest-at
:
"%prefix% Fixed loot chests at %x%, %y%, %z%"
checked-chunk
:
"%prefix% Checked chunk %x%, %z% for loot chests"
starting-fix
:
"%prefix% Starting fix"
[B
]