GPS 是一个 Essentials 传送点位置绘图插件,它会显示最近的已定义传送点,以及指南针方向和海拔差。传送点按从近到远的顺序排列。可选地,您可以将指南针设置为指向某个特定的传送点。
指南针方向
在列出传送点时,您的指南针会校准以对齐标准的 Minecraft 坐标系。这与按下 [F3] 时显示的指南针方向相同。也可以在配置文件中选择关闭此功能,以防止在列出传送点时校准指南针。默认情况下该功能是开启的。如果 GPS 被要求将指南针设置为指向某个传送点,则忽略此设置。
导航
如果您决定不将指南针设置为指向某个传送点,您也可以直接导航前往。借助已校准的指南针以及列表中提供的距离和方向信息,您就可以前往目标传送点。每当您需要更新自己的位置信息时,只需调用 /gps 命令即可。这是一种替代方法,可以使用指南针按照其在 Minecraft 之外的常规用法来到达目标传送点。导航前往目的地的优势在于,您可以随时了解自己相对于所有列出的传送点的位置,而不仅仅是其中一个。您还可以随时了解您相对于其他插件提供的距离和方向组合的位置,例如:Pplot、gpsTowny 和 Postal。
海拔高度
传送点的海拔高度是相对于玩家而言的。距离单位为方块。负数表示低于玩家的高度,正数表示高于玩家的高度。有时传送点位于地下或云层中。现在您可以确切知道了。
Essentials
Essentials 是本插件的必要依赖项,不可选。GPS 会查找 Essentials 并尝试与其挂钩,但如果未找到则会中止运行。
安装
只需将其放入您的插件目录即可使用。
命令
/gps [warp] (别名: /gpse)
不带参数调用此命令时,它将提供基于地理位置感知的传送点列表。配合传送点名称使用时,会将您的指南针设置为指向该传送点。如果您的命令 '/gps' 发生冲突,请使用 '/gpse'。'/gpse' 不仅仅是一个别名,它是一个备用的命令名称。
确认
如果可能,GPS 会使用少量字符自动补全复杂的传送点名称。系统会给予您一次机会,通过输入单个 '/' 来确认补全后的名称。GPS 在进行名称补全时考虑的传送点名称范围,会被缩小至列出附近传送点时显示的那些名称。该列表的长度在配置文件中设置,可以根据需要调整长短。这大大减少了标识所需传送点所需的字符数量。
权限
默认情况下权限功能是关闭的,以便轻松上手。请在 'config.yml' 中开启,并设置自定义权限节点。标准节点为 'gps.admin' 和 'gps.gps' 或 op。
设置
'config.yml' 中的其他设置包括要列出的传送点数量,以及在列出传送点时是否将指南针对齐 Minecraft 坐标。GPS 会自动检测 Essentials 的可用性,如果找不到则不会启动。Vault 是一个软依赖项,如果找到它,将被用于确定所需的权限系统。
要更改您的设置,请进入放置此插件的 /plugins 目录之外的 /va_gps 目录,并找到名为 'config.yml' 的文件。使用记事本(Notepad++)等文本编辑器根据需要更改设置。避免更改文件结构,并避免使用制表符。如果配置文件出错,获取新的 config.yml 文件非常容易。只需删除它,让 GPS 创建一个新的即可。
历史
GPS 源自一个更大的插件 Postal。Postal 包含一个 /gps 命令,可提供类似的位置列表,但列出的是 Postal 地址而非 Essentials 传送点。本插件包含了来自 Postal 的经过验证的代码,但已适配于 Essentials。
评论
Navigate to Essentials Warps
GPS is an Essentials warp location plotter that shows the closest defined warps along with the compass heading and difference in elevation. The warps are ordered from closest to furthest. Optionally, your compass may be set to a specific warp.
Compass Orientation
Your compass is calibrated to line up with the standard, Minecraft coordinate system when listing warps. These are the same compass directions shown when pressing [F3]. This is also optionally turned off in the config file to prevent compass calibrating when listing warps. The default is switched on. This setting is ignored if GPS is asked to set the compass to a warp.
Navigation
If you decide not to set your compass to a warp you can navigate to it instead. With your calibrated compass and a distance and heading combination from the list, you have what you need to get to the warp. Any time you need an update on your position simply invoke /gps. This is an alternative way to get to the desired warp using a compass the way it is normally used outside of Minecraft. The benefit of navigating to a destination is that you remain aware of where you are in relation to all the listed warps instead of just one. You may also remain aware of where you are in relation to distance and heading combinations provided by other plugins ie: Pplot, gpsTowny and Postal.
Elevation
The elevation of the warp is shown relative to the player. The distance is in blocks. Negative numbers are lower than the player, positive numbers are above the player. Sometimes warps are underground, or in the clouds. Now you know for sure.
Essentials
Essentials is a depend, and not optional. GPS will look for Essentials and hook it if found, but abort if not.
Installation
Just drop into your plugin directory and go.
Command
/gps [warp] (alias: /gpse)
Invoked without parameters this command delivers the geographically aware list of warps. Used with a warp name sets your compass to the warp. If you have a conflict with the command ‘/gps’, use ‘/gpse’. /gpse is a little more than an alias, it is an alternate command name.
Confirmation
GPS will complete complicated warp names with just a few characters, if possible. You are given a chance to confirm the completed name with a single ‘/’. The warp names GPS considers when completing a warp name are narrowed down to the ones listed when listing the nearby warps. The length of this list is set in the config file and may be as long or short as desired. This dramatically reduces the amount of characters needed to identify the desired warp.
Permissions
Permissions are turned off by default to make it easy to get started. Turn on in 'config.yml' as well as set a custom permission node. Standard nodes are ‘gps.admin' and 'gps.gps’ or op.
Settings
Other settings in 'config.yml' are the number of warps to list, and, whether to line your compass up with Minecraft coordinates when listing warps. GPS automatically determines the availability of Essentials, and won't start if it can't find it. Vault is a soft depend, and will be used, if found, to determine the desired permission system.
To change your settings go to the /va_gps directory, off of the /plugins directory you dropped this plugin into and find the file name 'config.yml'. Use a text editor like Notepad (plus plus) to change settings as desired. Avoid changing the structure of the file, and avoid using tabs. Getting a new config.yml file is very easy if it gets messed up. Just delete it and let GPS create a new one.
History
GPS is from a larger plugin, Postal. Postal has a /gps command that provides a similar location list, but lists Postal addresses instead of Essential warps. This plugin contains proven code from Postal, but adapted to Essentials.
Comments
评论 0
登录后参与评分
还没有评论,来抢沙发吧