Excursion — 一款适用于 Bukkit 的传送插件
Excursion 是一款适用于 Bukkit 的传送插件,它会记住每位玩家在每个世界中的上次位置。
请将错误报告和功能请求发布为 dev.bukkit.org 工单。
功能特性
-
当离开一个世界(通过
/visit命令)时,会保存该玩家在该世界中的位置。当玩家再次访问该世界时,他们将被传送至已保存的位置。 -
可以将某些世界列入黑名单/排除在此行为之外,强制玩家始终传送至该世界的出生点。
-
可以对世界进行分组!当玩家离开一个分组内的世界时,除了保存玩家的位置外,还会保存玩家所在的世界。当玩家再次访问该分组时,他们将被传送回离开的确切世界和位置。
为了更清楚地说明,假设有三个世界:WorldA、WorldB 和 WorldC。WorldA 和 WorldB 被归入一个组,其中 WorldA 作为“主世界”。当玩家首次访问此分组(通过在 WorldA 或 WorldB 上使用
/visit)时,玩家将被传送至 WorldA 的出生点。现在假设玩家位于 WorldB 并访问了 WorldC。当玩家返回该分组时,他们将传送回之前在 WorldB 中保存的位置。
注意:由于分组的性质,必须使用其他方法来允许玩家在分组内的世界之间移动——例如,下界传送门和常规传送门。
-
世界(和分组)可以设置别名。
-
可以为每个世界(或分组)配置延迟。当玩家使用
/visit命令离开该世界时,他们必须在实际被传送走之前等待配置的秒数。启用延迟后,您可以选择配置如果玩家攻击、受到伤害或移动了一定距离,则取消传送。
安装与配置
只需将 Excursion.jar 放入 Bukkit 服务器的 plugins 目录中。启动服务器。这将在 plugins 目录中创建一个 Excursion 目录和一个默认的 config.yml 文件。有关配置详情,请参阅该文件。
命令与权限
基本命令为:
/visit <world>
其中 <world> 是世界名称或分组名称。
/excursion reload
重新读取 config.yml。
权限节点如下:
excursion.visit- 允许使用/visit命令。excursion.visit.now- 允许在/visit命令中使用-n(或--now)选项。这将绕过当前世界中配置的任何延迟。excursion.visit.other- 允许在使用/visit命令时指定玩家,例如/visit creative ZerothAngel。这在脚本执行或其他需要自动执行命令的情况下可能很有用。excursion.access.<world>- 允许访问<world>。您必须使用服务器目录中世界目录的确切名称!excursion.access.*- 允许访问所有世界。excursion.reload- 允许使用/excursion reload命令
默认情况下,操作员拥有所有权限。
许可与源码
Excursion 根据 Apache License, Version 2.0 发布。
源代码可在 GitHub 上找到:
本项目的开发构建版本可通过提供的持续集成服务器获取。这些构建版本未经 BukkitDev 员工批准。请自行承担使用风险。
- Excursion(需要 ToHPluginUtils.jar)
- Excursion-standlone(包含 ToHPluginUtils,类似于 dev.bukkit.org 上发布的版本)
待办事项
- 自动或手动清理过期的保存位置。
- 或许支持简单的导入/导出功能,以便更轻松地进行数据库架构升级。
Excursion — A teleport plugin for Bukkit
Excursion is a teleport plugin for Bukkit which remembers each player's previous location in each world.
Please post bugs and/or feature requests as dev.bukkit.org tickets.
Features
-
When leaving a world (via the
/visitcommand), the player's location within that world is saved. When the player revisits that world, they are teleported to their saved location. -
Worlds can be blacklisted/excluded from this behavior, forcing players to always teleport to the world's spawn point.
-
Worlds can be grouped! When a player leaves a grouped world, in addition to the player's location, the player's world is also saved. When the player revisits that group, they are teleported to the exact world and location they left from.
To make things clearer, suppose there are 3 worlds: WorldA, WorldB, and WorldC. WorldA and WorldB are put in a group with WorldA as the "primary world." When a player visits this group for the first time (by using
/visiton either WorldA or WorldB), the player will teleport to WorldA's spawn point.Let's now say the player is in WorldB and visits WorldC. When the player returns to the group, they will teleport back to their saved location in WorldB.
NOTE: Due to the nature of grouping, some other method must be used to allow players to move between worlds of a group — for example, nether gates and portals.
-
Worlds (and groups) can have aliases.
-
A delay may be configured per world (or group). When a player leaves that world with the
/visitcommand, they will be forced to wait the configured number of seconds before actually being teleported away. With a delay enabled, you may optionally configure that the teleport be cancelled if the player attacks, receives damage, or moves a significant amount.
Installation & Configuration
Simply drop Excursion.jar in your Bukkit server's plugins directory. Start up your server. This will create an Excursion directory and default config.yml within the plugins directory. See that file for configuration details.
Commands & Permissions
The basic command is:
/visit <world>
Where <world> is the name of a world or a group.
/excursion reload
Re-reads config.yml.
Permission nodes are:
excursion.visit- Allows use of the/visitcommand.excursion.visit.now- Allows the use of the-n(or--now) option with the/visitcommand. This bypasses any delay configured into the current world.excursion.visit.other- Allows specifying a player with the/visitcommand, e.g./visit creative ZerothAngel. This may be useful for scripts or other situations where commands are executed automatically.excursion.access.<world>- Allows visiting<world>. You must use the exact name of the world directory in your server directory!excursion.access.*- Allows visiting all worlds.excursion.reload- Allows use of the/excursion reloadcommand
Operators have all permissions by default.
License & Source
Excursion is released under the Apache License, Version 2.0.
Sources may be found on GitHub:
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.
- Excursion (Requires ToHPluginUtils.jar)
- Excursion-standlone (includes ToHPluginUtils, like the version distributed on dev.bukkit.org)
To Do
- Automated or manual cleanup of stale saved locations.
- Perhaps simple import/export to allow for easier database schema upgrades.
下载 Excursion
下载 Excursion
下载 Excursion
下载 Excursion
下载 Excursion
下载 Excursion
下载 Excursion
下载 Excursion
下载 Excursion
1.0.9
基于 Bukkit 1.7.9+ 开发。可能兼容 1.7.5,但不支持更低版本。
此 beta 版本增加了对 UUID 的支持以及自动迁移已保存的玩家位置的功能。
如果您使用的是普通数据库(如 PostgreSQL、MySQL 等),建议在运行此版本之前对其进行备份。请参阅您的数据库文档。
如果您使用的是 SQLite(Bukkit 的默认数据库),其数据库文件位于 plugins/Excursion 目录下。
启动时,它将尝试转换所有玩家已保存的位置。它通过联系 Mojang 的 UUID Web 服务 api.mojang.com 来实现这一点。迁移过程中这是唯一一次会进行此类操作。
如果在迁移过程中遇到任何问题(网络问题、Mojang 服务宕机等),请关闭并重新尝试。(可选:首先从备份中恢复。)
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
创建用户友好的菜单以前往不同的世界
插件
一个高度兼容、功能完善且稳定的 TPA 模组
插件
更快速的直线轨道矿车、链式连接列车、熔炉机车,以及原版红石信号!
插件
传送至你或他人的商店!
插件
城镇现在可以要求建造具有特定功能的建筑
评论 0
登录后参与评分
还没有评论,来抢沙发吧