You're both right.. I debugged it while sending me the blocks. "AIR" is not an ageable block :D Thank you both, I got it working now :-)
Hi everyone, I have this code: public void onClick(PlayerInteractEvent e) { if (e.getAction() == Action.LEFT_CLICK_BLOCK...
Anrza this gives me an int x.x how to check if it contains bow? thanks in advice E: okay getItem .. I understand :D
Zupsub thanks but I dont want to get the Item next to the held ones. I want to do it like this: If player item in hand is bow, show scoreboard
Gerov , yeah that's right. But which event should I use ? PlayerItemHeldEvent does what it looks like : it shows the item HELD in hand not the...
Hey guys, I found PlayerItemHeldEvent but this only injects if I already changed the item in hand. But i want an event which injects if item...
Edit: add return statement
Plaze_Demon you try to copy the defaults but never set ones. don't write it to your config.yml. do it with Java code
Hey guys, I'm trying to make a Plugin with several arrow modes. For this I'd like to show up a scoreboard with the mode of the arrow if the bow...
ItzzBrandon convert your player "p" to String (Bestway : p.getName();)
ItzzBrandon the @Override etc should be fine. Now its time to test and look on server console if it outputs " Plugin's got activated" Or if...
add @Override over your onEnable and onCommand Method and in your onEnable add: System.out.print("Plugin's got activated"); so you can see if its...
Thanks. But this removes the whole attachment and not just permissions or am I wrong ?
Did it :) Any other ideas ?:) Also added Level Prefix on Chat :)
And add @override before the method "onCommand" its really important and very annoying if the code is correct but you forgot to add @override and...
Okay did it :) Works like a charm thanks ! But : Is there any way to "unset all permission" ? not just them which I know the player has..
lol. Didn't mention it was so easy to do and there's a how-to for it .. But one question: They say "The best solution is to create a hashmap" .....
Hey guys, as you know you can check Permissions in your Plugin. But in which file does Bukkit look after that permission if you don't have...
bwfcwalshy What exactly ? Like ColorCodes, special Tags, Prefix, Suffix ?
Hey guys, I'm going to make a chatextension plugin for improving my Bukkit skills. And I want to ask you, which special functions it should have....
Separate names with a comma.