Hello there, today I am having a bit of a problem and I don't understand why. Here is the code: Code: @EventHandler public void onChange(SignChangeEvent e) { Player p = e.getPlayer(); if(e.getLine(0).equalsIgnoreCase("[ColorNick]")) { if(p.hasPermission("colornick.create")) { if((!e.getLine(1).trim().isEmpty())) { if((!e.getLine(2).trim().isEmpty())) { e.setLine(1, ChatColor.RED + "[" + ChatColor.LIGHT_PURPLE + "Color" + ChatColor.DARK_PURPLE + "Nick" + ChatColor.RED + "]"); p.sendMessage("§aCreated a ColorNick sign."); } } } } } Here is the output in game:
@SuperOriginal Well, it obviously isn't putting what he set. @S7W What other plugins do you have installed? BTW, tip: Make a method named something short like c() that takes a String and returns a String, Make it return ChatColor.translateAlternateColorCodes('&',<input string>) and then call that so you can use & color codes, while retaining the usage of ChatColor and the ability to put normal &'s.
@SuperOriginal he shouldn't be running out of space, I tested it in game and I could fit [ColorNick] on a sign.. It looks like there is something clashing with it.. I don't see a reason why it shouldn't be working.