Ok, I know this can be considered old by now but it is the only source for a project like this I can find...
I have the exact same problem as...
Too many people saying they are on it and then never come back xD This is a thing of an hour... but since it's 4.00 am here I am too tired right...
Thats pretty much exactly what you requested. Just wrote it on the run and testet it...
Is it possible that you wrote that config by hand? Maybe you have a spacing error
@CrystallFTW Okay what does the message say that you send to the player?
edit: Or more exactly: Is the content of the amount String "0" ?
Actually I'm surprised that you get an Item at all becuase the path to your Items isn't "Reward.Items.Materials".
It's just "Reward.Materials"....
omg I did it wrong for such a long time D: I coded an entire plugin with making everything static xD Well. Guess I have to thank you again kind...
That leads me to an error that says I activated the plugin twice
But I can't invoke the Method from the other class then
Oh I get the mistake now. On loading the config again in the saveConfig() method I anullate the changes I made before.
isn't that how it's supposed to be? :O
@nverdier Thanks but that wasn't my question :)
Hi Community :),
I am at the very beginning of the development of this plugin so my question is very easy:
I have those two Methods in my Main...
Thank you so much! ^^ I am not a smart man! It was so simple I coudn't see it xD Thanks man!
Hi folks! :)
I'll make it quick. I get a bunch of NullPointerExceptions when triggering my method chain wich is like the following:...
And I just removed the instance of the class sry.
I am new to Java. Appearently you can only call methods from other...
I removed it. Doesn't work... Just because thats the first thing that gets your attention it isn't my solution.
Bump. Someone please?
Separate names with a comma.