Is there no other way? I fear I would have to create too many lists.
chasechocolate Might work, I have some questions though. What if my code in the loop is to delete the value from the config? if (string ==...
Hi bukkit. Any way I could add multiple values of a config key? Like this: key: - value1 - value2 Instead of this: key1: value1...
Oops, I initialized the maps after I loaded the config (later on). It's at least loading for now, let's see if it is working correctly. It's...
I think I understand now! So the int value is the value and the String key is the key! :) What confused me before was the .getInt(key), I thought...
How do I get the values? I'm sorry if I tend to be annoying right now.
fireblast, how do I put it into the HashMap? (together with the value)
The thing is... how are the values of the config defined? If I get the keys/values from the config with .getKeys(false)/Values(false), what then?...
Firstly, I can show you the saving code. It worked fine and I thank fireblast for helping me with that one. (it's in the onDisable)...
Please, could you quickly write a code? Could someone please help me? I get a NullPointerException with whatever I try which means that I have...
Thanks it worked. The thing left is how I can load the config into a map. I hope you could help me with that.
fireblast, It worked with saving the String, Integer map then I tried writing it for the Integer, String map but it says I can't use '.set' there...
Please explain further. What will that do and what should I write inside the loop?
I presume you are referring to this? I have read it through many times but either I am not right or I think that tutorial is about something...
Hello again Bukkit! I have new question for you. I now have two HashMaps. One is structured as <Integer, String> and the other one is <String,...
Many thanks to you sir, it worked!
I don't know if I configurated it wrong but when i is not incrementing but the size of the map is. for (int i = 0; i <...
Could you please explain? And possibly write a code as an example? I don't want to do anything with the String. I only want to increment the...
But this doesn't work right? : kellerkindt, you don't actually explain how I should make the iteration. I'm currently trying a for loop and a...
That sentence and your profile pic look pretty awesome together.
Separate names with a comma.