[PR #99] [MERGED] Added the McLogCleaner-Plugin #110

Closed
opened 2026-05-07 00:18:09 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/plugins/pull/99
Author: @JuggleGaming
Created: 2/9/2026
Status: Merged
Merged: 2/13/2026
Merged by: @Boy132

Base: mainHead: mclogcleaner


📝 Commits (10+)

  • 452d118 Added the McLogCleaner-Plugin
  • e664ed0 Fixed some things coderrabbitai wanted me to change :D
  • 5b82b62 Fixed some things coderrabbitai wanted me to change :D
  • 02820d0 Fixed some things coderrabbitai wanted me to change :D
  • 6d2fccb Trying to fix things coderabitai want me to do
  • 6ccf949 Trying to fix things coderabitai want me to do
  • e605074 Trying to fix things coderabitai want me to do
  • 1d9c20b Fixed typos
  • c191534 Fixed an issue seen by coderabbitai
  • 4d4bafe Fixed an issue seen by coderabbitai

📊 Changes

6 files changed (+227 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)
mclogcleaner/README.md (+15 -0)
mclogcleaner/plugin.json (+15 -0)
mclogcleaner/src/Filament/Components/Actions/McLogCleanAction.php (+151 -0)
mclogcleaner/src/McLogCleanerPlugin.php (+24 -0)
mclogcleaner/src/Providers/McLogCleanerPluginProvider.php (+21 -0)

📄 Description

McLogCleaner

McLogCleaner automatically deletes all .log.gz files from the server’s logs folder.

Note: latest.yml will always remain intact and is never deleted.

Usage

To use this plugin, add mclogcleaner as a feature to the egg you want to run it with.

Log Deletion Options

When you click Delete logs, a dropdown menu appears where you can choose the minimum age (in days) of log files to delete:

  • Logs older than 7 days
  • Logs older than 30 days
  • All logs (regardless of age)
  • A custom age in days

Summary by CodeRabbit

  • New Features

    • Added McLogCleaner plugin to simplify Minecraft server log cleanup.
    • Supports modes: older than 7 days, older than 30 days, all logs, or a custom duration.
    • Adds a header action to initiate cleanup with interactive options, progress notifications, and preserves latest.log.
  • Documentation

    • Added McLogCleaner documentation and setup/configuration guide.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/plugins/pull/99 **Author:** [@JuggleGaming](https://github.com/JuggleGaming) **Created:** 2/9/2026 **Status:** ✅ Merged **Merged:** 2/13/2026 **Merged by:** [@Boy132](https://github.com/Boy132) **Base:** `main` ← **Head:** `mclogcleaner` --- ### 📝 Commits (10+) - [`452d118`](https://github.com/pelican-dev/plugins/commit/452d1186ade12f303dabf794d080c276d4754cc0) Added the McLogCleaner-Plugin - [`e664ed0`](https://github.com/pelican-dev/plugins/commit/e664ed00dca401756f3dceaaa073cc73294b4f5e) Fixed some things coderrabbitai wanted me to change :D - [`5b82b62`](https://github.com/pelican-dev/plugins/commit/5b82b62fdab703477c0efb53678beb02738580d3) Fixed some things coderrabbitai wanted me to change :D - [`02820d0`](https://github.com/pelican-dev/plugins/commit/02820d03f0d47c94d79ed8403cf4a6a1fcc12466) Fixed some things coderrabbitai wanted me to change :D - [`6d2fccb`](https://github.com/pelican-dev/plugins/commit/6d2fccb5f2403c2db2fbbd81a771bbc306ee8a43) Trying to fix things coderabitai want me to do - [`6ccf949`](https://github.com/pelican-dev/plugins/commit/6ccf949eb32f227f2fc65ad960f65fea73852db5) Trying to fix things coderabitai want me to do - [`e605074`](https://github.com/pelican-dev/plugins/commit/e605074023d0394aab1453f6b9c75cb4f3a04cdc) Trying to fix things coderabitai want me to do - [`1d9c20b`](https://github.com/pelican-dev/plugins/commit/1d9c20b3f04681258c067ffacc07a95a88b23997) Fixed typos - [`c191534`](https://github.com/pelican-dev/plugins/commit/c1915348b1089495b36669cc720e4704d5f33071) Fixed an issue seen by coderabbitai - [`4d4bafe`](https://github.com/pelican-dev/plugins/commit/4d4bafe02e04c8258a036f0d5e8b676142fd9925) Fixed an issue seen by coderabbitai ### 📊 Changes **6 files changed** (+227 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) ➕ `mclogcleaner/README.md` (+15 -0) ➕ `mclogcleaner/plugin.json` (+15 -0) ➕ `mclogcleaner/src/Filament/Components/Actions/McLogCleanAction.php` (+151 -0) ➕ `mclogcleaner/src/McLogCleanerPlugin.php` (+24 -0) ➕ `mclogcleaner/src/Providers/McLogCleanerPluginProvider.php` (+21 -0) </details> ### 📄 Description ## McLogCleaner McLogCleaner automatically deletes all `.log.gz` files from the server’s `logs` folder. > **Note:** `latest.yml` will always remain intact and is never deleted. ### Usage To use this plugin, add `mclogcleaner` as a feature to the egg you want to run it with. ### Log Deletion Options When you click **Delete logs**, a dropdown menu appears where you can choose the **minimum age (in days)** of log files to delete: - Logs older than 7 days - Logs older than 30 days - All logs (regardless of age) - A custom age in days <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added McLogCleaner plugin to simplify Minecraft server log cleanup. * Supports modes: older than 7 days, older than 30 days, all logs, or a custom duration. * Adds a header action to initiate cleanup with interactive options, progress notifications, and preserves latest.log. * **Documentation** * Added McLogCleaner documentation and setup/configuration guide. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:18:09 +02:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/plugins#110
No description provided.