How to send messages?

Discussion in 'Plugin Development' started by Mineblemone, Jan 31, 2013.

  1. Offline

    Mineblemone

    Hello, I am rather new to plugin devolpment and I am planning to implement a command that will send a message to the console.
    However, I am not sure how to make it so that any arguements past /cm (The command) is the content of that message.

    Anyone know how to?
     
  2. Offline

    Mineblemone

    Neither of these worked! I cant find how to send a m essage which the user has entered!
     
  3. StringBuilders, Logger (or alternatively System.out.println(string)), and knowledge of java and some bit of knowledge of the bukkit api
     
  4. Probably nobody will give you ready source code. But...
    Take arguments count (args.length or similar), then just use loop to pack it into one string and put spaces between arguments.

    Sry for my english, but I hope you understand.
     
  5. Offline

    Mineblemone

    Umm ok...
     
  6. Trust me, if you read through that tutorial throughly, it will explain your question.
     

Share This Page