描述
PowerTeleport 是一个独立插件,通过提供多种命令来实现玩家传送功能。本插件是 Foretvert 和 CMonster95 共同努力的成果。如果您需要帮助请留言,如果发现插件存在错误请提交工单,也欢迎提出您希望我们实现的新功能建议。请注意,PowerTeleport 以 .zip 文件形式分发,您需要解压出其中的 .jar 文件:该文件即为插件本身。如果您有时间,请填写右侧的投票;根据投票结果,可能会添加新功能。
视频
<p>
详细解释了本插件的所有方面,包括文件配置和游戏内操作。
命令
/tp <playerName> [playerName] :强制传送到指定玩家,或将第一名玩家传送到第二名玩家处。
/tphere <playerName> :强制指定玩家传送到你所在的位置。
/tpa <playerName> :向指定玩家发送一个传送请求,对方可以选择接受或拒绝。
/tpahere <playerName> :向指定玩家发送一个传送请求,要求指定玩家传送到你所在的位置。
/tpaccept :接受来自 /tpa 或 /tpahere 命令的传送请求。
/tpdeny :拒绝来自 /tpa 或 /tpahere 命令的传送请求。
/tploc <playerName> <X> <Y> <Z> [pitch] [yaw] :将指定玩家传送到由 X、Y 和 Z 坐标定义的位置,或者传送到包含这三个坐标以及俯仰角(pitch)和偏航角(yaw)的位置。俯仰角和偏航角决定了玩家头部的朝向。俯仰角可以是 -90(向上看)到 90(向下看)之间的任意整数。偏航角可以是 0(面向南)到 359 之间的任意整数,完成一整圈旋转。需要注意的是,偏航角的值越大,玩家会顺时针旋转,这意味着数值 45 会使玩家面向西南方向。俯仰角和偏航角也可以使用方向词代替数字。对于俯仰角,参数为:up(上)、straight(平视)和 down(下),而对于偏航角,可以使用任何基本方向或中间方向:n、ne、e、se、s、sw、w 和 nw。
/back :一次性返回用户最近一次死亡的位置。
/tpworld <playerName> <worldName> :将指定玩家传送到指定的已加载世界。
/powerteleport :向用户发送指向此页面的链接。
配置文件
目前,仅支持基于时间的配置值。在后续更新中,我们希望加入自定义消息功能。
tp-request-timeout :设置来自 /tpa 或 /tpahere 命令的传送请求超时的时间(秒)。默认设置为 30 秒。
tp-request-delay :设置玩家在传送开始前需要保持静止的时间(秒)。默认设置为 5 秒。
back-delay :设置在使用 /back 命令进行传送前,玩家需要保持静止的时间(秒)。默认设置为 5 秒。
权限
pt.* :所有 PowerTeleport 命令。
pt.tpbasic :父节点,包含使用 /tpa、/tpahere、/tpaccept 和 /tpdeny 的能力。
pt.tp :允许使用 /tp。
pt.tphere :允许使用 /tphere。
pt.tpa :允许使用 /tpa。
pt.tpahere :允许使用 /tpahere。
pt.tpaccept :允许使用 /tpaccept。
pt.tpdeny :允许使用 /tpdeny。
pt.tploc :允许使用 /tploc。
pt.back :允许使用 /back。
pt.bypassback :如果玩家拥有此节点,在使用 /back 命令时将没有传送延迟。
pt.tpworld :允许使用 /tpworld。
pt.forums :允许使用 /powerteleport。
待实现的功能
- 创建更好的 config.yml 以允许自定义消息;
- 集成 LilyPad API 以支持跨服务器传送;
- 向所有拥有权限的玩家发送通知,告知 PowerTeleport 有新版本可用;
Description
PowerTeleport is an independent plugin that provides several methods of player teleportation through the use of commands. This plugin is a cumulative effort between Foretvert and CMonster95. Please comment if you need help, submit a ticket for any errors you find with the plugin, and feel free to offer suggestion of new features that we should implement. Make note that PowerTeleport is distributed as a .zip file, meaning you will have to extract the .jar file out: this file is the plugin. If you have time, please fill out the poll to the right; depending on the results, new features may be added.
Video
<p>
Explains every facet of this plugin, both with files and in-game
Commands
/tp <playerName> [playerName] : Forcibly teleport to the given player, or teleport the first player to a second player.
/tphere <playerName> : Force the given player to teleport to you.
/tpa <playerName> : Sends a teleport request to the given player that can be accepted or denied.
/tpahere <playerName> : Sends a teleport request to the given player that requests that the given player teleport to you.
/tpaccept : Accepts a teleport request from the /tpa or /tpahere command.
/tpdeny : Denies a teleport request from the /tpa or /tpahere command.
/tploc <playerName> <X> <Y> <Z> [pitch] [yaw] : Teleports the given player to a location with the X, Y, and Z coordinates defined, or to a location that includes all three coordinates along with pitch and yaw. Pitch and yaw determine the direction a player's head is facing. Pitch can be any integer from -90 (looking up) to 90 (looking down). Yaw is any integer from 0 (facing south) to 359, completing a full circle of revolution. It should be noted that yaw will turn the player clockwise with higher values, meaning the integer 45 will make the player face the south-west direction. Directions can also be used instead of numbers for both pitch and yaw. For pitch, the arguments are: up, straight, and down, while any cardinal or intercardinal direction will work for yaw: n, ne, e, se, s, sw, w, and nw.
/back : Returns the user to their latest death location once.
/tpworld <playerName> <worldName> : Teleports the given player to the specified loaded world.
/powerteleport : Sends a link to this page to the user.
Config
Currently, only values in terms of time can be configured. In later updates, we hope to include custom messages.
tp-request-timeout : Sets the time in seconds before a teleport request from the commands /tpa or /tpahere times out. Default is set to 30 seconds.
tp-request-delay : Sets the time in seconds in which a player needs to stand still before a teleport will commence. Default is set to 5 seconds.
back-delay : Sets the time in seconds in which a player needs to stand still before the teleport will commence with the /back command. Default is set to 5 seconds.
Permissions
pt.* : All PowerTeleport commands.
pt.tpbasic : Parent node that includes the ability to use /tpa, /tpahere, /tpaccept, and /tpdeny.
pt.tp : Allows the use of /tp.
pt.tphere : Allows the use of /tphere.
pt.tpa : Allows the use of /tpa.
pt.tpahere : Allows the use of /tpahere.
pt.tpaccept : Allows the use of /tpaccept.
pt.tpdeny : Allows the use of /tpdeny.
pt.tploc : Allows the use of /tploc.
pt.back : Allows the use of /back.
pt.bypassback : If a player has this node, there will be no teleport delay when using the /back command.
pt.tpworld : Allows the use of /tpworld.
pt.forums : Allows the use of /powerteleport.
Features to be implemented
- Create a better config.yml to allow custom messages;
- Integrate into LilyPad API to permit cross-server teleportation;
- Give an in-game notice to all those with the permission that PowerTeleport has a new version
available;
评论 0
登录后参与评分
还没有评论,来抢沙发吧