About Auto Purge
xAutoPurge
- Automatically purges all entities owned by players which are inactive for X days.
- xAutoPurge can retroactively detect and track players who haven’t connected to your server (Even before plugin was installed).
- Config:
- InactiveDays - Defines when a players gets purged if not online for X days. (Default: 7 days)
- PurgeCheckIntervalSeconds - Defines how often it should be checked for inactive players. (Default: 1 hour)
- AnnouncePurge - Players can now be notified: "Optimizing server performance, brief lag may occur."
- LogToConsole - Defines if purging activities are getting logged to the console. (Default: true)
- ExcludedSteamIDs - Defines an exception list for specific SteamIDs, entered SteamIDs doesn't get purged. (Default: none)
- ResetDataOnWipe - Resets data on wipe automatically, so it doesn't happen that someone gets purged after wipe. (Default: true)
Default Config
{ "InactiveDays": 7, "PurgeCheckIntervalSeconds": 3600, "AnnouncePurge": false, "LogToConsole": true, "ExcludedSteamIDs": [], "ResetDataOnWipe": true }
Console Commands
purge.run [Triggers the purging immediately with its configurations]
purge.player PLAYERNAME/STEAMID [Purges a specific player immediately (ignoring configuration) - Example usage: purge.player xNullPointer95]
purge.retroactively - Scans the server database and detects all SteamIDs that have ever connected to your server, adds them to the xAutoPurge data file (if not already there), and sets their lastSeen value to the current date and time, so on next purge schedule they are deleted (depending on config 'InactiveDays').

