#make player execute command with a permission

1 messages · Page 1 of 1 (latest)

fossil ibex
#

make player execute command "shopkeeper remote 35" with permission "shopkeeper.remote.use"
why isnt this working, and is there any syntax like this
i searched all over google, no one has the answer.

winter spindle
#

What are you trying to do exactly?

#

Are you trying to check if the player has the permission?

limpid scarab
#
    make player execute command "/Command"```
You need to check if the player has the certain permission and then make them execute the command
fossil ibex
winter spindle
#

So you’re trying to give them permission?

fossil ibex
#

for THAT specific moment only

winter spindle
#

Why though

#

You can give them permission then take it away after

fossil ibex
#

it's so that the player can only execute shopkeeper remote 35, and not 34, 33, 32 etc

fossil ibex
winter spindle
#

Check if the arg contains “33” then give them permission to do it

fossil ibex
#

bro it's a plugin command

#

also i cant find the syntax to give permission

winter spindle
#

I think it’s add “” to player's permissions