Configuring purge for every 7 days?

Hi Misticos,

I've read through the help forums, and I have a few questions about how the plugin works.  I want to auto purge bases and sleepers on my server after 7 days.  I've modded several servers and I'm familiar with editing .json files and oxide permissions. 

1) Permissions, if I use 'oxide.grant group default autopurge.inactivefor' do i need to specify the time when i grant the permission? as in
'oxide.grant group default autopurge.inactivefor 7d'?? or does granting that permission the way I first wrote it (oxide.grant group default autopurge.inactivefor) allow the plugin to use the time format in the .json file??

2) Will this .json file setup work to purge the map every 7 days??
 
{
"Purge Settings": [
{
"Permission": "default",
"Lifetime": "7d"
}
],
"Purge Timer Frequency": 900.0,
"Entities Per Step": 512,
"Purge Sleepers": true,
"Use Logs": true
}

Thanks in advance

I have two other guys admining for me, I'd like to keep us out of it, specifically because one of the guys has COVID.  I know the wipe is due this Thursday and the one sick guy is gonna lose all his stuff anyway, but if another admin or myself gets COVID next wipe, I'd like us to be exempt from the purge. 

create another "settings" entry with lifetime "none". the inactivefor is a placeholder, unrelated to permissions.

I assume your answer is related to the comment i added on about keeping admin out of the purge. 

What about the OP?? Will that .json file work to purge the server every 7 days?? and is the oxide grant text i put in the correct way to start the purge or am I missing something??

Merged post

i got it working, set lifetime to 5m and ran the mod, autopurge.run, and i wiped everyone offline out in one shot.  changed lifetime back to 7d, we'll see how it works

Merged post

it was funny watching the sleepers disappear on info panel