Bump @timtower class above
OK, once I get back from school package ShopEvents; import java.util.HashMap; import org.bukkit.Bukkit; import org.bukkit.Material; import...
The plugin cannot be null, as I saved the hashmap flylands into the section FlyLands many times
Ya, ik, but line 47 is the first line of the for loop for(String key : plugin.getConfig().getConfigurationSection("FlyLands").getKeys(false))...
Idk what my error was, but i restarted eclipse and its gone, (naice!) this is what i am using: //hashmap declaration HashMap<String, Integer>...
ok Let me try this :D Edit: I have an error saying the key is a string, do i just use the Integer.parseint here? EDIT: didnt work @timtower
I'll send the code once I get home public static HashMap<String,Integer> Flylands = new HashMap<String, Integer>(); for(String key :...
I tried looping through the set, and using the get method of the hashmap, and it didn't work
Couldn't really figure this out
Ok ;) If I have a problem I'll ask you
? I have seen many posts with how to derive a hashmap, and in that I have seen that code, but I srsly don't know what that does
I can't I am not at home, In my config, I basically store a hashmap<String,Integer> and that hashmap is known has flylands (as you can see in the...
It's like this: Flylands <String playername>:<ETA> //For example raunak114:1200
I just don't know how to loop it...
How is what I am asking xD for each player
Ik my code is working, but, when the server restarts, the bukkitrunnable () will stop after a reload/restart... And I want it to continue ;)
Ik, by I mean how do I just start all of the bukkit runnables on enable?
I have done that, my question is, how do I start all he runnables again? (After a reload/restart)
Actually, I have got what I needed to work :), but I want the bukkitrunnable to continue to repeat my task when the server reloads/restarts
You could say so, but it's a cool down of every only player (who has right clicked an item) and their ETA
Separate names with a comma.