/(command) Info

Discussion in 'Archived: Plugin Requests' started by GroundSnake4E, Oct 22, 2013.

  1. Offline

    BillyGalbreath

    No.

    Just, no.

    Use this instead:

    Code:
    String toPrint = getConfig().getString(command + ".text");
    toPrint = ChatColor.translateAlternateColorCodes("&", toPrint);
    sender.sendMessage(toPrint);
    
     
  2. Offline

    alexander7567

    Thanks... I seen this after doing a little googling... They both work, but the other method seem to have trouble with doing "$cThis" instead i would have to put "$c This" to work, which caused formatting issues.

    So thanks to both of you, but this method seems like like rigging it to work. Will upload new version to BukkitDev now.
     

Share This Page