At this point I think this is more of a Java question than Bukkit. I might post it on StackOverflow in a bit if I can't get a solution in the next...
.
I split up the statements there for it to be clearer. I did some googling, the only thing I found different between the codes is a .newDecoder()...
But it is specified? public void saveConfiguration(File file, YamlConfiguration config){ try{ Writer fileWriter = new...
Does anyone know why this method ends up converting all characters to Unicode escaped characters, and how to stop it from doing so? public...
Well, that looks like the getyml() method I posted a few posts above here. But that is probably where the problem is, since when the file is...
Eliminate the comfort of being able to just edit a yml file in Notepad++ and instead have to use a slew of commands to achieve the same thing???...
? Does anybody know how to stop the file from escaping all of the characters and instead keep them as they are?
I don't host my server on Windows. I'm not that insane. I just use Windows to code and to test the plugin. I didn't do specific research into the...
Hello there, to anyone who would like to help. I have various translations for my plugins's message strings and these are stored in a yml file....
Have you tried outputting to the console the offlineplayer.getName() after this line of code? Player onlinePlayer = Bukkit.getPlayer(offlinePlayer);
On this part here: welcome.get(player.getName()).contains(onlinePlayer.getName() Did you try using .equals or .equalsIgnoreCase instead of...
Are the messages all the same? How often does the run() part run?
A NullPointerException (NPE) happens when something in the line of code that comes up to have the error in (see what SuperOriginal posted for...
EDIT: I don't actually quite understand the question now..
The last one was me correcting on the previous one, the first one was putting together the suggestions everyone had put here, as there was more...
I was just showing how to 'put it back how it was'
EDIT: Sorry, my mistake. iterator.next() should have stayed where it was originally since you are iterating through strings. So like this: public...
Try this: public void onDisable(){ getLogger().info("Disabled!"); getConfig().options().copyDefaults(true);...
If you could give us the error you get in the console that would be useful. Also, why are you assigning the value of ".test"+i to iterator.next()?...
Separate names with a comma.