No longer, use /repl in worldedit! :) http://www.dev.bukkit.com/server-mods/worldedit
This is my code: if(label.equalsIgnoreCase("s")) { PlayerInventory inv = (PlayerInventory) player.getInventory(); ItemStack stick = new...
Eclipse is telling me that "line" cannot be resolved to a variable...
This is the config: FIGURE: 1 This is the code for the colors: FIGURE: 2 line = line.replaceAll("&0", ChatColor.BLACK + ""); line =...
Ahh thanks!! :) Thank you everyone for your help davejavu [SOLVED]!
That works but there has to be a space in the words... It just puts all the words together... And when i tried putting those and in it just...
Current Code: if (cmd.equalsIgnoreCase("pm")) { if (player == null) { sender.sendMessage("[JPM] This command can only...
Im trying this and litterally nothing is working! It's not doing anything when there are two+ words it just simply does nothing... EDIT: Ok I...
Ok yea thats what I had and I tested it and when i do the command with 2 arguments it just simply does nothing... Here is the code for the entire...
So then it should be like: String msg = ""; for (int i = 1; i < args.length - 1; i++) { msg += args + " "; }
Still doesnt work... are you sure???
In a previous thread I was given this to use as my code for a string to be every argument after its first. String msg = ""; for(int i = 0; i <...
So "whole" (variable) is my "msg" (variable)???
I found out, being stupid me... that String msg = args[0]; will only send the first word because the first word is the first argument (args[0])...
Thanks so much!! It works!
I am trying to make a quick reply command, I have the config file working! but I cant send the message to the last person that messaged me, it...
I know that now, but I need help with registering events now... because it gives me an error on "Type" in:...
That I got rid of it that, it had to do with the first argument and that error no longer comes up, I think it because of my registering the...
This is the code for my toggle: public void toggleJBC(CommandSender sender) { Player p = (Player) sender; //PluginDescriptionFile...
Ok thanks, Im going to test it now!
Separate names with a comma.