How To Determine If A Player Has Used A Command

Discussion in 'Plugin Development' started by Bench3, Sep 28, 2012.

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

    Bench3

    Hey, I was wondering how you would go about checking if a player has used ANY command, even if its not a registered command.

    Thanks in advance,
    ~Ben :D
     
  2. Offline

    brord

    if(commandLabel.equalsIgnoreCase(null)?
    if(commandLabel.equalsIgnoreCase("")?
    havent tried, jsut a guess
     
  3. Offline

    Bench3

    Don't worry, solved it, you just use the PlayerCommandPreprocessEvent instead ;D
     
  4. Offline

    brord

Thread Status:
Not open for further replies.

Share This Page