PortalLink
最新版本: 1.0
发布时间: 2013年2月11日
重要提示:由于 1.4.7-R1.0 中存在一个错误,此插件需要 1.4.7-R1.1 dev build #2630。
PortalLink 允许自定义世界(即未在 server.properties 中声明的世界)中的下界传送门在它们各自对应的 "_nether" 世界之间进行传送,从而让玩家使用多个世界变得更加容易。您还可以在某些特定世界之间添加自定义链接。这两个世界不必一个是下界而一个是普通世界——您可以链接两个下界世界,或者两个普通世界——并且在这种情况下方块比例会被正确计算!您还可以为特定世界禁用下界——例如,如果您有一个创造模式世界,可以阻止玩家在其中使用下界传送门。
功能
- 修复了多世界环境下下界传送门的链接问题
- 允许在世界之间声明自定义链接,无论是下界与普通世界之间,还是相同类型的世界之间都可以!
- 所有在自定义链接中引用的世界都会在启动时加载/创建,以减少玩家的延迟
- 在使用
/pl link 命令时引用的所有世界都会立即加载/创建
- 允许用户定义的世界没有下界
- 包含用于创建、删除和重新加载链接的游戏内命令
源代码 (GitHub)
开发构建版本 (Jenkins)
此项目的开发构建版本可以通过提供的持续集成服务器获取。这些构建版本未经 BukkitDev 工作人员批准。使用风险自负。
命令
/pl link [-b] [-WhichNether] <World> <OtherWorld> - 定义一个新的 PortalLink。"b" 设置链接双向工作。WhichNether 默认为 0 - 如果 World 是下界世界则加 1,如果 OtherWorld 是下界世界则加 2(如果两者都是下界世界则加 3)。如果不这样做,可能会导致问题。您可以使用 "\" 来转义空格。
/pl unlink <World> <OtherWorld> - 删除一个 PortalLink。您可以使用 "\" 来转义空格。如果 OtherWorld 为空,则删除该 World 的所有链接。被删除的链接会在 links.properties 中被注释掉。
/pl reload - 从 links.properties 重新加载 PortalLinks。
(添加链接时会自动保存到 links.properties)。
权限
portallink.* - 获得所有权限
portallink.link (默认为 op) - 允许用户使用 /pl link 命令
portallink.unlink (默认为 op) - 允许用户使用 /pl unlink 命令
portallink.reload (默认为 op) - 允许用户使用 /pl reload 命令
portallink.notify (默认为 op) - 允许用户在有新版本或有人执行重载时收到通知
配置
PortalLink 使用两个文件进行配置。第一个是 links.properties,用于定义每个世界的下界传送门将玩家传送到哪里(如果有),第二个是 config.yml,包含一般的插件设置。
常规设置 (config.yml)
deny-entity-portal (默认为 true) - 允许您禁用实体通过传送门。目前推荐这样做,因为 Bukkit 当前不允许插件区分实体的下界传送门和末地传送门,否则实体可能会去往错误的维度。
check-updates (默认为 true) - PortalLink 是否应定期检查更新版本。
为特定世界禁用的下界
确保在 server.properties 中将 allow-nether 设置为 true,然后对于您要禁用下界的每个世界,在 PortalLink 的 links.properties 文件中添加一个指向空值的链接(some-world=)。
PortalLink
Latest Version: 1.0
Released: 11/2/13
IMPORTANT: Due to a bug in 1.4.7-R1.0, this plugin requires 1.4.7-R1.1 dev build #2630.
PortalLink allows Nether portals in custom worlds (i.e. not declared in server.properties) to takes you between them and their respective "_nether" worlds, making multiple worlds even easier for players to use. You can also add custom links between certain worlds. These two worlds do not have to be a Nether and a normal world - you could link two Nether worlds, or two normal worlds - and the block ratio is correctly calculated for this situation! You can also disable the nether for specific worlds - e.g. if you have a creative world, you can stop players using Nether portals in it.
Features
- Fixes nether portal linking for multiple worlds
- Allows custom links to be declared between worlds, be it between a Nether and a normal world or the same type!
- All worlds referenced in custom links are loaded/created at startup to reduce the delay for players
- All worlds referenced when using the
/pl link command will be loaded/created straight away
- Allows user-defined worlds to have no Nether
- Includes in-game commands for creating, removing and reloading links
Source Code (GitHub)
Development Builds (Jenkins)
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Commands
/pl link [-b] [-WhichNether] <World> <OtherWorld> - Defines a new PortalLink. "b" sets the link to work both ways. WhichNether is 0 by default - add 1 if World is a Nether world and 2 if OtherWorld is a Nether world (or 3 for both). If you do not, things may BREAK. You can use "\" to escape spaces.
/pl unlink <World> <OtherWorld> - Removes a PortalLink. You can use "\" to escape spaces. If OtherWorld is blank, all links for World will be removed. Removed links are commented out in links.properties.
/pl reload - Reloads PortalLinks from links.properties.
(When adding a link it is automatically saved to links.properties).
Permissions
portallink.* - Gain all permissions
portallink.link (defaults to op) - Allows a user to use the /pl link command
portallink.unlink (defaults to op) - Allows a user to use the /pl unlink command
portallink.reload (defaults to op) - Allows a user to use the /pl reload command
portallink.notify (defaults to op) - Allows a user to be notified on new versions and whenever someone performs a reload
Configuration
PortalLink uses two files for configuration. The first is links.properties, and is used to define where each world's nether portals should take you (if anywhere), and the second is config.yml, which contains general plugin settings.
General Settings (config.yml)
deny-entity-portal (defaults to true) - Allows you to disable entities travelling through portals. This is currently recommended, as Bukkit does not currently allow a plugin to distinguish between Nether and End portals for entities, so otherwise entities could go to the wrong worlds.
check-updates (defaults to true) - Whether PortalLink should periodically check for updated versions.
Disabling The Nether For Specific Worlds
Make sure allow-nether is set to true in server.properties, and then for every world that you want to have the Nether disabled for, add a link to nothing (some-world=) in PortalLink's links.properties file.
评论 0
登录后参与评分
还没有评论,来抢沙发吧