LogsRemover
作者:rebot | 分类:模组
Minecraft 版本: 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
平台: paper purpur
标签: management storage utility
LogsRemover 
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 confirmand 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."```请登录后举报
暂无评论,抢个沙发吧~