Change the colur of the Motd

Discussion in 'Bukkit Help' started by Phoenix901, Oct 27, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    nxtguy

    Wow, I come back to the thread and I see you guys already have a plugin going! This is great! I'll defiantly use it on my server!

    JayzaSapphire Do you think you could upload the source?
     
  2. Offline

    EmperorXing

    The '&' just removes the whole MOTD everytime I try to save the server.properties.

    Really annoying.
     
  3. Offline

    Necrodoom

    note where he said "with MY PLUGIN its the & key"
    you need to use the /u00a7 unicode character, being the double S
     
  4. Offline

    mima19

    You can make § sign by pressing ALT + 0 1 6 7

    Could you give me the link?
     
  5. Offline

    astroskillz

    On a Mac it's Alt + 6
     
  6. Offline

    EmperorXing

    can you please explain how to use Unicodes?

    Or post a link for the colors?
     
  7. Offline

    sharp237

    Try using this:

    \u00A7

    instead of & or
    §. It worked for me :)

    For example:

    motd:\u00A7aWelcome To My Server \u00A74:)
     
  8. Offline

    jacklin213

    JayzaSapphire Nice plugin, just wondering if it would be easier if you made them put the color format as
    <red>Welcome to <green> MyServer
    You know for people who dont know how to use mc color codes

    Here the code if you want to add it
    Code:java
    1.  
    2. public static String format(String string) {
    3. String s = string;
    4. for (ChatColor color : ChatColor.values()) {
    5. s = s.replaceAll("(?i)<" + color.name() + ">", "" + color);
    6. }
    7. return s;
    8. }
    9.  
     
Thread Status:
Not open for further replies.

Share This Page