Trying to remove backpacks in PVP Zones
Any Help Appreciated
{
"Zone ID": "AirField",
"Actions": [
{
"Frequency": "Always",
"Time Frequency": null,
"Use Game Time": false,
"Run On": "Enter",
"Commands": [
{
"Command": "oxide.revoke",
"Arguments": [" user" {player.id} "backpacks.use"],
"Clientside": false,
"Chat Command": false
}]
},
{
"Frequency": "Always",
"Time Frequency": null,
"Use Game Time": false,
"Run On": "Exit",
"Commands": [
{
"Command": "oxide.grant",
"Arguments": [" user" {player.id} "backpacks.use"],
"Clientside": false,
"Chat Command": false
}]}]}
Entering and exit PVP Zones Backpacks
Try "Arguments": ["user", "{player.id}", "backpacks.use"]. Though note that likely this won't work if you have the permission granted to the default group, because you cannot revoke group permissions from a user.
Though note that likely this won't work if you have the permission granted to the default group, because you cannot revoke group permissions from a user.
Can you remove groups? or remove permission from a group setup with just that permission. If not what way could I use this to disable Fetch, Retrieve and Gather. I run a PVE and hoping this could do this. Does the permission need to be granted straight to the player instead of a group? Any help appreciated.
I Figured it out sorry for bothering you. I was over thinking everything.