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, RedProtect and GriefPrevention regions and tries to teleport player to the position with the least protections around it! It also checks for the WorldBorder!
Video Review & Explanation
- 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
- Additional options
Example:/rtp 100 500 -p Phoenix616 -x 0 -z 0 -w equestria -c 60 -fTeleports 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.
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!
# Default language to use when client's language isn't available lang: en # Some debug information debug: true # Delay in ticks between checking chunks when searching # Blocks to teleport on in normal mode save-blocks: - sand - sandstone - gravel - dirt - grass_block - coarse_dirt - podzol - stone - granite - diorite - andesite - cobblestone - end_stone - netherrack # Blocks unsave when in "--force blocks" mode unsave-blocks: - air - water - lava - oak_sapling - spruce_sapling - birch_sapling - jungle_sapling - acacia_sapling - dark_oak_sapling - white_bed - orange_bed - magenta_bed - light_blue_bed - yellow_bed - lime_bed - pink_bed - gray_bed - light_gray_bed - cyan_bed - purple_bed - blue_bed - brown_bed - green_bed - red_bed - black_bed - powered_rail - detector_rail - cobweb - piston_head - tnt - torch - fire - sign - ladder - rail - wall_sign - lever - stone_pressure_plate - iron_door - redstone_wall_torch - redstone_torch - stone_button - cactus - magma_block - nether_portal - vine - end_portal - end_portal_frame - tripwire_hook - tripwire - flower_pot - oak_leaves - spruce_leaves - birch_leaves - jungle_leaves - acacia_leaves - dark_oak_leaves - barrier - iron_trapdoor - oak_trapdoor - spruce_trapdoor - birch_trapdoor - jungle_trapdoor - acacia_trapdoor - dark_oak_trapdoor - oak_door - spruce_door - birch_door - jungle_door - acacia_door - dark_oak_door - end_rod - end_gateway sign-variables: - "[RTP]" - "[RandomTP]" # Just write your command arguments as you would use it ingame behind /rtp # Don't use the -p parameter, this will get added automatically with the senders name/the specified playername presets: # Triggered when you use /rtp without any additional paramters default: "100 1000" # add more to use /rtp <rtpname>, player needs "randomteleport.presets.<rtpname>" # <rtpname>: "/rtp 1 2" test: "10 200 -f"
Default english language settings can be found in the lang.en.yml. If you want to add more language support just create a new lang.<locale>.yml in your languages folder!
- Y coordinate specification Implemented
- Support Nether and End Implemented
- 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 Implemented
- More protection plugin compatibility (like RedProtect) Implemented
- Pay for teleports