@HeavyMine13 You have to update health for each online player for (Player online : Bukkit.getOnlinePlayers()) { if (online.getHealth() > 0) {...
First off I'm really sorry that I haven't answered your question (Thanks to SamThePsychoticLeprechaun for doing it for me). I've been working at...
ziimzy Paste your main class
[SYNTAX=JAVA]if (args.length != 1) { // Arguments not sent ... } else { // Arguments sent ... }
Maybe tell us what isn't working ?
Hello everyone. I was working on my plugin when I worked out that i need to create few configuration files and write to them. I had to add...
Try this code: private CraftItemStack getPlayerHead (String playerName) { CraftItemStack head = new...
First you must save BlockState from every block of the region you want to restore into HashMap. Then if you want to restore the region, you just...
Separate names with a comma.