Override default bukkit commands such as /help.

Discussion in 'Plugin Development' started by pers2981, Apr 12, 2013.

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

    pers2981

    Hey there,

    So instead of having the classic /help I want the command to give the player a book that lists the commands instead. Does anyone have any ideas as to where I would start with something like this?

    Thanks Jacob
     
  2. Offline

    xmarinusx

    I think PlayerCommandPreprocessEvent will work.
     
  3. as far I know the internal build in command are processed when none plugin commands match, try doing the normal way and see if it works
     
  4. Offline

    njb_said

    Precommandprocessevent or just add a new command

    TIP: If you dont want the default /help. block /? too /? => /help
     
Thread Status:
Not open for further replies.

Share This Page