Do you load the yml to your ClassConfig variable using FileConfiguration ClassConfig = YamlConfiguration.loadConfiguration(ClassFile); Because you've...
getDataFolder().mkdirs(); Put that at the start of your onEnable
The problem is, you do if (sender instanceof Player && args[0].equalsIgnoreCase("gm") == true) { more specifically, the problem is...
Take a picture of the code in the syntax tags. Could work, wont know until you try it
Personally, i would recommend you go with RainoBoy's method of adding an alias. Why? well, no extra code on your behalf, just simply adding a word...
This will get rid of whatever they are holding. player.setItemInHand(null);
If it hasn't been given a display name, then using the getDisplayName will return null. if(item != null && item.getItemMeta().hasDisplayName()) {...
This is just a copy paste of the scheduler part of his code, minus the methods etc, and just includes sending the player a message. Mainly just to...
It's only final because the scheduler requires it to be since it's used in it. The only other thing i can say is maybe you registered the...
His IDE would complain at him anyway :P
List<String> list = getConfig().getConfigurationSection("Players").getKeys(false);
Rank 679 with 4! Not bad ... not bad
The saveDefaultConfig method will only create the config if one doesn't exist. So if the file is there, it won't do anything. If the file is not...
I think this will be a case with the packaging names, the same thing which 'broke' most plugins in 1.4.6. Sorry if i am wrong, but i should not be...
Choice of software is ultimately down to personal preference. Personally i use eclipse, netbeans isn't too bad. IntelliJ is another option, there are...
This is my preferred method of writing to a file. public void logMessage(File file, String string) { BufferedWriter bw = new BufferedWriter(new...
Like i said, i wouldn't be surprised if it wasn't just eclipse having one of its moments
Im aware my post made it sound like that was the sole cause of this error ( which it is not ). But that was the only i could think of at the time...
It should, that is just the only thing i could think of that could have possibly been an error in his code that he showed. The likely solution is...
Change YamlConfiguration chests = YamlConfiguration.loadConfiguration(chestsFile); to FileConfiguration chests =...
Separate names with a comma.