In this page you will find all properties of discoveries/categories configuration files. Everytime you modify something in these files you must reload the plugin using /codex reload.
Inventory Items
The format of each item is the following:
inventory_items:<type>:<item>
Remember that the item to be displayed has the properties listed HERE.
You can use PlaceholderAPI variables on the name and lore of all these items.
1. Category
Each category will be represented by its own item in the main inventory. You can tell the players on this item the amount of discoveries the category has and information of the category.
%unlocked% (Will be replaced with the following messages.yml messages depending of the status of discoveries found: currentUnlockedDiscoveriesColorNone, currentUnlockedDiscoveriesColorAll, currentUnlockedDiscoveriesColorIncomplete)
%progress_bar% (A progress bar showing the progress of the discoveries unlocked from this category)
%percentage% (Percertage of the discoveries unlocked from this category)
2. Discovery Unlocked
The item displayed on the category inventory when the discovery has been unlocked.
Variables:
%name% (Name of the discovery)
%description% (Description of the discovery)
%date% (Date the discovery was unlocked)
3. Discovery Blocked
The item displayed on the category inventory when the discovery has not been found.
Rewards
Rewards are given through actions. All Actions can be found HERE.
Per Discovery
Default actions to be executed when the player finds a discovery from this category.
Variables:
%name% (Name of the discovery)
%player% (Name of the player)
All Discoveries
Default actions to be executed when the player finds all discoveries from this category.
Variables:
%player% (Name of the player)
Discoveries
Discoveries must be added below the discoveries section using the following format.
Name
Name of the discovery. Used to be displayed on inventories and messages.
Description
Description of the discovery. Used to be displayed on inventories and messages.
value.mob_type:Id of the EliteMobs mob (name of the file without .yml). You can use ";" to include multiple ids.
Click Actions
Actions to be executed when the player clicks on the inventory item associated with this discovery, when the discovery has been found. All actions HERE. Optional.
Click Actions Cooldown
Adds a cooldown (in seconds) to execute the defined actions when clicking on the discovery item.