Definitly not like this. The server will probably crash when the countdown is too long because it blocks the main thread Use a delayed task...
Maybe the empty first line was intended. Or the code is completely different from the stacktrace but as I said before: final User u = new...
Code he posted shows "69. 1.while (rs.next()) {" for me Edit: There would be another line in the stacktrace above the one you mentioned which...
The stacktrace never said that this line threw the exception...
Why should it? Where is the mismatch?
Main.getStore() Dunno what it does, but it definitly doesn't make sense to store a DBHandler in the Main class and use it in a DBHelper class I...
Good point. But wouldn't that lead to weird symbols WITHOUT the color code being interpreted? Seems stupid that the output would be "ħeÄ$l" like...
The method literally replaces the symbol you give it with '§'
That's either not the current code, another plugin is adding those weird symbols or...dunno. Maybe it's the version? No idea why the minecraft...
Show us the code too
You can either use the ChatColor enum or use the color code directly (§1, §2, §a,§b, ...)
You are declaring a object variable of type Main with name plugin You declare a local variable of type Main with name plug You do not call plug...
An IDE should tell you this before you even try to build the jar and should even stop (at least in IntelliJ) before you are able to completely...
This is the plugin. Radius and recipe are customisable in the config
Player class does not have a static getName method. You have to call it on a player object...Obviously. If it's not obvious to you, stop making...
Oops. I updated it (same link) I also added a config option to enable/disable vertical movement...You will see what this means when you test it
Done
Lmao. I got big brain moment for this Well, if you have something like your armor event, I would put it in the armor file, if you have several...
1. I would put the event in the class that creates the armor. 1 event in a class seems unnecessary to me 2. A. Hard to say how you should call it....
What does that mean "doesn't work" Does it refuse to update or to just show at all? If it doesn't show: When you do want it to show? OnCommand?...
Separate names with a comma.