Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by rightfootmessi, Jan 22, 2018.
You should be able to access the files from another plugin, what error are you getting ?
Here's the stack trace
Seems like there was an error while deserializing the config, can you paste the content of the config ?
The problem is: Caused by: org.yaml.snakeyaml.error.YAMLException: Could not deserialize object
The data in the YAML file cannot be deserialized back into an object. However, it does look like the file is being accessed correctly in this case.
Turns out I forgot to add this line: ConfigurationSerialization.registerClass(Mine.class);
That, among a few other changes, solved everything.