I need to set a delay to remove a permission. I've tried a bunch of versions of the c# time format that I could find and none of them seem to work. Please advise.
{
"Frequency": "Always",
"Time Frequency": 0:00:03,
"Use Game Time": false,
"Run On": "Exit",
"Commands": [{
"Command": "oxide.usergroup remove {player.id} prototype",
"Arguments": [],
"Clientside": false,
"Chat Command": false
}]
}
]
}
How to set time delay?
Hey, make sure you put these in "" like "d.hh:mm:ss" (i.e "00:00:03" for 3 seconds).
Trying to set the time delay too, tried as suggested above but it still doesn't work, still gets executed every time without cooldown taking effect.
Please show your configuration and examples of what you want and do not want to happen.
{
"Zone ID": "4",
"Actions": [
{
"Frequency": "PerPlayer",
"Time Frequency": "01:00:00",
"Use Game Time": false,
"Run On": "Enter",
"Commands": [
{
"Command": "inventorycleaner.clean",
"Arguments": ["{player.id}"],
"Clientside": false,
"Chat Command": false
},
{
"Command": "teleport.topos",
"Arguments": ["{player.name}", "0", "900", "0"],
"Clientside": false,
"Chat Command": false
},
]
},
{
"Frequency": "PerPlayer",
"Time Frequency": "01:00:00",
"Use Game Time": false,
"Run On": "Exit",
"Commands": [
{
"Command": "givekitto",
"Arguments": ["{player.id}", "prize"],
"Clientside": false,
"Chat Command": false
},
{
"Command": "givekitto",
"Arguments": ["{player.id}", "naked"],
"Clientside": false,
"Chat Command": false
},
]
}
]
}Same issue here, I want the cooldown to be 1 hour real time (unsure how long 1 hour in game time is)