COWMODSКаталог модов

LogsRemover

A Minecraft plugin for automatically removing old log files.

Автор: groundbreakingmc2791обновлён 13 нояб. 2024 г.
УправлениеХранениеУтилиты

Описание

LogsRemover CodeFactor

A Minecraft plugin for automatically removing old log files.

Features

  • Automatic Log File Removal Easily deletes old log files based on your specified time threshold.

  • Update Checker Notifies you of available updates, with an option to automatically download and apply them.

Commands

  • /logsremover reload Reloads the plugin configuration. Permission: logsremover.reload

  • /logsremover help Displays a list of available commands.

  • /logsremover removeall Deletes all log files in the specified directory. Note: Requires confirmation with /logsremover confirm and can be used only from console.

  • /logsremover update Downloads and applies the latest available update.

Configuration

You can customize the plugin behavior by editing the config.yml file located in the plugins/LogsRemover folder.

# ██╗░░░░░░█████╗░░██████╗░░██████╗██████╗░███████╗███╗░░░███╗░█████╗░██╗░░░██╗███████╗██████╗░
# ██║░░░░░██╔══██╗██╔════╝░██╔════╝██╔══██╗██╔════╝████╗░████║██╔══██╗██║░░░██║██╔════╝██╔══██╗
# ██║░░░░░██║░░██║██║░░██╗░╚█████╗░██████╔╝█████╗░░██╔████╔██║██║░░██║╚██╗░██╔╝█████╗░░██████╔╝
# ██║░░░░░██║░░██║██║░░╚██╗░╚═══██╗██╔══██╗██╔══╝░░██║╚██╔╝██║██║░░██║░╚████╔╝░██╔══╝░░██╔══██╗
# ███████╗╚█████╔╝╚██████╔╝██████╔╝██║░░██║███████╗██║░╚═╝░██║╚█████╔╝░░╚██╔╝░░███████╗██║░░██║
# ╚══════╝░╚════╝░░╚═════╝░╚═════╝░╚═╝░░╚═╝╚══════╝╚═╝░░░░░╚═╝░╚════╝░░░░╚═╝░░░╚══════╝╚═╝░░╚═╝
#
# Contact dev(discord): groundbreakingmc
# Any suggestions or wanna report any error, use: https://github.com/groundbreakingmc/LogsRemover/issues

# Specify here how old does your log file have to be, to be deleted
# (if you don't write the letter, it will be counted as hours)
# m = month | w = week | d = day | h = hours
# Examples:
# If you want to delete files older than 1 month and 2 weeks, specify -> 1m 2w
# If you want to delete files older than 1 week and 3 days, specify -> 1w 3d
# If you want to delete files older than 1 month, 1 week, 3 days and 2 hours, specify -> 1m 1w 3d 2h
delete-if-older-then: 1w

# Specify here your logs directory
logs-directory: 'logs'

# Updates checker
updates:
  # Does plugin need to check for updates?
  check: true
  # Does plugin need to download new version if possible?
  auto-update: false

# don't touch it
config-version: 1.0

no-permission: "§cSorry, but you don't have permission to execute this command."```

Последние версии

Все версии →
release

LogsRemover 1.0

1.0
13 нояб. 2024 г.279Minecraft: 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2, 26.3paper, purpur
Скачать
Что нового
Release