KIT EDITOR
Players can customize their inventory layout, but you, as the admin, define the default items that make up the kit.
Default Kit (config.yml)
In config.yml, you can define the items every player receives at the start of a match under the kit.default-items section.
Format:
"MATERIAL:AMOUNT {enchantment:level}"Team Blocks: Use
WHITE_TERRACOTTAas a placeholder. The plugin will automatically replace it withRED_TERRACOTTAorBLUE_TERRACOTTAdepending on the player's team.
Example configuration in config.yml:
YAML
kit:
customizable: true
# Default kit. Blocks will be replaced by team color.
default-items:
- "IRON_SWORD:1"
- "BOW:1"
- "DIAMOND_PICKAXE:1 {efficiency:2}"
- "WHITE_TERRACOTTA:64" # Placeholder for team blocks
- "WHITE_TERRACOTTA:64"
- "GOLDEN_APPLE:8"
- "ARROW:1"Kit Editor for Players
Players can access the editor through the game menu (
/bridge play->Kit Editor).There, they can rearrange the default kit items in their inventory.
Their custom layout is saved in the
kit_layouts.ymlfile and will be loaded in every match they play.
Last updated