Compatible With:
- Oxide
- Carbon
About Server Rewards Wipe
Simple plugin to allow anyone using Server Rewards to wipe player RP with server wipe, which is a feature not available natively within the Server Rewards plugin.
Config Options:
"Reset ServerRewards player RP on wipe": true/false
Enable/disable clearing RP on new save (wipe)
"Only clear RP on force wipe (first Thursday of the month)": true/false
Enable/disable only wiping RP on force wipe
"Backup player RP before wiping": true/false
Enable/disable backup player RP data before clearing (backs up to "/data/ServerRewards/backups/player_balances_yyyy-MM-dd_HH-mm-ss.json")
"Call 'server.save' after wiping so SR writes new data to disk immediately (protects against server crash)": true/false
Enable/disable immediate server save after clearing RP so Server Rewards writes the new data to disk immediately. If disabled it is written on the next natural server save.
Enabling protects against server crashes that would then cause RP clearing to fail.
Permissions:
- serverrewardswipe.admin - To use clearrpdata command below
- clearrpdata
Default Config:
JSON:
{
"Options": {
"Reset ServerRewards player RP on wipe": true,
"Backup player RP before wiping": true,
"Call 'server.save' after wiping so SR writes new data to disk immediately (protects against server crash)": false
},
"Version": {
"Major": 2,
"Minor": 0,
"Patch": 0
}
}