-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add /rb command to show growth rates #85
Comments
@Maxopoly is jukealert a good place to look into how to do this? |
Yes, JukeAlert or NameLayer |
Hi @Maxopoly, for the GUI, which is awesome BTW and easy to make work, I have to extend ACivMod instead of JavaPlugin. But when I do this, the plugin suddenly won't save/load the packaged config.yml anymore (see here).
and nothing of the config gets loaded, no plants configured. If I remove all those commented line from the config.yml, the saved config.yml is just empty. I have been trying to figure out what part of ACivMod could interfere, but I really can't make any sense out of this. ACivMod loads another config, but I think that's just for the annotations and should not interfere with RB. Do you have any idea what the issue could be, or where I could look further? |
It's because of the stupid CivConfig stuff. It will parse the config and then write it back together with the hardcoded defaults. If it's actively deleting your config, the whole thing failed to parse, which most likely means the yaml structure is invalid (check for errors at the very beginning of the server startup log). |
The thing, without extend ACivMod, JavaPlugin will parse it just fine with its YAMLParser. Well, I will have to investigate further. |
Did you call super.onEnable() at the start of your onEnable method? |
Yes I did El 23 sept. 2016 1:09 p. m., "Maxopoly" [email protected] escribió:
|
I'm out of ideas then. If you push what you have somewhere I'll try to figure it out. |
Ok, thanks for the help! El 23 sept. 2016 1:16 p. m., "Maxopoly" [email protected] escribió:
|
I ended up not inheriting ACivMod and just registering the inventory-menu listener to make it work. |
Opens GUI that shows everything important for every growable for the current biome.
The text was updated successfully, but these errors were encountered: