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)
"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
Additional console command available to trigger a RP wipe at any time while server is running:
- clearrpdata
Default Config:
{ "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 } }
