Helper

Discussion in 'Plugin Development' started by William_Estrela, Mar 8, 2014.

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

    William_Estrela

    [​IMG]

    How could these solid lines?
     
  2. Offline

    Wolfey

    According to google translate, you wanna know how to do that?

    Just send the player a message...
     
  3. Offline

    William_Estrela

    <->_____ ----->________ <--
    <->How to do the layout
    <->_____________
     
  4. Offline

    Rainy37

    p.sendMessage("--------------------< Donate >---------------");
    you can do ChatColor's for the colors
     
  5. Offline

    William_Estrela

    But he will leave the solid line as the image?
     
  6. Offline

    iiHeroo

    I think he's asking how it's one line not like - - - - (4 lines)
     
  7. Offline

    William_Estrela

    [​IMG] [​IMG]
    Create it /\ .......................................... not that /\
     
  8. Offline

    hintss

    would one of these work? (idk, can you even unicode in messages?)
     
  9. Offline

    William_Estrela

    on the plugin

    how i can do these solid line?
    can you pass me de code?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016
  10. Offline

    Voltex

  11. Offline

    theguynextdoor

    Use the strikethrough chat colour, along with spaces as the message
     
  12. Offline

    GameplayJDK

    Code:java
    1. p.sendMessage(ChatColor.STRIKETHROUGH + ChatColor.GRAY + " ... " + ChatColor.RESET + ChatCOlor.CYAN + "< " + ChatColor.BLUE + " Donate " + ChatColor.CYAN + " >" + ChatColor.UNDERLINE + ChatColor.GRAY + " ... ");

    The only problem when formatting the chat layout with characters, colors and such things, is that if a user has changed the chat size/width/height of his client, the whole thing will look ugly for him.
     
  13. Offline

    StealerSlain

    Or just Alt + 0151
     
  14. Offline

    William_Estrela

    yes, how did you do?
     
  15. Offline

    Voltex

    Code:
    player.sendMessage(ChatColor.STRIKETHROUGH + "--------");
    Customise that to your needs :3
     
Thread Status:
Not open for further replies.

Share This Page