linkodude43 I wrote an API that does this, and also other developers can use it's functionality. It is currently waiting on file approval, however...
Jensui I have updated the project to your artwork btw and gave you credit for it, in both the image description and in the credits section of the...
Jensui Very nice! If you have the psd that would be awesome! If you are bored you can work on my others :p
Jensui Just released a new plugin, and I just threw something together real quick. I have quite a bit of experience in photoshop (been using it...
Arrxzon Right, so after SaveLoad.load, check if players are in the cool down, if so, run the same method you call in your onCommand.
Arrxzon It's because every time you call SaveLoad.save() you are overriding the file. Instead of naming the file "hashmap.bin" you can call it...
Arrxzon Can you post, or send me a pm of the code where you have the kits and cooldowns. I need to see how you implement the lists.
Arrxzon Can I see the full code of the class containing the onCommand method?
Arrxzon There is nothing to save because you are you add the player to the cooldown list, then after the cooldown period you delete them from...
Arrxzon Delete your plugin's folder (not to be confused with "plugins" folder) and restart server.
Arrxzon On line 5: if (cooldown.contains(p.getName())) { On line 10: cooldown.add(p.getName()); On line 13: cooldown.remove(p.getName()); So...
Niknea What is the error message?
Niknea You do not have to add any of the ArrayLists to the constructor. In fact, I recommend against it, just add the plugin to the constructor....
Arrxzon Players are not serializable, you cannot save players! You can however use player.getName(). And you will have to change the ArrayList...
Bart I couldn't remember who was the original author, nor do I want to take any credit! Thanks for linking! And thanks to tomsik68! fudool8...
fudool8 First of all, you need to register your events in your onEnable: getServer().getPluginManager().registerEvents(new myPlayerListener(this),...
fudool8 so "hashmap" is supposed to be the same name of the HashMap you are saving (same as the variable in your code) the file will be...
fudool8 No problem! Glad I could help!
On this line: Bukkit.getServer().getPluginManager().registerEvents(this.Freezetag, this); You are saying that there is a variable called...
fudool8 If all the items in the HashMap are serializable, you can save the entire HashMap to a .bin file in the plugin's folder. Here is the...
Separate names with a comma.