ServerLogSaver
描述
简单来说,此插件会将 server.log 文件备份到指定目录,然后清空现有的 server.log 文件。这有助于降低服务器主机的内存占用,并有效减少玩家的卡顿现象。
其中的大部分功能均可配置,例如备份位置、备份间隔时间、按大小或时间进行轮换的选择等等!
下载 Jar 包
- ServerLogSaver v2.1.1
- ServerLogSaver v2.1.0
- ServerLogSaver v2.0.2
- ServerLogSaver v2.0.1
- ServerLogSaver v2.0
下载源代码
命令
- /sls copy
- /sls zip
当前特性
- 用户可自定义备份间隔时间(默认时间为 1 天,即 1440 分钟)
- 备份文件带有时间戳,便于使用
- 压缩日志文件
- 检查零字节内容
- 控制台通知(可选)
- 可选择按时间/大小/重启进行轮换(时间单位为分钟/大小单位为 KB/仅在服务启动时备份)
- 用户可自定义备份存储位置
- 用户可自定义备份文件名(前缀和时间设置)
- 提供游戏内命令以按需执行备份
- 可选择在清理前保留的日志数量
待办事项
- 将使用的命令记录到单独的文件中(可能会为此制作单独的插件)
- 需要更多创意,欢迎提供反馈 :D
更新日志
版本 2.1.1
- 更新至 1.2.5 R4.0
版本 2.0.2
- 不再在服务器启动时立即进行基于“时间”轮换的备份
版本 2.0.1
- 添加了“重启”轮换选项
版本 2.0
- 完全重写代码
- 添加了游戏内命令
- 更新了最新配置文件
ServerLogSaver
Description
Simply put, this will backup the server.log file to a directory, and then clear the existing server.log file. This is to reduce RAM usage of the server host and effectively reduce lag for server players.
Most of the functions in this are configurable, such as backup location, time delay between backups, choice of Size and Time rotations and more!
Download the Jar
- ServerLogSaver v2.1.1
- ServerLogSaver v2.1.0
- ServerLogSaver v2.0.2
- ServerLogSaver v2.0.1
- ServerLogSaver v2.0
Download the Source
Old Source ServerLogSaver src v0.1b
Commands
- /sls copy
- /sls zip
Current Features
- User defined time for backup intervals (default time is 1 day, 1440 minutes)
- Backups are time stamped for ease of use
- Compress the logs
- Check for 0 byte content
- Console notice (optional)
- Choice of time/size/restart rotations (Time in minutes/Size in KB/Restart only backs up on server start)
- User defined backup storage location
- User defined backup file names (prefix and time setup)
- In-game command to do backups on will
- Choose the number of logs to keep before purging
To-Do
- Record commands used in a separate file (Probably make a separate plugin for this)
- need more ideas, feed back would help :D
Change-Log
Version 2.1.1
- Updated to 1.2.5 R4.0
Version 2.0.2
- No longer backs up as soon as the server starts with 'time' rotation
Version 2.0.1
- Added 'restart' rotation choice
Version 2.0
- Complete re-code
- Added in-game commands
- Updated to latest config
下载 ServerLogSaver
下载 ServerLogSaver
下载 ServerLogSaver
下载 ServerLogSaver
下载 ServerLogSaver
下载 ServerLogSaver
下载 ServerLogSaver
下载 ServerLogSaver
下载 ServerLogSaver
下载 ServerLogSaver
已更新至 1.2.5 R4.0 一些简单的改进
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
ExyliaPlugins 的库。
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
插件
创建用户友好的菜单以前往不同的世界
插件
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧