You should probably change .getPlayer(args[1]) to .getPlayer(args[0]) as well as change args.length < 1 to args.length <2. I would also recommend...
'continue' skips to the next iteration. The code above is equivalent to: for (OfflinePlayer name : team.getPlayers()) { if (name.isOnline())...
If you are checking only once in all of your code, there is no reason to create a new method just for it. However, if you do need to know in more...
for (OfflinePlayer name : team.getPlayers()) { if (!name.isOnline()) continue; name.getPlayer().sendMessage(message); }
Hello all I am currently trying to use ProtocolLib and PacketWrapper (ty aadnk) to spawn and detonate a firework for a specific player. Here is my...
Try using isSimilar() instead of equals
A world can be unloaded and not saved (changes will be lost)
Sorry for the late reply, and thank you all for your help. unrealdesign Thank you for the link, this is very helpful. There is only one issue...
Bobcat00: The labels are in the top right. (From top to bottom in the graph: Mem. Max, Mem Allocated, Mem Used, Threads, CPU%, Players) aidan573:...
Try updating to 1.7.9 R0.3 then post the startup log again. The plugins that aren't loading aren't correctly finding the NMS classes, updating may...
No major questions here, but I made a graph of my Bukkit server's load over 4 days, and it looks pretty interesting. If anyone knows what causes...
Here is the relevant code I am using. If anyone could point me in the right direction, that would be great: if (Bukkit.getWorld("<FIRST WORLD...
I used Java's FileUtils.copyDirectory(); to copy the world folder. Getting it into Bukkit as a different world was where I was having trouble; it...
I'm not talking about backing up or creating archives of worlds. I want to have one world loaded in my server, then run a code they will duplicate...
Separate names with a comma.