@jusjus112can you please tell me the error?
@BaconStripzManas I said previously, take a looke here: http://forums.bukkit.org/threads/tutorial-get-the-block-where-a-projectile-landed.176395/
My error, replace while (y < 3; y --) with for (y; y > y - 4; y --) Don't replace the "4" with a "3" or it will not check the third block!
You're trying to use a Player in a HashMap of Strings and Longs :/
I used this in a plugin I made some time ago, but it worked pretty good, even when a player unarmed tries to kill another player the death was...
Player player = //assignement of the player Location loc = player.getLocation(); int y = loc.getY(); boolean itsEmpty = true;...
Error, it cancels it, because the player is never dead. If you look at the code, you can see that if the Player healt - the damage will kill the...
That's pretty simple. First you need to find when a Snowball is fired what block hits (you can find how to it...
Desle with that code it's something like DeathEvent, but DeadEvent will not fired, causing no display of the respawn menu. You need only to add...
You can do this in an EntityDamageByEntity Listener: if (event.getEntity() instanceof Player) { Player attaccato = (Player)...
You should make a runnable running every tick (or maybe 2), and for every playere online get its location and check if the three blocks under him...
And in the code you gave us I can't tell what line is 43
If you set the value of "Disable PVP" to true the PVP will be disabled ONLY in the spawn area (the same protected from placing/destroying blocks),...
You can already do it - just go in the folder SpawnProtection, open the file "config.yml" with a program like Notepad++ and change in the string...
Yeah, I have noticed it when another user sent me a PM about a bug you already found. I'll probably create a DevBukkit page for this plugin, if so...
Separate names with a comma.