RandomTeleport - 随机传送

RandomTeleport - 随机传送 7.27.1

随机将你传送到一个安全的地方(在地面上,而不是在树上或海洋上) 支持派系!!
注意:请确保设置世界边界(中心/半径)

注意:它现在支持 WorldBorder 插件!您现在可以在 1.7 服务器上将此插件与 WorldBorder 插件一起使用!

这个插件允许你把自己传送到随机选择的位置。所选位置将始终位于地面上。将避免以下情况:

  • 在一棵树上,
  • 在海洋/熔岩池上,
  • 在其他人的派系声称的区域。
对于普通玩家,您可以设置默认冷却时间以避免滥用此功能。

它目前支持:

命令(别名:randomteleport、rt、randomtel、wild、wildtp)

  • /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 :重新加载配置。
如果指定了 [rx:x-radius][rz:z-radius][r:radius],它将忽略config.yml和世界边界半径中的半径设置。

权限

  • 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 标志 如果您有“randomteleport.sign.create”权限节点,则可以放置 RT 标志
。要放置 RT 标志,请执行以下操作:

  1. 放置一个标志,
  2. 将 [RT] 放在第 1 行
  3. 将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
无下载权限

帖子交流

0

点赞金锭

62

贡献资源

3

资源版本 7.27.1
下载量 29
热度 893
更新时间
{评级}星 0 星
顶部