With packets you could probably get it to appear to other people as if the player is wearing wool, but I don't think you'd be able to have the...
That's quite a bit trickier and there isn't any support in the default Bukkit API for it. It might be a bit beyond day-1. Try searching to...
Spieler.getLocation().getBlock().getType() == Material.WOOL
Yeah, use that instead of getFullTime. There are plugins that may change the world time to make day/night cycles faster, so the currentTimeMillis...
amitlin14 If you want, you could do it all without a SyncDelayedTask. The basic idea would be: Keep your HashMap, but change the Boolean to a...
RamiRond Depends what you're trying to do. If you're trying to see if they're sneaking and they're holding wool it would be:...
player.isSneaking()
Catch event Cancel event sendMessage to players or broadcast profit? (at the expense of tainting your soul) As a side note, if you're going to...
@EventHandler public void onPlayerRespawn(PlayerRespawnEvent event) { // Do stuff }
amitlin14 - The problem he's referring to is using 'Player' in your HashMap. In general you should just use the player's name (String) instead of...
Initialize your array before your setup your command executor for the fun of it. May not do much, but your code in general looks fine with the...
Some book APIs are starting to float around, so I wanted to give an overview of how the books themselves work in the default minecraft server....
Herzire I don't see anything you've mentioned that wouldn't be possible.
slater96 Maybe it just doesn't like to compare Integer to int, kinda weird though. Cast one to the other and try.
What Jogy said, but you'll probably want scheduleSyncDelayedTask, just a typo I think, the signature is for that function as well, so that's all...
customConfig = YamlConfiguration.loadConfiguration(customConfigFile); customConfig shouldn't be defined inside the saveConfig function. It should...
Running non-stop loops in an event based structure won't work out too well. The game will effectively stop and just sit in the loop and not...
plugin.blocksMined.values().equals(blocksToMine) should probably be something like: plugin.blocksMined.get(p.getName()) >= blocksToMine
VoidWhisperer Durability goes up when an item takes damage. 0 is fully repaired. Without context I'm not sure if you're intending to damage or...
As suggested, step one would be to change getDisplayName to getName. Since it's used for internal storage the only reason you'd use...
Separate names with a comma.