
tp
Create a Minecraft server-side mod that adds a command called ++tp. When a player runs ++tp: - Detect all online players on the server. - Randomly select one...
00—FreefabricClient1.21.1mod
Random Teleport Mod
Overview
This mod adds a fun random teleport feature to your server! When you use the command, you'll be instantly teleported to a random online player. It's great for minigames, social servers, or just adding some chaos to your world.
Features
- Random teleportation to any online player
- Automatic selection - no need to choose who to teleport to
- Works on multiplayer servers
- Simple one-command activation
How to Use
- Join a multiplayer server with this mod installed
- Type
++tpin chat or in the command console - You'll be teleported to a random player instantly!
- If you're the only player online, you'll see "No players available to teleport."
Tips & Tricks
- Use this for surprise encounters or hide-and-seek games
- Great for servers with lots of players - you never know where you'll end up!
- Works best on servers with multiple players online
Known Limitations
- Cannot teleport to yourself (you're automatically excluded from the random selection)
- Requires at least one other player online to work