Solved Block player from using command

Discussion in 'Plugin Development' started by DoppelRR, Aug 24, 2015.

Thread Status:
Not open for further replies.
  1. I want to prevent players from using commands when they are in "Editmode". The only command they should be able to use is /editmode to leave the "Editmode".
    How am I going to do this?

    Any help is appreciated,
    DoppelRR

    EDIT: Found a solution, there is a PlayerCommandPreprocessEvent. This should work.
     
    Last edited: Aug 24, 2015
Thread Status:
Not open for further replies.

Share This Page