How to Start
Information of the plugin to work correctly on your server.
Requirements
Spigot
You need Spigot or Paper for the plugin to work. Don't use Craftbukkit.
Optional Dependencies
PlaceholderAPI
This dependency is completely optional. If you want to use PlaceholderAPI variables in the inventory, or use Codex variables on other plugins, then you need this plugin. https://www.spigotmc.org/resources/placeholderapi.6245/
Plugins to Unlock Discoveries
WorldGuard (unlock discoveries when entering regions): https://dev.bukkit.org/projects/worldguard MythicMobs (unlock discoveries when killing mobs): https://www.spigotmc.org/resources/5702/
EliteMobs (unlock discoveries when killing mobs): https://www.spigotmc.org/resources/elitemobs.40090/
Installation
To install the plugin on your server just place the Codex file inside your plugins folder and start your server. Examples will be generated in the categories
folder, you can use them as a reference or delete them.
Create your first Discovery
To start creating a discovery you need to go to the categories
folder of the plugin and open one of the category files. You can even create your own category file, but in this example I will open the monsters.yml file.
Copy one of the discoveries, for example the shadow_warrior
, and paste it below, changing its name.
Change the name and description of your new discovery.
You also need to set when the player will unlock this discovery. I want to associate this discovery with a mob of the plugin MythicMobs, so in the discovered_on
section I need to set the type to MYTHIC_MOB_KILL, and the mob_type
in the value
section to the id of this MythicMob entity.
When you want to unlock the discovery ONLY VIA CONSOLE COMMAND, you can delete the entire discovered_on section.
The discovery is ready, simple as that! Now you must go to the inventory.yml file, to the category_monsters
inventory, and place the discovery where you desire. This is done by using the type: "discovery: forest_corrupter" item on the slot you want.
Last updated