[ZH] ASR - 自动服务器重启插件 汉化版
[EN] ASR - Automatic Server Restarter (Chinese Localization)
插件简介 (Plugin Description)
[ZH]
这是一个用于 PocketMine-MP 的自动服务器重启插件。
它允许你在特定的时间间隔自动重启服务器,以确保服务器性能稳定或执行周期性的清理任务。此版本为完整汉化版,优化了命令反馈和管理员日志的中文显示。
[EN]
This is an automatic server restart plugin for PocketMine-MP.
It allows your server to restart automatically at a given interval to maintain performance or run periodic cleanup tasks. This version is a Full Chinese Localization, optimizing command feedback and admin logs for Chinese users.
主要特性 (Key Features)
[ZH] 定时重启: 支持自定义分钟数进行倒计时重启。
[ZH] MySQL 日志记录: 支持将重启记录写入数据库(原版功能)。
[ZH] 中文适配: 所有报错、提示及日志均已汉化,无乱码困扰。
[EN] Scheduled Restart: Set a countdown timer in minutes to restart the server.
[EN] MySQL Logging: Supports logging restart records to a database (Original feature).
[EN] Chinese Support: All error messages, tips, and logs are translated into Chinese.
命令 (Command) 权限 (Permission) 说明 (Description)
/asr <分钟> OP [ZH] 设置服务器多少分钟后重启。[EN] Set the server to restart in X minutes.
/restart OP [ZH] 查看距离下次重启还剩多少时间。[EN] Check how many minutes until the next restart.
注意事项 (Important Notes)
[ZH]
关于数值限制: 插件限制了 /asr 命令最大只能设置为 60 分钟。这是为了防止误操作导致服务器频繁重启。如需设置更长的时间,请直接编辑 config.yml 文件。
编码: 请确保你的服务器终端或面板支持 UTF-8 编码,以获得最佳的中文显示效果。
[EN]
Value Limit: The /asr command is limited to a maximum of 60 minutes via command to prevent accidental misconfiguration. To set a longer duration, please edit the config.yml file directly.
Encoding: Please ensure your server terminal or panel supports UTF-8 encoding for the best display effect.
致谢 (Credits)
Original Author: iJoshuaHD
Project Link: iJoshuaHD/ASR
Localization: Cz315
下载 (Download)
[ZH] 请在右侧的 栏目下载 .phar 文件,或直接克隆本仓库。
[EN] Please download the .phar file from the section on the right, or clone this repository directly.