if (Thread.interrupted()) { // Nope not interrupted synchronized (1rogue) { 1rogue.wait(); // Wait for more popcorn } }
/me concurrently steals @1Rogue 's popcorn just before he eats it.
@CrispyCookie learn Java. http://docs.oracle.com/javase/tutorial/java/javaOO/classes.html...
@CONTREKEE replace returns the String with the values replaced. Assign the returned value to a local variable and use that in setJoinMessage
Well that's a flaw in Bukkit then, no need to abuse that in your argumentation to use hacky tools :P. I've written a plugin that allows me to...
My main point being if I remove the plugin, how is it still needed ;). That's where your memory management fails - it will never be GCed (yes,...
Well, wikipedia disgreed with you on that one. Well implement a reconnect function on the client side... Clean up your garbage. If you don't...
I wasn't talking about yours, I was talking about Bukkit's ;). And they will stay there even if you remove the plugin => memory leak. Plugins are...
It's not a blind, hateful comment. You leak memory. Your whole concept is about leaking memory. And the fact that your plugin works proves that:...
@MrAwellstein O boy, look at that memory leak you posted.
Give the player a Team Give the Team a prefix and suffix ??? profit (48 characters in total)
@InkzzzMC if(number == 20)andif(number == 15)should never be nested in each other: number cannot be 20 and 15 at the same time :P.
@InkzzzMC well mine are incorrect (read the code, especially the System.out.printlns)
@InkzzzMC if(number == 20) { if(number == 15) { System.out.println("Hello there, I am never executed.");...
What is the motivation behind this? 0.20 TPS drop can literally be caused by anything.
@jusjus112 You will have to learn SQL if you want to use SQL :P.
Just a head's up: any further support belongs to the alternatives section :P
Well the main thing was the fact that you store everything mashed in a single string using a delimiter, while YAML offers a pretty nice way to...
@To175 That sounds like a horrible way to store bans. I suggest a layout more like the following:PrefixMessage: '[MeCraftPlugin]' BannedPlayers:...
@BurnerDiamond to reuse the code you posted earlier, this should work fine (and note, I only removed the Thread.sleep) if (is.getType() ==...
Separate names with a comma.