
世界存档优化器(自动异步保存)
世界存档优化器,可以自动保存您的服务器世界,采用异步保存。World Archive Optimizer, can automatically save your server world using asynchronous saving. Bukkit 1.21
WorldSaveOptimizer
概述Overview
专为bukkit 1.21+服务器设计的插件,优化世界保存功能。 A plugin designed specifically for Bukkit 1.21 servers, optimizing world-saving functionality.
功能特性Features
- 异步自动保存:每5分钟自动保存,减少卡顿
- 可禁用原版自动保存机制
- 手动保存支持
- 灵活配置系统
- 完整命令和权限系统
- Asynchronous auto-save: automatically saves every 5 minutes to reduce lag
- Option to disable the original auto-save mechanism
- Manual save supported
- Flexible configuration system
- Complete command and permission system
系统要求System Requirements
- bukkit 1.21+
- Java 21+
- 建议2GB RAM Recommended 2GB RAM
安装方法Installation method
- 将WorldSaveOptimizer.jar放入plugins目录-Place WorldSaveOptimizer.jar into the plugins directory
- 重启服务器或使用/reload命令-Restart the server or use the /reload command
配置文件Configuration File
首次启动后在plugins/WorldSaveOptimizer/config.yml生成配置The configuration will be generated in plugins/WorldSaveOptimizer/config.yml after the first launch:
yaml save-interval-minutes: 5 save-message: "&aWorld has been auto-saved" disable-default-autosave: true log-saves: true save-on-stop: true
可能出现配置文件不生成、内容空白等错误,这时,你只需到
https://github.com/ABC114514114514114514/WorldSaveOptimizer/blob/main/%E7%A4%BA%E4%BE%8B%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6.yml
_ 复制初始配置内容到config.yml
Errors such as the configuration file not being generated or appearing empty may occur. In this case, you just need to go to
https://github.com/ABC114514114514114514/WorldSaveOptimizer/blob/main/ExampleConfig.yml
and copy the initial configuration content into config.yml
命令使用
需要worldsaveoptimizer.admin权限(OP默认拥有)
| 命令 | 说明 |
|---|---|
| /s reload | 重载插件配置 |
| /s save | 手动保存世界 |
| /s status | 查看保存状态 |
| /s info | 查看插件信息 |
Command Usage
Requires worldsaveoptimizer.admin permission (OPs have it by default)
| Command | Description |
|---|---|
| /s reload | Reload the plugin configuration |
| /s save | Manually save the world |
| /s status | Check the save status |
| /s info | View plugin information |
注意:使用前请备份世界数据。 Note: Please back up your world data before use.
