# CratesPlus Skript - Recreated by LuuMiz
# Original: CratesPlus by ConnorLinfoot
# "CratesPlus is no longer being updated or maintained [after 1.16.4]."
#
# Plugins Required: Skript, SkBee, skript-yaml
#
# COMMAND USAGE:
# every command requires permission: skript.cratesplus
# put the items you want to be loaded into the crate in your inventory (not hotbar)
# /crateskript new crateName command and it will create your first crate
# /crateskript delete crateName will remove it from crate list and remove the crate from the world
# /crateskript list will display all of the current crates you have and their locations in the world
# /crateskript key crateName player will give 1 key of the specified crate to the specified player
# /crateskript view crateName will open up a chest to see what rewards are possible from a crateskript
# because only admins can run the command, you can take items from the crate with this. It does not effect the actual crate though.
# /crateskript crateName will place a crate above the block your crosshair is looking at
# /crateskript holograms will toggle whether future crates will have a name appear above them (on by default)
#
# CRATE COLORS:
# Players with permission skript.cratesplus can recolor crates as well
# To do this, shift and right click on any placed crate with a dye in your hand
#
# HOLOGRAM NAMES SETTING:
# by default, all placed crates will come with a hologram above the crate with the crate name.
# this can be toggled on/off with /crateskript holograms.
# This will not remove or add holograms to already existing crates.
# This setting will not change on server restart or skript reload.
#
# PARTY OPENING SETTING:
# by default, this is turned off. If you choose to turn this on, when a player opens a crate
# the crate will turn into different colors of wool for 3 seconds before returning to it's
# original state.
# This setting will not change on server restart or skript reload.
#
# CRATE LOCATION AND REWARD LOGGING:
# inside your plugins/Skript/CratesPlusData directory there will be a data.yml file that will
# keep track of crate data. Each crate tracks whether it has been placed, the location it was placed at, and
# how many times each item in the crate was won. Once you /delete a crate, the name of that crate in the
# yml file will change to 123_old_crate_CrateName and store all of the same data for historical purposes.