注意:请确保设置世界边界(中心/半径)
注意:它现在支持 WorldBorder 插件!您现在可以在 1.7 服务器上将此插件与 WorldBorder 插件一起使用!
这个插件允许你把自己传送到随机选择的位置。所选位置将始终位于地面上。将避免以下情况:
它目前支持:
权限
。要放置 RT 标志,请执行以下操作:
注意:它现在支持 WorldBorder 插件!您现在可以在 1.7 服务器上将此插件与 WorldBorder 插件一起使用!
这个插件允许你把自己传送到随机选择的位置。所选位置将始终位于地面上。将避免以下情况:
- 在一棵树上,
- 在海洋/熔岩池上,
- 在其他人的派系声称的区域。
它目前支持:
- ASkyBlock,
- BSkyBlock,
- 派系,
- 派系UUID,
- 封建(因为我无法访问这个插件,所以我没有测试过它,但它应该可以工作。
- 预防悲伤,
- HuskTowns,
- 铱星天块,
- 岛国世界,
- 王国+,
- 传统派系,
- 新星公会,
- 普洛特姆,
- 图平方,
- 普洛茨,
- 珍贵的宝石,
- 保护石,
- 红色保护,
- 居住地(注意:截至2017年3月,居住地取决于Kingdoms+插件),
- 汤尼,
- uSkyBlock的
- WorldGuard(ENTRY 区域标志)(6.x 和 7.x)
- 世界边界,
- /rt [w:worldname][rx:x-radius][rz:z-radius][r:radius] :将您传送到指定世界中随机选择的位置(选项)。
- /rt <播放器> [w:worldname w:another_worldname ...][rx:x-半径][rz:z-半径][r:radius] :传送<玩家>到指定世界中随机选择的位置(选项)。
- /rt reload :重新加载配置。
权限
- randomteleport.teleport - 将您传送到随机选择的位置。
- randomteleport.teleport.other - 允许您传送其他玩家。
- randomteleport.reload - 允许玩家使用 /rt reload 命令。
- randomteleport.nocooldown - 允许玩家绕过冷却时间。
- randomteleport.sign.create - 允许您创建 RandomTeleport 符号。
- randomteleport.sign.use - 允许您使用(单击)随机传送标志。
- randomteleport.no_cancel - 即使您在等待传送时移动,也可以传送。
- randomteleport.economy.bypass - 允许您在传送时绕过经济费用。
。要放置 RT 标志,请执行以下操作:
- 放置一个标志,
- 将 [RT] 放在第 1 行
- 将world_id(在您的config.yml中)放在第 2 行。
YAML:
# This is a template config file
# define your parameter and its value like:
Messages:
ErrorMsg : "&c[RandomTeleport] : Some error occured."
NoSuchPlayer : "&c[RandomTeleport] : No such player online!"
NoSuchWorld : "&c[RandomTeleport] : No such world on this server!"
Teleported : "&a[RandomTeleport] : You've been teleported to a random location!"
CooldownMsg : "&a[RandomTeleport] You have to wait for &b%remaining% &aseconds."
NoPermission: "&c[RandomTeleport] : You don't have a permission to do so."
NotInThisEnvironment: "&c[RandomTeleport] : You cannot random teleport in this environment(&e%env%&c)."
TPDelayMsg : "&aYou will be teleported in %time% seconds."
NotEnoughFundMsg : "&cYou need at least &e$%amount% &cto use this."
DeductionMsg : "&a[RandomTeleport] &e%amount% &a(%type%) have been charged for your random teleport."
WaitingForTP : "&c[RandomTeleport] You're already waiting for TP."
TPCancelled : "&c[RandomTeleport] Your TP has been cancelled."
NoSafePlace : "&c[RandomTeleport] Could not find a safe place to land."
HelpMessages:
banner:
msg: "=== &e[&aRandomTeleport Commands List (%version%)&e] &r==="
help:
msg: "&a/rt help : displays this help menu."
reload:
msg: "&a/rt reload : reloads config file."
permission: "randomteleport.reload"
debug:
msg: "&a/rt debug <true|false> : turn on / off the debug mode."
permission: "randomteleport.debug"
teleport:
msg: "&a/rt [w:worldname][cx:center-x][cz:center-z][rx:x-radius][rz:z-radius][r:radius] : Teleports you to a randomly selected location (option) in the specified world"
permission: "randomteleport.teleport"
teleportOther:
msg: "&a/rt otherplayer [w:worldname][cx:center-x][cz:center-z][rx:x-radius][rz:z-radius][r:radius] : Teleports you to a randomly selected location (option) in the specified world"
permission: "randomteleport.teleport.other"
# Default radius, for old server whcih does not have World.getWroldBorder() method
# this value will be used as a default radius.
DefaultRadius: 100
# Default center.
DefaultCenter:
x: 0
y: 0
z: 0
# economy related
# choices of economy system: "Money", "Token" or "Exp"
Economy: "Money"
Price: 10
# delay til the teleportation is initiated (in seconds)
TPDelay: 0
Cooldown: 300 #in seconds
# possible envirnments, NETHER, NORMAL, THE_END
EnabledEnvironment:
- NORMAL
# - NETHER
# - THE_END
#if you set this option to true, the cooldown will be tracked for each world.
UseWorldBased: false
# Timeout in seconds before it gives up looking for a safe location to land.
TimeOut: 10
# a player with randomteleport.sign.use can click the sing to execute /rt w:world
# a player with randomteleport.sign.create can create the RT sign.
# 1st line of the RT sign is reserved for [RT]
# 2nd line of the RT sign is reserved for world id.
RTSign:
world: #short world id (incase the world name is long)
world: "world"
lore:
- "&aTeleport to"
- "&arandom place"
# nether:
# world: "world_nether"
# lore:
# - "&aTeleport to"
# - "&arandom place"
# end:
# world: "world_the_end"
# lore:
# - "&aTeleport to"
# - "&arandom place"
# you can nominate the min/max boundaries of each world if you do not wish to
# use the worldborder.
# if the limits are not specified here, by default, the plugin will use the worldboarder
#
# you can also specify the center of the specified world.
WorldLimits:
# smallworld:
# xRadius: 300
# zRadius: 200
# xCenter: 0
# yCenter: 100
# zCenter: 200
# bigworld:
# xRadius: 3000
# zRadius: 2000
#
# RT will try not to select the blocks listed here as the landing block
AvoidBlocks:
# - SAND
# - GRAVEL
#
# No-Go WorldGuard Region
AvoidWGRegions:
# - spawn
#
# if this option is true, all player who joined will be teleported to a random location.
RandomTPOnJoin: false
# this is the world a player wil be randomly teleported when they join.
JoinTPWorld: undefined
# if this option is true, random tp on join is executed only if a player joined the server
# for the first time.
OnlyAtFirstJoin: true
#
RegionPlugins:
world:
- WorldGuard
plotworld:
- WorldGuard
- PlotSquared
pvp:
- WorldGuard
- Factions
# if the destination worlds are not specified as command line argument
# worlds listed below will be randomly picked to find a safe landing place.
TargetWorlds:
- world
- plotworld