You have to check whether the command sender is in the instanceof player
This doesnt actually help :S Material wool = Material.WOOL; that's all im using to declare the wool
How's that gonna help?
Help me now? I'm using BlockInteract event, and when a player interacts I want it to spawn green wool... please
How do I make my plugin prevent players from doing things my plugin provides in things like Towny: Towns, and Nations. Factions: Safe Zones and...
Im sorry, but can I have an example?
I really need help.. how do I spawn coloured wool using: location.getBlock().getRelative(-1, 2, 3).setType(wool); Thanks
Ok, got that.. now what do I do?
Im sorry, I'm really new to hashmaps... :L I've used them before but only on a very basic level.. how would I do that?
How can I add a undo command to this? This is what I plugin does: @EventHandler public void onPlayerInteract(PlayerInteractEvent e)...
How do I set it to a specific block? How do I set it to a specific block? EDIT by Moderator: merged posts, please use the edit button instead of...
Can I have an example of the code?
Title says it all... How do I get the plugin to register when someone right clicks a block?
Why can't I use Mediafire?
Well yeah, I kind of do :S It gets the block at the certain coord and changes it? I basically just want blocks to appear..
Hey guys, is there an easier way to spawn blocks other than this: Block wool1 = player.getWorld().getBlockAt(location.add(0,...
Will do:)
I thought PickBoat was outdated :/ I was just asked to update it so I did...
<font color="#ff6600">Simple outline:</font> This plugin stops boats breaking either by when they are crashed, broken or collided with another...
Fixed it! thanks <3
Separate names with a comma.