All Mods Resource Packs Data Packs Shaders Modpacks Plugins
RandomTeleporter

RandomTeleporter

by TheWhiteDog9487 • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions
Note: This document was originally written in Chinese and translated into other languages using AI. If circumstances permit, it's recommended to read the original Chinese documentation instead of other translated versions.
简体中文(GitHub)     简体中文(Gitea)     English(GitHub)     English(Gitea)

Introduction

This mod adds a command, /rtp, which randomly teleports players to any location in the world.

Command Formats

  • /rtp
  • /rtp back
  • /rtp back <PlayerID>
  • /rtp <PlayerID> back
  • /rtp <Radius>
  • /rtp <PlayerID>
  • /rtp <Radius> <PlayerID>
  • /rtp <PlayerID> <Radius>
  • /rtp <Radius> <OriginPos>
  • /rtp <Radius> <PlayerID> <OriginEntity>
  • /rtp <Radius> <PlayerID> <OriginPos>
  • /rtp <PlayerID> <Radius> <OriginEntity>
  • /rtp <PlayerID> <Radius> <OriginPos>
  • /rtp <RegionFromPos> <RegionToPos>
  • /rtp <RegionFromPos> <RegionToPos> <PlayerID>
  • /rtp <PlayerID> <RegionFromPos> <RegionToPos>
  • /rtp <RegionFromEntity> <RegionToEntity>
  • /rtp <RegionFromEntity> <RegionToEntity> <PlayerID>

Command Examples

  • /rtp
    Teleports the player executing the command to a random point within the area centered at (0,0) with a random radius of 2.9e7 - 1e4.
    2.9e7 = 29,000,000
    10^4 = 10,000

  • /rtp back
    Teleports the player back to their position before the most recent random teleport.
    Note: The previous-position information saved by this feature exists only while the game (server) is running. It will be lost after the game (server) is closed.

  • /rtp back TheWhiteDog9487
    Teleports TheWhiteDog9487 back to their position before their last random teleport.

  • /rtp TheWhiteDog9487 back
    Teleports TheWhiteDog9487 back to their position before their last random teleport.

  • /rtp 1000
    Teleports the player to a random point within a radius of 1000 centered at (0,0).

  • /rtp TheWhiteDog9487
    Teleports TheWhiteDog9487 to a random point within the area centered at (0,0) with a random radius of 2.9e7 - 1e4.

  • /rtp TheWhiteDog9487 1000
    Teleports TheWhiteDog9487 to a random point within a radius of 1000 centered at (0,0).

  • /rtp 1000 TheWhiteDog9487
    Teleports TheWhiteDog9487 to a random point within a radius of 1000 centered at (0,0).

  • /rtp 1000 10000 10000
    Teleports the player to a random point within a radius of 1000 centered at (10000,10000).

  • /rtp 1000 TheWhiteDog9487 TheWhiteDog_CN
    Teleports TheWhiteDog9487 to a random point within a radius of 1000 centered at TheWhiteDog_CN's location.

  • /rtp 1000 TheWhiteDog9487 10000 10000
    Teleports TheWhiteDog9487 to a random point within a radius of 1000 centered at (10000,10000).

  • /rtp TheWhiteDog9487 1000 TheWhiteDog_CN
    Teleports TheWhiteDog9487 to a random point within a radius of 1000 centered at TheWhiteDog_CN's location.

  • /rtp TheWhiteDog9487 1000 10000 10000
    Teleports TheWhiteDog9487 to a random point within a radius of 1000 centered at (10000,10000).

  • /rtp 10000.0 10000.0 20000.0 20000.0
    Teleports the player to a random point within the rectangular region formed by the vertices (10000,10000), (20000,10000), (20000,20000), and (10000,20000).
    You only need to provide any one vertex of the rectangle and the diagonally opposite vertex.

  • /rtp TheWhiteDog9487 10000.0 10000.0 20000.0 20000.0
    Teleports TheWhiteDog9487 to a random point within the same rectangular region described above.

  • /rtp 10000.0 10000.0 20000.0 20000.0 TheWhiteDog9487
    Teleports TheWhiteDog9487 to a random point within the same rectangular region described above.

  • /rtp TheWhiteDog9487 TheWhiteDog_CN
    Teleports the command executor to a random point within a rectangular region whose diagonals are the current positions of TheWhiteDog9487 and TheWhiteDog_CN.

  • /rtp TheWhiteDog9487 TheWhiteDog_CN TheWhiteDog4568
    Teleports TheWhiteDog4568 to a random point within a rectangular region whose diagonals are the current positions of TheWhiteDog9487 and TheWhiteDog_CN.

Special Notes

The format /rtp <Radius> <OriginEntity> does not exist because the second parameter could be either the teleported player's name or the entity used as the random center. Both are entity types, so there is no way to tell which one it is. Likewise, /rtp <PlayerID> <RegionFromEntity> <RegionToEntity> does not exist either, because all three parameters are entity types, making it impossible to determine which one is the player ID.

Dependencies

Supported Game Versions

Currently, only the latest official release is actively supported.

About Player Permissions

Following the vanilla /tp command, /rtp is set to require permission level 2. In vanilla or vanilla-like environments, players only need cheat permissions enabled to use it. As for plugin servers, I do not have enough firsthand experience to give specific advice about permission setup.

Install on the Client or on the Server?

It depends on the case:

  1. Singleplayer
    1. There is no physical server, so the server side does not matter.
    2. Installing it on the client is enough.
  2. Singleplayer + Open to LAN
    1. This uses the client’s built-in server, so the player who opens the LAN world needs the mod installed on their client.
    2. Other players who join do not need to install it.
  3. Dedicated server (something like a server.jar file)
    1. The server needs the mod installed.
    2. Clients do not need it.

Note: In cases 2 and 3, if other players do not install this mod, they will not be able to see the command feedback in the correct translated language, and the default display in that case is Chinese text. If you need to view multilingual translation text, it is probably best for everyone to install it.

How to Install RandomTeleporter (Mod)

RandomTeleporter by TheWhiteDog9487 is verified for Fabric across Minecraft versions 1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2 (latest release: 0.5.4, file size: 81 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.20.4, 1.20.5, 1.20.6, 1.21, 1.21.1, 1.21.10, 1.21.11, 1.21.2) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded RandomTeleporter file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Fabric
2mo ago 1
26.2
Fabric
5mo ago 1
26.2
Fabric
5mo ago 1
26.1.2
Fabric
5mo ago 1
26.1.2
Fabric
7mo ago 1
26.1.1
Fabric
7mo ago 1
26.1
Fabric
8mo ago 1
1.21.11
Fabric
9mo ago 1
1.21.11
Fabric
11mo ago 1
1.21.10
Fabric
last yr. 1
1.21.9
Fabric
last yr. 1
1.21.9
Fabric
last yr. 1
1.21.8
Fabric
last yr. 1
1.21.7
Fabric
last yr. 1
1.21.6
Fabric
last yr. 1
1.21.6
Fabric
last yr. 1
1.21.5
Fabric
last yr. 1
1.21.4
Fabric
last yr. 1
1.21.3
Fabric
last yr. 1
1.21.3
Fabric
last yr. 1
1.21.2
Fabric
last yr. 1
1.21.1
Fabric
last yr. 1
1.21
Fabric
last yr. 1
1.21
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.20.4
Fabric
last yr. 1
1.20.4
Fabric
last yr. 1
1.20.4
Fabric
last yr. 1
1.20.4
Fabric
last yr. 1
[0.5.4] RandomTeleporter 0.5.4 by TheWhiteDog9487 on Sep 17, 2026
Download
更新到Minecraft 26.3
[0.5.4] RandomTeleporter 0.5.4 by TheWhiteDog9487 on Jun 17, 2026
Download
修复单人游戏时在世界内切换语言后命令执行失败的问题
命令提示文本在切换语言之后支持热重载了,不再需要重启集成服务器
[0.5.3] RandomTeleporter 0.5.3 by TheWhiteDog9487 on Jun 17, 2026
Download
更新到Minecraft 26.2
[0.5.3] RandomTeleporter 0.5.3 by TheWhiteDog9487 on Jun 16, 2026
Download
使用Kotlin重写

坏了搞砸了,这个更新应该跟着过一会的26.2正式版一起推的
[0.5.2] RandomTeleporter 0.5.2 by TheWhiteDog9487 on Apr 10, 2026
Download
更新到Minecraft 26.1.2
[0.5.2] RandomTeleporter 0.5.2 by TheWhiteDog9487 on Apr 04, 2026
Download
支持Minecraft 26.1.1
增加回溯到随机传送前的位置的功能
( 愚人节OTA正式版,那相当有操作了
( AI写代码未必靠谱,但是翻译还是很不错的
[0.5.1] RandomTeleporter 0.5.1 by TheWhiteDog9487 on Mar 26, 2026
Download
支持Minecraft 26.1
[0.5.0] RandomTeleporter 0.5.0 by TheWhiteDog9487 on Feb 11, 2026
Download
1. 将不存在翻译文本时的fallback文本的“被传送玩家名(PlayerID)”的中英文顺序颠倒过来变成“PlayerID(被传送玩家名)”以和其他文本保持一致
1. 支持通过对角线坐标设置随机坐标选取范围

远离边界这个保护的实现有问题,然后地狱末地什么玩意的也不对,重试机制也不存在,这些之后再鸽
然后按照惯例来说加新功能=加新Bug,所以这次先开在beta通道
[0.4.0] RandomTeleporter 0.4.0 by TheWhiteDog9487 on Dec 11, 2025
Download
更新到Minecraft 1.21.11

想看0.4.0相较0.3.6改了些什么的话请看[这个](https://modrinth.com/mod/randomteleporter/version/0.4.0)
[0.4.0] RandomTeleporter 0.4.0 by TheWhiteDog9487 on Oct 08, 2025
Download
更新到Minecraft 1.21.10

想看0.4.0相较0.3.6改了些什么的话请看[这个](https://modrinth.com/mod/randomteleporter/version/0.4.0)
[0.4.0] RandomTeleporter 0.4.0 by TheWhiteDog9487 on Oct 05, 2025
Download
大的来力!

1. 输入的半径参数不再允许小于0
2. 如果命令执行者和被传送实体不在同一世界内,现在以被传送实体所在世界为准
3. 将以前的从Y=320向下暴力搜索第一个非空气方块改为让Minecraft内部机制自己找可以站人的坐标。代码简单多了但是现在这样可能出现趴在一格高空气内上方是树叶的情况,应该问题不大?
4. 现在在传送之后会被替换为保护平台方块(现在是玻璃)的有:
1. 空气
2. 水
3. 岩浆
4. 一格高的草
5. 藤蔓
5. 命令参数的提示文本现在可以被翻译为其他语言了,但是:
1. 这个功能在独立服务器上不生效,因为独立服务器改不了语言
2. 单人游戏内更改语言的话必须重进世界才能生效,这个我没办法解决因为命令解析器不接受Text类型只能用原始String
3. 开放到局域网的话语言应该是以开放的那台主机为准

我是觉着这波机制大改应该又会出不少Bug
[0.3.6] RandomTeleporter 0.3.6 by TheWhiteDog9487 on Oct 03, 2025
Download
更新至Minecraft 1.21.9
[0.3.6] RandomTeleporter 0.3.6 by TheWhiteDog9487 on Jul 18, 2025
Download
更新至Minecraft 1.21.8

Feature Drop和Bugfix混用小版本号的话,年底,不,甚至暑假结束之前有望突破1.21.10
[0.3.6] RandomTeleporter 0.3.6 by TheWhiteDog9487 on Jul 01, 2025
Download
更新至Minecraft 1.21.7

La-la-la-lava, ch-ch-ch-chicken
Steve's Lava Chicken, yeah, it's tasty as hell
Ooh, mamacita, now you're ringin' the bell
Crispy and juicy, now you're havin' a snack
Ooh, super spicy, it's a lava attack
[0.3.6] RandomTeleporter 0.3.6 by TheWhiteDog9487 on Jun 18, 2025
Download
0.3.6
小更改,正常用应该是感受不到的。
当随机半径被设置为0的时候不会再抛出异常而导致命令运行失败了。
手动处理了这个部分,向玩家发送警告并根据随机中心点是否被设置而决定是否进行传送。
RandomTeleporter Icon
Download RandomTeleporter
Select game version
Select platform