nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)

LogCleaner - Simplify Minecraft Log Management

LogCleaner is a powerful yet lightweight plugin designed to help Minecraft server owners automate the cleanup of old log files. It offers flexible configuration options, allowing you to either remove logs based on their age or limit the number of logs stored. With LogCleaner, managing your server’s logs folder becomes effortless, preventing unnecessary clutter and optimizing server performance.

✨ Key Features:

  • Automatic log cleanup: Automatically deletes old .log.gz files while keeping latest.log safe.
  • Customizable cleanup modes:
    • By days: Set a number of days after which older logs are deleted.
    • By amount: Retain a specified number of recent .log.gz files.
  • Wide compatibility: Works with Minecraft versions from 1.8 to the latest version.
  • Easy setup: Quickly configure through the config.yml file.

⚙️ Configuration Options:

In the config.yml, you can adjust how LogCleaner manages your server's logs:

log-cleaning:
  mode: "days"    # Choose "days" to clean based on age or "amount" to limit the number of logs kept
  days: 3         # Number of days before logs are deleted (used with mode "days")
  keep-logs: 3    # Number of logs to retain (used with mode "amount")

📦 How to Install:

  1. Place the .jar file in your server’s plugins folder.
  2. Start your server to generate the configuration file.
  3. Modify the config.yml according to your preferences.
  4. Restart the server to apply the changes.

🔄 Automatic Cleanup:

The plugin automatically runs every 24 hours, ensuring that your logs are managed without requiring manual input.

🌍 Compatible Platforms:

  • Minecraft versions 1.8 and higher
  • Spigot, Paper, and any other forks

LogCleaner takes the hassle out of log management. It ensures that only the necessary logs are kept, helping you maintain a clean and organized server environment with minimal effort.


Links:

External resources


Project members

appztr4ckt

Member


Technical information

License
MIT
Project ID