FUBS Random Teleport 1.7.4

Allows you to randomly teleport players around your maps in a safe way. E.g. into the Wilderness.

  1. Phoenix616
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    [​IMG] Made in Germany with love (and beer)
    Note: This project got moved from Bukkit dev because of the disbandment of the original Bukkit support team. You can read the old project page and comments here.

    Provides a command (/randomteleport) to randomly teleport a player to a safe location in a give radius around a given point!

    You can define different presets that your players can use via /rtp <preset> or via any alias that you define in your commands.yml. (E.g. /wilderness for a wildernes teleportfunctionality). It also includes different cooldowns for each preset, parameters to limit the target location to certain biomes and the ability to create random teleport signs!

    Respects WorldGuard, Factions, FactionsUUID and GriefPrevention regions and tries to teleport player to the position with the least protections around it!

    Blocks it teleports on to in non-force mode:

    • Sand
    • Gravel
    • Dirt
    • Grass
    Donations
    Programming is time intensive and I would really appreciate your support!
    So if you can afford it or make commercially use of this plugin feel free to buy me a beer.
    Patreon with rewards: [​IMG]
    Paypal: https://s.moep.tv/donate
    Ðoge: D7G4Svo7GTNHpuhjwUBj2k7qANnZHwYD4p
    BTC: 1EXMFRknc7kLwCmM1zf5LXNnPD4ihVCEhQ

    Video Review & Explanation

    Permissions
    randomteleport.presets.default - Permission for the default /rtp preset
    randomteleport.presets.<presetname> - Permission for the /rtp <presetname> command
    randomteleport.sign.preset.<presetname> - Permission to use a specific preset on a [RandomTP] sign
    randomteleport.sign.create - Permission to create and destroy [RandomTP] preset signs
    randomteleport.use - Permission to use all the features of the command without the -player option (Not needed for Presets!)
    randomteleport.tpothers - Lets the user also teleport other players
    randomteleport.cooldownexempt - No teleport cooldowns for players with that permission
    randomteleport.stat - Permission for the /rtp stat command
    randomteleport.reload - Permission for the /rtp reload command

    Commands

    /randomteleport <minRange> <maxRange> [-p, -x, -z, -w, -c, -f, -b, -l]
    • minRange - minimum distance to teleport the player away from the center point (default is the player's location, the range is square shaped)
    • maxRange - maximum distance to teleport
    • -p,-player <playername> - teleports other players
    • -x,-xPos <x value> - x axis of the center point, if not set the player's x axis is used
    • -z,-zPos <z value> - z axis of the center point, if not set the player's z axis is used
    • -w,-world <world name> - name of the world in which the player should be randomly teleported, default is the world the sender is in or if the sender is the console the world the targeted player is in
    • -c,-cooldown <seconds> - cooldown in seconds after which the player can use this teleporter again
    • -f,-force [blocks|regions] - ignore block whitelist or region; with the "blocks" option teleport even if there is no dirt/grass/sand/gravel, only checks for air/lava/water/cactus; with the "regions" option it ignores WorldGuard/Faction regions; ignores both without an extra option
    • -b,-biome <bionename> [<biome2...>] - Lets you specify the biome(s) it should only teleport you to. It uses Bukkit's Biome enum names.
    • -l,-loaded - Only searches for valid locations in loaded chunks. Warning: This option might fail more often then the normal method
    /randomteleport stat - a little debug statistic
    /randomteleport reload - reload the config
    /randomteleport (without additional parameters) - executes the default preset from the config
    /randomteleport <presetname> - executes the preset set in the config

    Example:
    /rtp 100 500 -p Phoenix616 -x 0 -z 0 -w equestria -c 60 -f
    Teleports the player called Phoenix616 to a random position in the world equestria and in a radius of 100 to 500 blocks around x/z 0/0. It will not check for saved regions and will only ignore air/lava/water and cactus. A teleport with this options can only be used every 60 seconds.

    Aliases:
    /randomtp
    /rtp

    Presets

    Version 1.5.0 introduced presets which you can trigger with only /rtp or /rtp <presetname>. The player needs the permission randomteleport.presets.default to execute the default /rtp or the permission randomteleport.presets.<presetname> to use any other preset with /rtp <presetname>. A player does not need the randomteleport.use permission to use presets!

    You define the presets in the config as if the player would enter the command himself without the -p <playername> option. The player does not need the permission to execute the command you input into the config, just the permission for the specific preset!

    This example is included in the config file:

    presets:
    default: "/rtp 100 1000 -f"
    test: "rtp 10 200 -f"

    Presetsigns:

    Version 1.6.0 introduces preset signs which work like the normal presets but you can run them from signs. Just write the following lines on a sign:

    [​IMG]
    Instead of "Default" on the 3rd line you can add the name of every preset you have set in your config. To create and destroy those signs you need the permission randomteleport.sign.create. Players need the permission randomteleport.sign.preset.<presetname> to be able use (rightclick) the sign!
    Config
    Code (YAML):
    # Triggered when you use /rtp without any additional parameters
    # Just write your command as you would use it ingame here
    # Don't use the -p parameter, this will get added automatically with the sender's name
    presets
    :
       default
    : "/rtp 100 1000 -f"
    # add more to use /rtp <rtpname>, player needs "randomteleport.presets.<rtpname>"
    #   <rtpname>: "/rtp 1 2"
       test
    : "rtp 10 200 -f"
    msg
    :
       search
    : "&7RandomTeleport searches for a safe place in world {worldname}. . ."
       teleport
    : "&7RandomTeleport teleported you to"
       error
    :
          location
    : "&4Error: &cRandomTeleport could not find a save location!"
          cooldown
    : "&cYou have to wait {cooldown_text}before using this RandomTeleport again!"
    Source
    The source code can be found on Github

    Development Builds
    Development builds are available via the Minebench.de Jenkins server

    ToDo

    These features will be implemented in the 2.0 rewrite of the plugin that will happen eventually when I find the time and incentive for that:
    • Y coordinate specification
    • Support Nether and End
    • Per world default presets
    • More teleport target control
    • Teleport multiple players at once to the same coordinate (team support)
    • Max usage per teleport
    • Delay before teleporting
    • Option to only teleport to generated chunks
    • More protection plugin compatibility (like RedProtect)
    • Pay for teleports
    For a full and more detailed list see the milestone on GitHub.​

    Other Resources

    [​IMG]
    This resource is distributed without any warranty or liability by the author.

Recent Reviews

  1. Green_LED
    Green_LED
    4/5,
    Version: 1.7.4
    It would be so much better if the signs could be colored. Otherwise, great plugin and I have no other complaints.
  2. xELITESx
    xELITESx
    1/5,
    Version: 1.7.4
    /randomteleport -world <my world name> dont work........................................
    1. Phoenix616
      Author's Response
      Please use the command syntax mentioned in the description. You need to provide both a minimum and maximum range, e.g. /randomteleport <minRange> <maxRange> -world <world>
  3. red_eye_008
    red_eye_008
    5/5,
    Version: 1.7.4
    The best Random Teleport plugin out there! Causes no noticeable lag and has vast and wonderful customisability.

    Highly recommend
  4. Chillieaters
    Chillieaters
    4/5,
    Version: 1.7.4
    Is there any way to add a cooldown before teleportation? Like waiting 5 seconds and standing still?
    1. Phoenix616
      Author's Response
      Currently not, sorry. Please use the discussion thread for further questions ;)
  5. ZakkyPlays
    ZakkyPlays
    5/5,
    Version: 1.7.4
    What if im using the vanilla world border command? which is 5000 by 5000 blocks? will this randomtp only work in the world border or will it teleport players out side the border with /rtp???
    1. Phoenix616
      Author's Response
      It will not teleport outside the border
  6. LuckyZeeRo
    LuckyZeeRo
    4/5,
    Version: 1.7.4
    Nice plugin, highly configurable, stable.
    But... It causes lag spikes (Checked by MassiveLag) when player teleport. If there will be a lot of players, server will lag continuously. So, I can't use it on my server.
  7. HexedHero
    HexedHero
    3/5,
    Version: 1.7.4
    Works really nice but no matter what I do, /rtp wont work for normal players even with perms
    1. Phoenix616
      Author's Response
      Which permissions did you grant? If you want them to be able to use the default preset and run /rtp without any extra argument your players need the randomteleport.presets.default permission.
  8. Alekkkkk
    Alekkkkk
    4/5,
    Version: 1.7.4
    I love this plugin. I've had to use a different random teleport plugin lately. I prefer this one. Please update to 1.12.
    Plugin is nonfunctional in 1.12.
    1. Phoenix616
      Author's Response
      Please make sure that you use the latest development build. If it still doesn't work then please post your log and the error in the discussion thread.
  9. OhhZeeq
    OhhZeeq
    5/5,
    Version: 1.7.4
    Excellent plugin, really easy to use.
    Thanks for this.
    Is there a way to teleport mobs ? Thanks in advance !
  10. P4t0800
    P4t0800
    5/5,
    Version: 1.7.4
    Great Plugin! Works Like It Should. I Definately Recommend The Use Of This Plugin. I Use It On My Factions Server Instead Of Making Warps To Give Players More Faction Space. And It Works Well.