Solved Hiding Commands/Dummy Commands

Discussion in 'Plugin Development' started by ColonelHedgehog, Nov 3, 2014.

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

    ColonelHedgehog

    Hi,

    I was wondering if there was a special technique for hiding commands (from the /help menu and such)? I tried making dummy commands in the PreProcessEvent section, but since the command has to actually exist, it won't budge.

    Should I:

    a) Listen for a chat packet
    b) Use the AsyncChatEvent
    c) ???

    While we're on the subject, is there a way to completely hide all visibility of the plugin from certain people (non-Ops for example)?

    EDIT: Me = st00pid, it turns out you can listen for fake commands the way I tried initially. x_x
     
  2. Offline

    Watto

    Uhm i've used the PlayerCommandPreprocessEvent without having to register a command?
    Are you sure you're registering it right and such?
     
  3. Offline

    ColonelHedgehog

     
  4. Offline

    Watto

    ColonelHedgehog

    I noticed :p Couldn't be bothered edit it since my Firefox was being dodgy.
     
Thread Status:
Not open for further replies.

Share This Page