I think the best way to store that kind of data is a Set. It doesn't matter in which position the player is, right? The only thing you want to...
I've studied something about concurrency programming and I know the problems caused by multiple accesses to the same method/variable. Though,...
5 hours are much more than you think! I've tried to work with some guy in EST, that was impossible. If you are available at 3-6 pm EST, it's ok,...
Nevermind, CET here... Good luck to find devs!
So the best way is checking each minute, maybe store the expiration times in a TreeMap and checking only the first element. So, there are...
I mean, checking each minute if the time has passed is very resource demanding, right?
For example: On 24/3/2012 at 00:00 I want to delete an object in a Set. On 24/3/2012 at 05:03 I want to delete another object in that Set. How...
Hello everyone. I would like to know if there is a more "elegant" and less resource-eater way to execute a block of code when a pre-defined...
I would like to know which is the timezone of your team. I wouldn't even apply if there are more than 6 hours of difference between mine and...
Well, I don't understand what you really want to obtain, but this code says that if there is no occurencies of the command executor in the...
Then you should use: final Boolean m = l.get(p); But it get false when you are set in selection mode for the first time, then returns true.
What is the purpose of this line? Are you checking if your hashmap contains your hashmap? :O final Boolean m = l.containsValue(l); And why making...
Well, have you tried all debugging stuffs? For example, you said it gives no errors, so have you checked that the program really attempted to...
You used the method append(), but in Java Documentation looks like that the right method is write()...
Well, I'm not the best person to help you, but should you put the if condition that checks if the file exsists before you actually write the file?
Hello! :D I'm a newbie plugin dev looking for new experiences, making a plugin with a team would be great to me! Just send me in private your...
Thanks a lot!
I think you mean the javadoc, right? http://jd.bukkit.org/doxygen/index.html http://jd.bukkit.org/apidocs/ Otherwise if you mean a full guide of...
I'm a newbie like you, but I think that if you want to get help you should say if there are any console errors and, if there are, you should post...
Hello, everyone. I'm a newbie Bukkit plugin dev. I tried to find informations about Bukkit API in the Javadoc which is great, but it actually...
Separate names with a comma.