Mineuniverse
Log in Register
Mods

Spawn Travel

A Simple Server-Side Mod With Simple Commands...
by gkaze77
Download Claim this project
1,885 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Server Utility

 

SERVER ONLY MOD (DOES NOTHING  IN SINGLEPLAYER)

Most of my mods, I typically just make for myself.. The useful ones I tend to put on curse!

 

For now this mod adds a command that will randomly teleport the player a certain distance away from there location.. The only catch is that this command only works at spawn so teleportation can't really be abused much...

 

Usage: /travel (distance)

Example: /travel 500
The above example will teleport the user randomly 500 blocks away from their current position..

Code breakdown:

Basically whenever a player attempts to travel, the mod checks the config if the command meets the requirements, after it verifies it does, it then proceeds to do calculations to determine the best 'random' location to teleport the player to that's on the surface.. afterwards it has the server issue the /tp command to the player. So instead of just teleporting the player, having the sever command teleport might leave logs in case the location of teleportation is needed...

 

Config: (Allows setting of the following);

 

Control The Min/Max Possible Distance
How Close A Player Must Be To Spawn In Order To Travel
Does The Player Need To Be At Spawn To Travel

Recommended Config Settings:

I:"Max Teleportation Distance"=800
I:"Min Teleportation Distance"=400
I:"Must Be Within 'X' Blocks of Spawn To Teleport"=30
B:"Teleport From Spawn Only"=true
 
[1.12.2]-Spawn-Travel_v0.0.1_BETA.jar
MC 1.12.2
Beta 2018-07-11 Get

More from gkaze77

Rhodium Tools
807
Better Farmland
54,733
Energy Conversion
403
Wither Enhancement
3,118
Erase The Pain
31
Underwater Chest Bubbles
158,919

You Might Also Like

APTweaks: Items (11.x Classic)
Item clustering (fallen blocks, experience orbs, ...) and garbage cleanup.
9,884,514
VanillaDeathChest (Fabric)
Places containers when players die that contain their items.
994,762
Styled Nicknames
Simple, but configurable nicknaming mod allowing your server's players (and admins) to change their nickname with full formatting support
989,499
Tiquality
Make server lag the problem of the source player.
99,489
Blame (Fabric)
Those gosh darn crashlogs not saying which worldgen feature is crashing!
99,012
Weathering with You
Forecast Minecraft weather with a radar or a hat!
98,579