SignWarper 允许玩家放置告示牌,通过右键点击在这些告示牌之间进行传送。
默认情况下,传送需要消耗一个末影珍珠,且必须在与告示牌交互时将其持有在手中;但也可以在配置文件中禁用此要求。
权限
SignWarper 支持以下权限:
signwarper.create - 允许创建和销毁传送点告示牌(默认:op)
signwarper.use - 允许使用传送点告示牌(默认:所有人)
signwarper.* - 允许访问所有功能(默认:op)
使用方法
首先,在你希望传送到位置的地方放置一个告示牌,内容如下:
- 第一行:
[WarpTarget]
- 第二行:你希望使用的名称
这将创建一个定义玩家将被传送到的位置的传送目标告示牌。
创建好传送目标告示牌后,再放置一个或多个用于传送到该目标的传送告示牌。方法是放置一个内容如下的告示牌:
- 第一行:
[Warp]
- 第二行:与传送目标告示牌上相同的名称
注意:必须先存在传送目标告示牌,才能创建传送告示牌!
一旦创建了这两个告示牌,你就可以手持 use-item(默认为末影珍珠)右键点击来进行传送。每次传送将消耗 use-cost 配置中设定的物品数量(默认为 1)。
你可以在 config.yml 中移除 use-item 选项,或将其设置为 "none",以允许使用任意物品而不实际消耗物品(即每次传送免费)。
我的其他插件
你可以在 我的网站 找到它们。
SignWarper allows players to place signs to teleport between them by simply right clicking on them.
By default, teleports have a cost of one ender pearl which must be in the players hand while interacting with the sign, but it can also be disabled in the configuration.
Permissions
SignWarper knows the following permissions:
signwarper.create - Allow to create and destroy warp signs (Default: op)
signwarper.use - Allow to use warp signs (Default: everyone)
signwarper.* - Allow access to all features (Default: op)
How to use it?
First, place a sign at the location you want to warp to with the following content:
- First line:
[WarpTarget]
- Second line: The name you want to use
This will create a warp target sign which defines the location a player is getting warped to.
After creating the warp target sign, create one or more warp signs from which you want to be able to warp to the target sign. This is done by placing a sign with the following content:
- First line:
[Warp]
- Second line: The same name as used on the warp target sign
Note: The warp target sign must exist before creating a warp sign!
Once you've created both signs, you are able to right click with the use-item in your hand (defaults to ender pearl). Each warp will cost the number of items configured in use-cost (defaults to 1).
You can remove the use-item option in the config.yml or set it to "none" to allow any item to be used without actually using the item (i.e. each warp is free to use).
My other plugins
You can find them on my website.
评论 0
登录后参与评分
还没有评论,来抢沙发吧