So I want to make it so that staff or me myself (all players) won't be able to use commands while a minigame is running, except one command, /allowplayercommands (which makes it so that you can use commands again) which only owner (me) can use.
BTW I COMPLETELY trust my staff, I just want to know if it is possible.
I think something similar to this would work but I honestly have no idea.
Edit: I think that I could make an if statement
Something like that
BTW I COMPLETELY trust my staff, I just want to know if it is possible.
I think something similar to this would work but I honestly have no idea.
Code:
on command:
cancel event except /allowplayercommands
command /allowplayercommands:
trigger:
(idk what I would have to put here)
Edit: I think that I could make an if statement
Code:
on command:
if command is /allowcommands
say "Commands allowed"
else:
cancel event
Something like that
Last edited: