摘要
专注于创造模式世界的基础世界管理插件
本插件专为希望以简单方式创建允许进行创造模式建造的服务器管理员而设计。它可用于创建任何类型的世界,同时也兼容 Multiverse 等其他世界管理插件。该插件旨在与 McMyAdmin 当前的限制条件兼容,无需为每个世界单独设置权限。建议同时使用 MultiInv 来分离创造模式世界的物品栏。
功能
更新日志
- 版本 0.5
- 代码完全重组
- 新的配置文件格式
- 实现了 /cw set mobs 命令
- 暂时破坏了 /cw world list 命令(目前)
- 添加了玩家监听器,以防止在非创造模式世界中保留创造模式状态
- 版本 0.4
- 初始功能发布
- 支持 /creative、/survival、/cw world create、/cw world remove、/cw world load、/cwtp 和 /cw set mode 命令
权限
- cw.world.create
通过 /cw world create 创建新世界
- cw.world.remove
通过 /cw world remove 卸载世界
- cw.world.load
通过 /cw world load 加载已有世界
- cw.world.list
通过 /cw world list 列出当前已加载的世界(目前尚未实现)
- cw.creative
在创造模式世界中使用 /creative 和 /survival 命令
- cw.build
在创造模式世界中以普通模式建造(尚未实现)
- cw.tp
在世界之间直接传送
命令
- /cw world create <world name> <environment> <seed>
用于创建新世界。环境和种子是可选的。
- /cw world load <世界名称> <环境类型>
用于加载现有世界。环境类型是可选的。
如果包含,环境类型必须是 normal(普通)、nether(下界)或 skylands(天空岛)。
- /cw world remove <世界名称>
用于卸载一个世界
- /cw set creative <世界名称>
将当前世界设置为创造模式,你也可以选择指定另一个世界
- /cw set mobs [ALL|FRIENDLY|HOSTILE|NONE] <世界名称>
设置当前世界的生物生成模式,你也可以选择指定另一个世界
- /creative
进入创造模式(如果你拥有相应权限)
- /survival
进入生存模式(如果你拥有相应权限)
- /cwtp <世界名称>
传送至指定世界的出生点。
未来计划
除了实现上述列出的部分剩余命令外,我还需要修复配置系统。不知为何,我最终得到了一个配置文件和一个完全独立的内存中存储的配置。实际上我只需要那个文件即可。
我还计划让本模组与其他世界管理模组配合使用时更加流畅。目前你可以通过配置文件手动禁用世界加载,但这对于该目的来说过于复杂。
安装 / 升级
- 下载最新的 jar 文件
- 重新加载你的服务器
- 如果你未使用其他世界管理模组,或者正在替换现有的世界管理模组,请使用 "/cw world load <世界名称>" 命令加载所有世界
- 使用 "/cw set creative <世界名称>" 将世界设置为创造模式(如果省略 <世界名称>,则会影响当前世界。
源代码
Summary
Basic world manager with a focus on creative worlds
This plugin is designed for server administrators that want a simple way to create worlds that allow creative building. It can be used for creating any kind of world, but it is also compatible with other world managers such as multiverse. The plugin is designed to be compatible with the current limitations of McMyAdmin, there is no need for per-world permissions. Recommend that you also use MultiInv to separate creative world inventories.
Features
- Basic world management
- Creative world designation
Changelog
- Version 0.5
- Complete code reorganization
- New config file format
- Implemented /cw set mobs
- Broke /cw world list (for now)
- Added player listener to prevent retention of creative mode in non-creative worlds
- Version 0.4
- Initial functional release
- Supports /creative, /survival, /cw world create, /cw world remove, /cw world load, /cwtp, and /cw set mode
Permissions
- cw.world.create
create new worlds with /cw world create
- cw.world.remove
unload worlds with /cw world remove
- cw.world.load
load existing worlds with /cw world load
- cw.world.list
list currently loaded worlds with /cw world list (not currently implemented)
- cw.creative
use /creative and /survival on creative worlds
- cw.build
build in normal mode on creative worlds (not yet implemented)
- cw.tp
teleport directly between worlds
Commands
- /cw world create <world name> <environment> <seed>
Used to create a new world. Environment and seed are optional.
- /cw world load <world name> <environment>
Used to load an existing world. Environment is optional.
If included, environment MUST be normal, nether, or skylands.
- /cw world remove <world name>
Used to unload a world
- /cw set creative <world name>
Set the current world to creative mode, you can optionally target another world
- /cw set mobs [ALL|FRIENDLY|HOSTILE|NONE] <world name
Set the mob spawning mode for your current world, you can optionally target another world
- /creative
Enter creative mode (if you have permissions)
- /survival
Enter survival mode (if you have permissions)
- /cwtp <world name>
Teleport to the spawn point of the specified world.
Future Plans
In addition to implementing some of the remaining commands listed above, I need to fix the config system again. Somehow I managed to end up with a config file and a totally separate config stored in memory. I really only need the file.
I also plan on making it a bit smoother to use this in conjunction with another world manager. You can disable world loading now manually in the config, but it's overcomplex for that purpose.
Installation / Upgrade
- Download the latest jar file
- Reload your server
- If you are not using another world manager, or replacing a world manager, load all of your worlds with the "/cw world load <worldname>" command
- Set worlds as creative with "/cw set creative <worldname>" (if <worldname> is excluded, it will affect current world.
Source
评论 0
登录后参与评分
还没有评论,来抢沙发吧