WhitelistCleanup - Automatic Whitelist Maintenance Keep your Minecraft server whitelist tidy and up-to-date — automatically!
WhitelistCleanup is a lightweight utility plugin for Spigot and Paper servers that scans your whitelist on startup or command and removes players who haven't logged in within a configurable number of days. It also keeps a safe backup of all removed entries so you can restore them if needed.
✅ Features
Automatic cleanup on server startup
Manual cleanup via /whitelist cleanup command
Removes players inactive for X days (configurable)
Optionally remove players who have never joined
Saves removed players to removals.json in the same format as whitelist.json
Exclude specific players by username or UUID
️ Exclude players based on Vault permission groups (e.g., Admins, Moderators)
️ Optional broadcast to ops with summary after cleanup
Highly configurable via config.yml
Installation
Download the plugin JAR and drop it into your /plugins folder.