Jump to content

Pex custom command perms


Recommended Posts

When you define the command, add a permission. For example:

command /test:
    permission: permission.node
    permission message: &cYou do not have permission
    trigger:
        # code here

Is this what you mean?

Junior Mod (01/04/2020) - Resigned 

 Discord » Koronotchi#0001 
Minecraft Username » Koronotchi 

image.png.17a385f298c8969f6b1cf03e27ee50d3.png

 

Link to comment
Share on other sites

35 minutes ago, WinterFedora said:

like to what? give me some, like everyone can use command.

<commandname>.allow maybe? As I said it's your choice, it doesn't really matter as long as you assign that exact permission to the group your adding it to.

Edited by Koroonotchii

Junior Mod (01/04/2020) - Resigned 

 Discord » Koronotchi#0001 
Minecraft Username » Koronotchi 

image.png.17a385f298c8969f6b1cf03e27ee50d3.png

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...