ChunkLoad
一个 Bukkit 插件,用于防止选定的区块卸载
灵感来源于 Piedo_bear 的 ForeverALoad(该插件在 Minecraft 1.2 后已停止维护)
需要 WorldEdit
用法:
/chunkload add <name> - 将当前选择区域的区块添加为名为 <name> 的区域并防止其卸载
/chunkload remove <name> - 删除该区域,使其可以再次被卸载
/chunkload list [page] - 列出当前定义的区域
/chunkload select <name> - 将你的 WorldEdit 选择设置为名为 <name> 的区域中的区块
/chunkload configure <name> - 显示该区域及其配置
/chunkload configure <name> <option> - 显示 <option> 的值
/chunkload configure <name> <option> true|false|default - 开启或关闭名为 <name> 的区域中某个选项的设置
/chunkload configure <name> -<option> - (选项前带减号)将 <option> 设置为其默认值(等同于 /chunkload configure <name> <option> default)
/chunkload options - 列出所有可用选项:
- inactive:非活跃区域的区块可以被卸载;这可用于临时禁用某个区域
- load-on-start:在服务器启动时加载此区域的区块到内存中
/chunkload reload - 重新读取配置文件 - TODO:此功能目前无法正常工作
/cl 是 /chunkload 的别名
除 reload 外的所有子命令都可以缩写为首字母
特殊区域:
- __global__:包含完整世界的区域
要使用 ChunkLoad,你需要拥有 chunkload.usage 权限,或者(如果在配置中启用)你是服务器的管理员
配置:
allow-ops - 允许即使没有所需权限的管理员也能使用 ChunkLoad;默认值:true
worlds.<worldname>.<regionname> - 保持加载的区块矩形范围,手动编辑需自行承担风险
待办事项:
- 查看 ForeverALoad 的功能并实现它们
本插件采用 GPLv2 许可证授权,或(根据你的选择)任何后续版本
源代码可在我的 GitHub 上找到:
ChunkLoad
A Bukkit plugin to prevent selected chunks from unloading
Inspired by ForeverALoad by Piedo_bear which is discontinued as of Minecraft 1.2
Requires WorldEdit
Usage:
/chunkload add <name> - adds the chunks of the current selection as region <name> and prevents them from unloading
/chunkload remove <name> - deletes the region, so it may be unloaded again
/chunkload list [page] - lists the currently defined regions
/chunkload select <name> - sets your WorldEdit selection to the chunks of region <name>
/chunkload configure <name> - shows the region and its configuration
/chunkload configure <name> <option> - shows the value of <option>
/chunkload configure <name> <option> true|false|default - turns an option on or off for region <name>
/chunkload configure <name> -<option> - (minus sign in front of the option) sets <option> to its default value (same as /chunkload configure <name> <option> default)
/chunkload options - lists all available options:
- inactive: chunks of inactive regions may be unloaded; this can be used to temporarily disable a region
- load-on-start: load the chunks of this region into memory at server startup
/chunkload reload - rereads the configuration file - TODO: this doesn't work
/cl is an alias to /chunkload
all subcommands except reload can be abbreviated to their first letter
Special Regions:
- __global__: a region containing a complete world
To use ChunkLoad you need either the chunkload.usage permission or (if enabled in the configuration) be an operator on the server
Configuration:
allow-ops - allow operators to use ChunkLoad even if they don't have the required permissions; default: true
worlds.<worldname>.<regionname> - rectangles of chunks to keep loaded, manual editing at your own risk
Todo:
- have a look at the ForeverALoad features and implement them
This plugin is licensed under GPLv2 or (at your option) any later version
The source can be found on my github:
评论 0
登录后参与评分
还没有评论,来抢沙发吧