And how you would include here condition like this (if tool is damaged): if (itemDUR > 0 && (itemID == 359 || /* Shears */ itemID == 346 || /*...
No, as I loop over item's and want to delete all but Maps nad Fishing rods
I loop over inventory with for (ItemStack i : player.getInventory()) {} And want to set currently iterated over item an AIR like...
What about placing beacon on player's position? Or even at his head? Just wondering...
On player pickup I can do following, but how to check if item taken by Hopper has same MetaData? // PlayerPickupItemEvent event...
Great, that's what I wanted! Now - if I cancel that Event, how to close Inventory?
Are there events for 'Container' group? I want to listen Player item place/take/move events on Chest/Trapped...
Th3Br1x Never though about catching it as PlayerChat. You are ceancelling it - OK, yet it will still register as command for other plugin, right?
What about server commands?
As far I'm aware commands are overlapping each other: if your plugin uses command /test and mine uses /test one of them will work, right? Is...
So I have command not from my plugin/bukkit command ex. /ban-ip Is there a way to emulate execution of any command? I'm thinking about...
Why my project http://dev.bukkit.org/bukkit-plugins/noregioncamping/ Says This project has no files! Please check out our Getting started guide...
Kinda works. Player is launched in space if looking down btw. Could someone explain me what does "Velocity" of a Player mean in the first place?...
Post to be deleted
Quackster No, as I'm colectiong Your advices. Will take a look at them tommorow and surley update this thread. L33m4n123 The method...
I am talking about situation when player is moving backwars. Was also thinking about saving every player position in List from span of last few...
L33m4n123 How it's calculated? I tried to move player back away based on his yaw but when he was moving backwards than it fas forcing him to...
L33m4n123 exacly
If I cancel PlayerMoveEvent and Player will force himself to pass it he will eventually: - get stuck in place in forever loop of canceled events -...
Why not? Making it pure String makes no difference.
Separate names with a comma.