I am trying to make a messages.yml and it's not working.. Like it doesn't load.. I have this on my onEnable() File file = new File(getDataFolder(), "messages.yml"); if(!file.exists()) saveDefaultConfig(); But it doesn't load and I have it in my folder..
zurg200 Simply use saveDefaultConfig(), if you already have a config on your test server, make sure to delete it.
Use the YamlConfiguration class to load the configuration for your messages.yml, it basically provides all the methods of the config.yml, and applies it to a custom file.