Tutorial by Examples

You can have a config.yml file that loads directly from your jar file. It must be added to your project's folder, the same way as the plugin.yml file is. In this file you have the default values for your configuration. Example config: # This is an YML comment adminName: "Kerooker" mod...
What can happen in your config file is having a path to a variable that goes through multiple sections. Example Config admins: first-tier: "Kerooker" second-tier: "Mordekaiser" third-tier: "Yesh4" The name "Kerooker" is from section "first-tier...

Page 1 of 1