Cheeze_Itz
Verified Member
looks like im out of luck then :'(. thanks for your help friends
I thought the config Issue was fixed In the latest PK builds?Doesn't generate for me either, pretty sure there is a problem with the config generation for custom addons, solution is either to way for pk to fix this, or, code it so it generates it's own config file.
Nope, I'm pretty sure it wasn't, the configs weren't generating for my moves either.I thought the config Issue was fixed In the latest PK builds?
...Nope, I'm pretty sure it wasn't, the configs weren't generating for my moves either.
FileConfiguration blah = ConfigManager.defaultConfig.get();
blah.addDefault("blah", "burp");
ConfigManager.defaultConfig.save();
I believe I have that. I'd have to look, but I'm at school right now.@Sketz and @Soarinsorin, if you're going to write to the pk config (or use your own with the pk config system), make sure to do config.save() after adding your defaults. So like
Code:FileConfiguration blah = ConfigManager.defaultConfig.get(); blah.addDefault("blah", "burp"); ConfigManager.defaultConfig.save();
AirJump works, or the Beta 9 configging? I'm unsure if AirJump is working or not.The config in the latest beta works. Just tested it multiple times.
Writing and reading from the config works in the latest beta. No idea about AirJump.AirJump works, or the Beta 9 configging? I'm unsure if AirJump is working or not.
or both? lol...
Alright. I believe I did the written config right. Everything was tested on my test server too, so I'm just not sure.Writing and reading from the config works in the latest beta. No idea about AirJump.
Something I often get (simply because of a typo) is that getting values from the config goes wrong. For example, instead of typing "ExtraAbilities.Sketz.AirJump.Power" you could've written "ExtarAbilitiies.Skets.AirJump.Power". Check the paths to the config values and make sure they are correct.Alright. I believe I did the written config right. Everything was tested on my test server too, so I'm just not sure.
I will thanks, although I tested the configs values as well, along with the boolean configs.Something I often get (simply because of a typo) is that getting values from the config goes wrong. For example, instead of typing "ExtraAbilities.Sketz.AirJump.Power" you could've written "ExtarAbilitiies.Skets.AirJump.Power". Check the paths to the config values and make sure they are correct.
What I just said is about 5% near Java.this all sounds so exciting damn my lack of java skills
That's super strange, maybe try deleting config if you can, or uploading it so we can see if it is actually there?Nope, I'm pretty sure it wasn't, the configs weren't generating for my moves either.
PK's config works.That's super strange, maybe try deleting config if you can, or uploading it so we can see if it is actually there?
I think he's talking about my config.PK's config works.