Custom String message.

Discussion in 'Plugin Development' started by xxCoderForLifexx, Jun 21, 2015.

Thread Status:
Not open for further replies.
  1. So I am having a problem. I am trying to make it so a player can send a message after args. I really don't know a way to do this an Example would look like:
    "/player Coderforlife Hello"
    What I am asking is does anyone have any pointers on how to get the 2 arg to be custom and last more then one space
    Ex: "/player Coderforlife Hello How are you today?"
     
  2. Offline

    Zombie_Striker

    @xxCoderForLifexx
    Use StringBuilders to compile all the args after args[0] (args[0] == codeforlife).
     
  3. Thanks I'll give it a shot.
     
Thread Status:
Not open for further replies.

Share This Page