关于
xWarp 是 MyWarp 插件(由 tkelly 开发)的一个分支,具有新的功能。此插件允许玩家创建传送点并传送到这些传送点。每个传送点具有以下特定属性:
- 可见性(私有、公开、全局)
- 带有方向的位置(偏航角和俯仰角)
- 价格
- 编辑者(定义谁只能编辑特定的传送点)
- 所有者
- 创建者
- 冷却时间
- 引导时间
资源
安装
您只需将 xWarp jar 文件放入 plugins/ 目录即可。如果您使用 SQLite(用于导入/导出),还需要将 SQLite 驱动程序(sqlitejdbc-v056.jar)放入 lib/ 目录中。
从 3.0.0 版本开始,还需要 Bukkit Plugin Utilities 库。将其与 SQLite 驱动程序一起放置在 lib/ 目录中。将其重命名为 BukkitPluginUtilities.jar!
- 直到 3.1.5 版本兼容自 1.1.0 以来的所有构建。
- 在 3.1.6 版本中,您必须使用 1.3.0-B7
- 在 3.1.7 版本中,您必须使用 1.3.0(或更高版本)
目录结构应如下所示:
+ Server directory
|
+--- craftbukkit.jar
|
+-+- plugins/
| |
| +--- xWarp.jar
| |
| +--- xWarp/
|
+-+- lib/
|
+--- BukkitPluginUtilities.jar
|
+--- sqlitejdbc-v056.jar
价格
有两种类型的价格。一种是基础价格,支付给用户或无人,可以在权限中设置。还可以定义特定于传送点的价格。这些额外费用将转移给传送点的所有者。目前支持 iConomy 4 和 5 版本、Essentials Economy、BOSEconomy 和 Mineconomy。
可见性
每个传送点都有一个可见性,可以是私有、公开或全局。如果传送点是私有的,只有被邀请的用户或拥有特殊管理员权限的用户才能使用此传送点。如果传送点是公开或全局的,任何人都可以使用该传送点。
全局可见性会优先处理传送点。因此,如果两个玩家拥有同名传送点,并不总是清楚用户指的是哪个传送点。
- 如果用户在命令中定义了所有者,则识别该传送点,无需进行特殊操作。
- 如果用户未定义所有者,可能不清楚应选择哪个传送点。
现在在第二种情况下,有以下几种可能性,将按照以下顺序进行检查:
- 如果只有一个传送点,则选择该传送点。
- 如果其中有一个全局传送点——同一时间只能有一个全局传送点——则选择全局的那个。
- 如果用户拥有这些传送点之一,则选择用户拥有的那个传送点。
- 在所有其他情况下,它将返回不存在与此名称相同的全局传送点。
另见:关于可见性的 Wiki
告示牌传送点
创建告示牌传送点非常简单。有以下布局:MyWarp、单行和 xWarp。
- 在“MyWarp”中,您的告示牌有两行。第一行仅显示“MyWarp”,第二行显示传送点的名称。此类型的告示牌不允许定义所有者。
- “单行”布局只需要一行内容为“Warp: <name>”。如果在一个告示牌上有多行采用此布局,则无法正常工作。冒号是可选的,W 可以小写,“Warp:”和名称之间的空格至少需要一个。与 MyWarp 布局一样,您也无法定义特定的所有者。
- 使用“xWarp”布局,您可以在第一行放置“xWarp”(不区分大小写)或“Warp”/“warp”以及可选的冒号。第二行是传送点的名称,第三行是所有者(可选)。
更新日志
3.1.7: 测试构建 1.2.5-R1.0 (2012-04-20, BPU: 1.3.0)
- 使用选项
marker.plugin 代替 marker.enabled。如果将 marker.enabled 设置为 true,其行为就像将 marker.plugin 设置为 dynmap 一样
- 添加了标记的基本描述(点击它们)。
- 修复了如果在 xWarp 之前禁用 dynmap 时出现的错误消息。
- 如果传送点名称不唯一,显示不同的消息以防止混淆。
- 在
warp info 屏幕中显示有多少个同名传送点存在。
- status 命令会显示 xWarp 是否已链接到 dynmap。
- 如果未找到 BPU,将显示更具描述性的错误信息。
- 更新数据库中的列出状态。
3.1.6: (2012-03-02)
- 修复了与新版 dynmap 的兼容性问题。
- 适配了新的事件和配置系统,因为旧版已在 1.1-R5 中被移除。
- 修复了默认情况下战点未列出的问题。
- 添加了使所有战点列出(或不列出)的命令。此命令很可能将被移除。
warp info 命令现在会显示到特定战点的距离。
- 移除了预计所有的调试信息。
- 所有传送的原因现均为“COMMAND”。
3.1.5: (2011-11-08)
- 世界权限现默认为 true。
- 新增权限,允许玩家查看自己未列出的战点。
- 如果玩家想为其他玩家创建战点,则需要拥有更改所有者权限。
- info 命令现在会显示该战点是否已列出。
- 修复了告示牌战点无法工作的 bug。(→ )
3.1.4: (2011-10-05)
3.1.3: (2011-09-23)
- 战点现按所有者而非创建者进行引用。
- 修改战点时会正确检查权限。
- 可通过将
markers.enabled 设置为 false 来完全禁用标记。
3.1.2: (2011-09-15)
- 修复了带参数的命令(如
give 或 rename)的问题,这些命令至少需要包含一个附加命令。
3.1.1: (2011-09-15)
- 删除战点时移除对应的标记。
- 铁门不再导致战点不安全。
- 从 config.yml 重载/重启时更新标记图标(需要 dynmap 0.23 或以上版本)。
- 添加用于战点保护区域的更改世界命令。
- 在重载时释放旧的数据连接,从而解决执行
xman reload 后数据库被锁定的问题。
3.1.0: (2011-09-12)
- 添加了对 dynmap 插件标记的支持。
- 配置节点,用于设置默认欢迎消息。
warp list 中默认选定的列列表。
- 将战点对象从一个世界移动到另一个世界。
warp list 支持负数选项。
完整更新日志
About
xWarp was a fork of the MyWarp plugin my tkelly with new functionalities. This plugin allows players to create warp points and then to teleport to this warp point. Each warp point has specific properties:
- Visibility (private, public, global)
- Location with direction (yaw and pitch)
- Price
- Editors (definitions who can edit only a specific warp)
- Owner
- Creator
- Cooldown
- Warmup
Ressources
Installation
You only have to place the xWarp jar-file into the plugins/-directory. You also need to add the SQLite driver (sqlitejdbc-v056.jar) into the lib/ directory, if you use SQLite (also for import/export).
With version 3.0.0 it also needs the Bukkit Plugin Utilities library. Place it near to the SQLite driver in the lib/ directory. Rename it to BukkitPluginUtilities.jar!
- Until version 3.1.5 is compatible with all builds since 1.1.0.
- With version 3.1.6 you have to use 1.3.0-B7
- With version 3.1.7 you have to use 1.3.0 (or newer)
It should look like:
+ Server directory
|
+--- craftbukkit.jar
|
+-+- plugins/
| |
| +--- xWarp.jar
| |
| +--- xWarp/
|
+-+- lib/
|
+--- BukkitPluginUtilities.jar
|
+--- sqlitejdbc-v056.jar
Prices
There are two type of prices. A base price, which goes to a user or to nobody and could be set in the permissions. It is also possible to define a warp specific price. This additional costs will be transfered to the owner of the warp. At the moment iConomy version 4 and 5, Essentials Economy, BOSEconomy and Mineconomy supported.
Visibilites
Every warp has a visibility, which could be private, public or global. If a warp is private, only invited users or users with a special admin permission could use this warp. If the warp is public or global everybody could use the warp.
The global visibility priorities a warp. So if two players owns a warp with the same name, it isn't always clear which of these warps the user meant.
- If the user defines the owner in the command, the warp is identified and nothing special has to be done.
- If the user doesn't define a owner, it is possible that it isn't clear which warp should be chosen.
Now in the second case there are following possibilities which will be checked in the following order:
- If there is only one warp chose this warp.
- If there is one warp of these global – there could be only one warp global at the time – chose the global one.
- If the user owns one of these warps it will chose the warp the user owns.
- In all other cases it will return that there doesn't exist a global warp with this name.
See also: Wiki about Visibility
Sign warps
Creating a sign warp is really easy. There are the following layouts: MyWarp, Single Line and xWarp.
- In “MyWarp” your sign has two lines. In the first place only “MyWarp” and in the second the name of the warp. This sign type doesn't allow to define a owner.
- The “Single Line” layout only needs a line with “Warp: <name>”. If there are more than one lines with this layout on one sign it won't work. The colon is optional, the W could be lowercase and the spaces between “Warp:” and the name have to be at least one. Like with the MyWarp layout you also couldn't define a specific owner.
- With “xWarp” layout you could place “xWarp” in the first line (case-insensitive) or “Warp”/“warp” and optional a colon. In the second line is the name of the warp and in the third the owner (optional).
Changelog
3.1.7: Tested build 1.2.5-R1.0 (2012-04-20, BPU: 1.3.0)
- Use option
marker.plugin instead of marker.enabled. If marker.enabled is set to true it acts like marker.plugin was set to dynmap
- Added a rudimentary description for markers (click on them).
- Fixed a error message that appears if dynmap gets disabled before xWarp.
- Show a different message if the warp name isn't unique to prevent confusion.
- Show how many warps with this name exists in the
warp info screen.
- The status command shows if xWarp is linked to dynmap.
- If BPU wasn't found there will be a more descriptive error message.
- Update the listed status also in database.
3.1.6: (2012-03-02)
- Fixed compatibility with newer versions of dynmap.
- Made compatible with the new event and configuration system, as the old was removed with 1.1-R5.
- Fixed problem with not listed warps by default.
- Added command to make all warps listed (or not). This will be removed most likely.
- The
warp info command now shows the distance to a specific warp.
- Removed hopefully all debug messages.
- All teleports have now the reason “COMMAND”.
3.1.5: (2011-11-08)
- World permissions are now always by default true.
- New permission to allow to see your own warps which are unlisted.
- The player need the change owner permission if the player want to create a warp for another one.
- The info command now shows if the warp is listed or not.
- Fixes the bug, that sign warps don't work. (→ )
3.1.4: (2011-10-05)
- Fixed crash on loading dynmap.
3.1.3: (2011-09-23)
- Warps get referenced by owner not by creator.
- It checks the permissions correctly when modifying a warp.
- Option to disable markers completely with
markers.enabled to false.
3.1.2: (2011-09-15)
- Fixed issues with parameterized commands (e.g.
give or rename) where the command have at least one additional command.
3.1.1: (2011-09-15)
- Remove marker if a warp get deleted.
- Iron doors doesn't make a warp unsave anymore.
- Update marker icon on reload/restart from the config.yml (need at least dynmap 0.23!).
- Add change world command for warp protection areas.
- Free old data connection on reload and thus fix problem with database is locked after
xman reload.
3.1.0: (2011-09-12)
- Added support for markers with the dynmap plugin.
- Configuration node to set the default welcome message.
- List of default selected columns in
warp list.
- Move warp objects from one into another world.
- Negative options for
warp list.
Full changelog
评论 0
登录后参与评分
还没有评论,来抢沙发吧