
描述:
我很惊讶于找到一个能够每隔几分钟自动保存世界和玩家数据的简单插件竟然如此困难。
于是我自己编写了这个插件,并像往常一样决定分享出来。
“那么,这个插件是否像我在控制台或游戏中手动执行的那样,简单地强制执行 save-all 命令?这样就不需要我或其他管理员随机手动操作了?”
它正是如此,简洁明了。
它会按照设定的间隔时间运行 save-all 命令,保存所有世界和玩家数据。
你可以将其设置为静默模式、仅记录到控制台,或者使用可配置的消息向整个服务器广播通知。
升级到 0.2 版本
间隔时间已从秒更新为分钟,请务必相应地更新你的 config.yml 文件!
安装方法:
1. 下载 .jar 文件
- 将 .jar 文件放入你的 plugins 目录
3. 重启服务器
配置:
• interval - 自动保存玩家和世界的间隔时间(单位为分钟)。
• SilentMode - 启用静默模式。(不发送广播/控制台日志)
• ConsoleLogging - 每次数据自动保存时向控制台广播一条消息。
• BroadcastEachWorld - 在保存每个世界时广播确认信息。
• ServerBroadcast - 每次数据自动保存时向全服广播一条消息。
• AdminOnlyBroadcast - 仅向拥有 autosave.broadcast 权限的玩家广播消息。
• AutoSaveMessage - 自动保存时广播的消息内容。
命令:
• /Asave - 打开菜单
• /Asave on - 启动自动保存计时器
• /Asave off - 停止自动保存计时器
• /Asave save - 强制进行一次自动保存
• /Asave status - 检查自动保存状态
• /Asave reload - 重新加载自动保存配置
权限:
Autosave.admin - 切换自动保存功能
Autosave.reload - 重新加载配置
Autosave.broadcast - 只有拥有此权限的用户才能看到广播(AdminOnlyBroadcast)
支持!
PayPal / DogeCoin
DogeCoin: D5ZNpX1ejVoSwdupoanZmm3STpRcpfnnft
感谢您的支持! :D
更新日志:
0.2.3
- 更新:适配 Spigot API 1.10.2
0.2.2
- 新增:AdminOnlyBroadcast
- 新增:可切换控制台日志记录的选项
- 更新:重写保存流程
0.2.1
- 修复:当 serverbroadcast = false 时,控制台颜色显示不正确的问题
0.2
- 新增/修复:重新加载配置
- 更新:config.yml
- 更新:间隔时间 现在单位为分钟(从秒更新而来)


Description:
I was surprised at the trouble I had finding a simple plugin with which to automatically save world & player data every few minutes.
So I threw this together and as usual thought I'd go ahead and share it.
"So does this do a simple forced save-all like I would do in console? Or in game? Instead of me or another op having to do it randomly?"
It does exactly that, nice and simple.
It runs the save-all command at a specified interval, saving all world and player data..
You can set it up to do so silently, to only log to console, or to inform the whole server with a configurable message.
Upgrading to 0.2
Interval has been updated from Seconds to Minutes, be sure to update your config.yml accordingly!
Installation:
1. Download the .jar
2. Place the .jar in your plugins directory
3. Restart the server
Configuration:
• interval - Time (IN MINUTES) between Automatically saving player & world data.
• SilentMode - Operate in SilentMode. (No Broadcasts/Console logs)
• ConsoleLogging - Broadcast a message to the console whenever data is autosaved.
• BroadcastEachWorld - Broadcast a confirmation of each world as it is saved.
• ServerBroadcast - Broadcast a message to the server whenever data is autosaved.
• AdminOnlyBroadcast - Broadcast a message only to those with autosave.broadcast permission.
• AutoSaveMessage - Message to broadcast on AutoSave.
Commands:
• /Asave - Menu
• /Asave on - Start AutoSave timer
• /Asave off - Stop AutoSave timer
• /Asave save - Force an AutoSave
• /Asave status - Check status of AutoSave
• /Asave reload - Reload AutoSave config
Permissions:
Autosave.admin - Toggle Autosaving
Autosave.reload - Reload config
Autosave.broadcast - Only users with this permission will see the broadcast (AdminOnlyBroadcast)
Support!
PayPal / DogeCoin
DogeCoin: D5ZNpX1ejVoSwdupoanZmm3STpRcpfnnft
Thankyou for your support! :D
Change-Log:
0.2.3
- UPDATE: for Spigot API 1.10.2
0.2.2
- ADDED: AdminOnlyBroadcast
- ADDED: Option to toggle console logging
- UPDATE: Save procedure rewrite
0.2.1
- Fixed: Console colours not displaying correctly when serverbroadcast = false
0.2
- Added/Fixed: Reloading config
- Updated: config.yml
- Updated: interval time NOW IN MINUTES (Updated from SECONDS)

评论 0
登录后参与评分
还没有评论,来抢沙发吧