#Execute Command as Player, Ignore Permission Level

8 messages · Page 1 of 1 (latest)

hot nacelleBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

grizzled hornet
carmine saddleBOT
#

Paste version of radar.js from @grizzled hornet

grizzled hornet
#

Lowering the permission level of the command would also solve the issue, if thats possible, though I suppose I would still like to know how to do this so I know for the future.

grizzled hornet
#

Edit, I did some messing around, it seems the server is unable to execute the checkspawn command as a player? I tried just sending the command through server console as a test and it does not work, so the issue isn’t with syntax of the code, and rather that for some reason the command can’t function that way.

#

If anyone can tell me how to instead change the command permission level, that would probably be the best way to handle this I guess.

torpid moth
#
event.server.runCommandSilent(`execute as ${event.player.username} run ...`)
grizzled hornet
#

imma repost with different context