Speedgot
LogCleaner - Automatic Minecraft Log File Cleanup
-----
A simple plugin that keeps your logs folder tidy
Download Now
Via external site
Overview
Updates (
--
)
Reviews (
---
)
Version History
Discussion
Added crash-log deletion
New Features
Crash Report Deletion
: Added an option to delete crash reports from the crash-reports directory based on the configured settings.
Configuration option: delete-crash-reports (default: true)
When enabled, crash reports will be cleaned according to the days or keep-logs mode.
Improvements
Extended Configuration Modes
: The plugin now supports two log deletion modes:
days: Deletes log files older than a specified number of days.
amount: Keeps only the most recent keep-logs number of .log.gz files and deletes the rest.
Improved Directory Handling
: The plugin now also cleans logs in the crash-reports directory if configured.
Configuration
New options in config.yml
:
log-cleaning.mode: Choose between "days" or "amount" for the deletion mode.
log-cleaning.days: The number of days after which logs will be deleted (if mode is set to "days").
log-cleaning.keep-logs: The number of .log.gz files to keep (if mode is set to "amount").
log-cleaning.delete-crash-reports: If true, crash reports will also be deleted.
Bug Fixes
Fixed minor issues related to file deletion and improved log messages when files cannot be deleted.
Notes
Compatibility
: This release requires Java 8 or higher and is compatible with Minecraft 1.16+.
Automatic Cleanup
: Cleanup runs every 24 hours by default (the interval can be modified by adjusting the runTaskTimer value in the code).
----------
,
Nov 10, 2024
View on SpigotMC
Resource Information
Author:
----------
Total Downloads:
69
First Release:
Sep 12, 2024
Last Update:
Nov 10, 2024
Category:
---------------
All-Time Rating:
0 ratings
Find more info at discord.gg...
Version
-----
Released:
--------------------
Downloads:
------
Version Rating:
----------------------
--
ratings
Ask Questions / Get Support