#Can i change a player permission from scripting?
1 messages · Page 1 of 1 (latest)
I think you can with ```js
player.setOp(true);
u can just op deop
Are those commands allowed withing script?
I tought you meant the op and deop commands
ye we have func for that within api
Yeah this one
I mean change from visitor to member.. Member to visitor
Nuh uh
If it was that one i ain't gonna ask here
But we can make some player disable from breaking,interacting,etc when it has a specific tag
ye
Hm that can be useful
Hm ok thats good enough
many of them are cancelable
also script api commands can't run op commands
what the different between visitor and adventure mod
idk
Adventure doesn't have have permission settings on player lists,because they could still do some actions when they are allowed to like allow/deny blocks,items nbt canplace candestroy
While visitor literally cannot do anything (maybe)
It can
using runCommandAsync()
If thats what you meant
He meant stuff like setmaxplayers or op or deop