Defines the amount of slots this inventory will have. You can only use 9, 18, 27, 36, 45 or 54.
Title
Defines the title of this inventory.
Item Slot
Position of an item in the inventory. For a much simpler way of placing items on inventories you can use some formats:
Format 1
This will set an item on the slot 0.
Format 2
This will set the same item on slots 0, 8 and 16.
Format 3
This will set the same item from slots 0 to 8 (0, 1, 2, 3, 4, 5, 6, 7, 8)
Combining formats
This will set the same item on slots 0 to 7, 9, and 17 to 26.
Item Properties
You can create your own items or use the ones in the config.yml file. The already created ones on that file will be used on specific cases. For example, the attack_animals_item on config.yml file, will change depending on the Attack Animals option from the turret.
Adds a list of commands to be executed from the console when clicking on the item. You can use the msg %player% command to send a simple message to the player.
Ammunition and Whitelist inventories details
You must be careful with these two invetories in particular.
Whitelist Inventory
First, the whitelist inventory requires space to place the player heads of the whitelisted players. On the default inventory it looks like this:
This means, the whitelisted players will be placed from slot 0 to slot 35. If for some reason you want to do something more decorative, like placing the player heads just on the center of the inventory you can do it as well. Just use the different item slot formats.
Ammunition inventory
The ammunition inventory instead, is more limited. You can also modify the slots of the LAST ROW of the inventory. The previous slots will be fill with the ammunition items. I suggest you to leave this inventory by default, only changing the materials or translating the items.
8:
id: "CHEST"
name: "&aTurret Options"
lore:
- "&7Click to edit the options for"
- "&7your turret."
# This will set the delete_turret_item item from config.yml which
# will remove the turret when the player clicks on it.
26:
type: delete_turret_item
# This will set the whitelisted_players_item item from config.yml which
# will show the whitelisted players from the turret and will open the
# whitelist inventory when a player clicks on it.
22:
type: whitelisted_players_item