Didn't work :/ hmm i need it :p.
i know Thanks! EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Right now it can already place blocks and remove them, but when placing it will create on all sides of the block a block, and i only want to add a...
if(args.length== 1){ player.performCommand("tp " + player.getName() + args[0]); } else if(agrs.length == 2){ player.performCommand("tp " + args[0]...
Maybe replace "cmd.getName().equalsIgnoreCase("NGheal");" to "commandLabel.equalsIgnoreCase("NGheal");
I think your targetplayer isnt good, try using: Player tplayer = getServer().getPlayer(args[0]; And your "You've been healed" is wrong use:...
Try using, Player player = getServer().getPlayer(getName()); getConfig().get("1").equals(player.getName());
I'm just saying, what was told me.
I'm making a FarReach plugin, right know it can destroy blocks from far away, but not yet place blocks on the good sides :/
It works but, right now they will be placed everywhere, i think the BlockFace is wrong any suggestions for that?
Multiple onCommands will make the plugin go less faster then just 1 onCommand
1st question is how to get the face of the block, and add x, y, z to it so when u look at the side it will place an block on that side and not on...
Will this be a private plugin
Youre using way too much lines for commands, while its possible to make them very small.
I dont really understand what youre trying to do but, if its insta-eat try using: if(player.getItemInHand()== Material.APPLE){...
I dont know if you still have the problem with decrasin the amount but us: player.getItemInHand().setAmount(-1); I dont know if it will work...
No problem and the "Ip:" will just show that it is the ip. The player gets the message: Ip: 111.11.11.111:25565
Do you mean like this will only be possible for creative? Because it cant be otherwise, normal players would have insta-destroy. Working on this!...
Well ive seen you dont have a good answer yet, so i tought ill show you. Its better to make it like this:...
or just make your command like /signnews set [line] [news]
Separate names with a comma.