FileCleaner
This plugin requires Java 21 or higher.
Tired of filling your server up with log files? Look no further!
FileCleaner automatically deletes specified files on server startup or whenever the "cleannow" command is run (which can be scheduled via your host or another plugin). Both folders and individual files can be scanned.
Files can be filtered by age, count, or size to keep things as tidy as possible!
Commands & Permissions
config.yml
All Versions
+ Add Version- Improved the calculation of the space saved code, fixing rounding not always working properly
- Updated org.json dependency
- Fixed a bug where the config wasn't generating the version number
- See previous update logs for the major 4.0.0 update changes
- Updated the minimum Java version to Java 21
- Removed BungeeCord support
- Added bStats metrics
- Assuming Spigot usage is low, the plugin will no longer support Spigot servers in future updates
- Changed the updater notifications to use Modrinth
- Updated the config comments
- Added support for excluding certain file names based on exact matching or regex
- Files deleted and MB saved will be sent to whoever ran the command
The config changes can be found [here](https://github.com/SilverstoneMC/FileCleaner/commit/1963976030b3f14a0ef437cf308d0a6b74bccb06#diff-58cdd3d308ccba6c594e040ff9c065bb11eeb6e30f35ba87694ea45d5ae6096c) and [here](https://github.com/SilverstoneMC/FileCleaner/commit/90887b60cd4fe771ec54b10f2a38373de340a669#diff-58cdd3d308ccba6c594e040ff9c065bb11eeb6e30f35ba87694ea45d5ae6096c)
- Added the ability to delete specific files by age and/or size
- Changed the plugin reload message to mention the plugin's platform
- Updated the Velocity API to 3.4.0
The config changes can be found [here](https://github.com/SilverstoneMC/FileCleaner/commit/33f205fa25f0ec7840746f6aa8905a2b43f06d27#diff-58cdd3d308ccba6c594e040ff9c065bb11eeb6e30f35ba87694ea45d5ae6096c) and [here](https://github.com/SilverstoneMC/FileCleaner/commit/f7deab94e7875b36caae565412a0e13d54bd9dd0#diff-58cdd3d308ccba6c594e040ff9c065bb11eeb6e30f35ba87694ea45d5ae6096c)
- Updated the plugin's Discord invite

