How to send messages?

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

Thread Status:
Not open for further replies.
  1. 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

    caseif

  3. Offline

    bleachisback

  4. Neither of these worked! I cant find how to send a m essage which the user has entered!
     
  5. Offline

    ZeusAllMighty11

    StringBuilders, Logger (or alternatively System.out.println(string)), and knowledge of java and some bit of knowledge of the bukkit api
     
  6. Offline

    Chlorek

    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.
     
  7. Offline

    bleachisback

    Trust me, if you read through that tutorial throughly, it will explain your question.
     
Thread Status:
Not open for further replies.

Share This Page