.scheduleSyncDelayedTask((Plugin) this Unless the class you are calling this in extends JavaPlugin then "this" isn't your main class, just get...
If you don't want your email and password to be seen, create an external yml/properties file that contains all that data, then load it as a...
Yeah, wrote this a while ago, you are correct.
You create all these strings from lines 21/25 but don't inialize them, and initialized the MySQL object before these Strings are set: String...
1000 Milliseconds * 60 Seconds = 1 Minute * 60 Minutes = 1 Hour * 24 Hours = 1 Day 86400000 Milliseconds in one day, if (now - lastUsed) >...
jflory7 I wrote it there, so if you wanted to use it in another method, you could just call DAY_IN_MILLIS instead of rewriting 1000*60*60*24
Just change the name of the second last, you have already declared the variable last, just name it long now = System.currentTimeMillis(), because,...
java.sql.SQLException: Illegal operation on empty result set. You should really try to read your exceptions and figure out why they occurred....
Using the == operator checks if the two Objects are the exact same object, so the String "azura" is an object, and event.getWorld().getName() is...
I made something similar: https://github.com/Rockett8855/Commands/tree/master/Commands/src/com/mctheslice/interalutils/command Check it out if you...
If this is your main plugin then it also needs to extend JavaPlugin, also the Vector is ambiguous... You call new Vector(x,y,z) but the class is...
translateAlternateColorCodes() still null?
if (!config.exists()) { this.saveDefaultConfig(); getServer().getPluginManager().registerEvents(this, this); }...
he's saying, you are using upper case in the config, and lowercase in the plugin, even though this shouldn't be a problem, it's standard to use...
Yeah, so once he removes a player from the iterator without using .remove() it invalidates the iterator, because iteration is all about relative...
put this as your first line in the listener, if(getConfig() == null) System.out.println("config is null"); just to check LOL I just noticed it,...
The Gaming Grunts Most likely your getConfig() is null, you loaded a java.util.File called config, but if you want to do it like this you need to...
TehVoyager Yeah, makes sure though, that you give your custom inventory a unique name, or you will have trouble, make sure to do...
You have to post more code, because you have to open your Kit.kits menu exactly for the inventories match, and if that doesn't work, try...
You can use booleans with config if you use if(config.getBoolean("DisableRegular") == false) { then you don't have to check for string equality....
Separate names with a comma.