Quick Question, If I used MySQL in bukkit, would it store that information in there? This might be off topic but, what is stored in Sql by bukkit...
Okay, then forget the extends Moudle and in the module just do main.getInstance()
If the class is not found that means the jar file isn't loaded.
I don't think your loading the jar correctly.
Send a screenshot of your module package and class.
In your main class have a method to get the instance, and then in your module class instead of returning pl, return main.getInstance(), Also you...
Could you post your code.
That is the way to do it ;). Its better to stay from static, and yes you would add the jar to the build path of the 'module' you would be...
Create an object and store it in the hashmap, HashMap<String, PlayerData> userdata = new HashMap<>(); // string is the players name, PlayerData...
Don't use .equals for Enums, use == instead.
Is the server going to restart during the minigame? If not then you could do hashmaps, there really is not point of saving it.
You pass it through the plugin that is loading the module?... I did a plugin like this a while ago. What I did was made the main class of the...
I don't think that ItemSpawnEvent would be called if lets say, someone dropped an item on the ground, you might want to use PlayerDropItemEvent...
I will try that, Thanks Thanks it worked! EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Hello, fellow members, I was working on a little plugin to double a players money when they got money added to their balance. I am using...
Separate names with a comma.