RandomSpawn

From aquila
Jump to navigation Jump to search

RandomSpawn gives every new player a choice of where in the world they start, instead of dropping everyone at the same spawn point. It also includes a one time "Friend TP" command so new players can quickly join a friend who's already playing.

What RandomSpawn Does

  • On your first join (or if you haven't finished choosing a spawn yet), you're shown a menu to pick which direction of the world you want to spawn in
  • Finds a safe location in that direction (avoiding water, lava, and the area right around world spawn)
  • Permanently sets that location as your respawn point
  • Gives new players a one time Friend TP command to instantly teleport to an online friend and move their spawn point there instead

Choosing Your Spawn

The first time you join the server, you'll be shown a menu titled "Choose Your Spawn" with five options:

Option What it does
North (red banner) Spawns you somewhere north
South (green banner) Spawns you somewhere south
East (blue banner) Spawns you somewhere east
West (yellow banner) Spawns you somewhere west
Random (compass) Spawns you in a random direction

Click one to be teleported there right away. You must choose one to continue. if you close the menu without picking, it will pop back open. If you die and respawn before making a choice, you'll also be shown the menu again.

Once you've picked a spawn, that choice is permanent for your account! it won't ask again.

Friend TP

New players get one free teleport to any other online player, as a quick way to link up with friends.

/friendtp <player>

  • Teleports you directly to the named player (they must be online)
  • Sets your respawn point to that location
  • Can only be used once per player, and only within the first 7 days after your first join, after that, it expires
  • You can't use it on yourself

Once used (or expired), the command will tell you it's no longer available.

Server Configuration

Setting Default What it controls
spawn.world world Which world players are spawned into
spawn.minimum-radius 1000 Closest distance from world spawn a player can land
spawn.maximum-radius 10000 Farthest distance from world spawn a player can land
spawn.max-attempts 50 How many times the plugin tries to find a safe spot before falling back to world spawn
friendtp.enabled true Whether the Friend TP command is available
friendtp.duration-days 7 How many days after first join Friend TP remains usable