Solved Creating a CommandSender

Discussion in 'Plugin Development' started by libraryaddict, Jan 8, 2013.

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

    libraryaddict

    I've a IRC plugin that I would like to run commands, But I don't want to get random console chatter.

    So does anyone have a idea on creating a CommandSender, And catching the messages sent to it?
     
  2. Offline

    fireblast709

    Just use the console?
     
  3. Offline

    EnvisionRed

    He doesn't want console chatter. What you can do is create a class which implements the CommandSender interface, and write a custom sendMessage method which can be used for handling messages sent to it.
     
Thread Status:
Not open for further replies.

Share This Page