Stopping, blocking, or changing a command (without registering it, obviously)

Discussion in 'Plugin Development' started by joehot2000, Jan 31, 2013.

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

    joehot2000

    How do I block or change parts of a command that a player types? I have tried .toString() then .Replace, but it dosent work.

    thanks in advance,
    joe
     
  2. Offline

    Lolmewn

    You can use PlayerCommandPreProcessEvent for that.
     
  3. Offline

    joehot2000

    AH! thank you! I didn't know that event existed :)
     
Thread Status:
Not open for further replies.

Share This Page