Discoveries/Categories Tutorial
Last updated
Was this helpful?
Last updated
Was this helpful?
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
.
The format of each item is the following:
Remember that the item
to be displayed has the properties listed .
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. You can tell the players on this item the amount of discoveries the category has and information of the category.
Variables:
%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)
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)
The item displayed on the category inventory when the discovery has not been found.
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)
Default actions to be executed when the player finds all discoveries from this category.
Variables:
%player%
(Name of the player)
Discoveries must be added below the discoveries
section using the following format.
Name of the discovery. Used to be displayed on inventories and messages.
Description of the discovery. Used to be displayed on inventories and messages.
Determines how can this discovery be unlocked.
The discovery is unlocked when killing a vanilla entity.
Rewards are given through actions. All Actions can be found .
The discovery is unlocked when entering a WorldGuard () region.
value.mob_type:
Type of the mob/entity. All entity types here:
The discovery is unlocked when killing a MythicMobs () mob.
The discovery is unlocked when killing a EliteMobs () mob.
Actions to be executed when the player clicks on the inventory item associated with this discovery, when the discovery has been found. All actions . Optional.
You can replace the with custom ones used only for this discovery.
The item displayed on the when THIS discovery has been unlocked. All variables from applies.
The item displayed on the when THIS discovery has not been found. All variables from applies.
You can replace the with custom ones only for this discovery.