Levels/Categories Tutorial
Last updated
Last updated
In this page you will find all properties of levels/categories configuration files. Everytime you modify something in these files you must reload the plugin using /ctb reload
.
The title of the opened inventory when inside the level selection of this category.
The title of the opened inventory when playing on a level of this category.
The format of each item is the following:
You can use PlaceholderAPI variables on the name and lore of all these items.
Each category will be represented by its own item in the main inventory. This item will vary depending on the current state of the category. For now there are two possible states.
The item displayed by default. You can tell the players on this item the amount of levels the category has, the difficulty of them, and maybe the possible rewards.
The item displayed when the player doesn't have the necessary requirements to play on this category. You should tell the players on this item, what requirements are needed.
Each level of this category will be represented on the level section inventory by its own item. This item will vary depending on the current state of the level. These are the possible states.
The item displayed when the level is ready to be played.
The item displayed when the level is blocked, which means the previous level has not been completed.
The item displayed when the level has been completed.
Default actions to be executed when the player finishes a level from this category.
Default actions when the player finishes all levels from this category.
Message to be sent to the player when requirements are not satisfied.
Levels are automatically saved on this file when creating them using /ctb createlevel
.
The type/form of the level. You should not modify this property manually. Types are defined in the level_inventory_types configuration on the inventory.yml file.
The position of default blocks. You should not modify this property manually. Blocks are defined in the game_blocks configuration on the config.yml file.
Enable this option is you want to give items to the player as reward.
Whether the amount value of the should be changed depending on the number of the level. Be careful if your category has more than 64 levels!
Rewards are given through actions. All Actions can be found .
Requirements needed to unlock this category. You can add multiple requirements/conditions. More info .
Allows you to set custom rewards for this level only. Will replace the default from this category.