Listen to Bukkit or Minecraft Server commands?

Discussion in 'Plugin Development' started by Kierrow, Jan 29, 2012.

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

    Kierrow

    Hey,

    in a plugin I'm making, I'd like to 'override' the 'help' as well as the 'plugins' command.
    I know Essentials and other plugins are doing it, but I don't know how.

    Can anybody help?
     
  2. Offline

    Chiller

    Try putting your priority for the commands onto low then it will process yours first.
     
  3. Offline

    Slayer9x9

    You can edit Essentials' plugin.yml and remove the entry for /help - this will make it such that Essentials will not process the /help command.
     
  4. Offline

    psanker

    You could also override the "onPlayerPreprocessCommand" event in the Player Listener.
     
Thread Status:
Not open for further replies.

Share This Page