dRandomSpawn

dRandomSpawn

Mod

A simple mod that teleports new players to a random location and sets it as their spawn.

Client and server AdventureGame MechanicsTransportationUtility

90 downloads
0 followers
Follow Save

dRandomSpawn 1.1.0+1.20.1

Changelog

Version 1.1.0+1.20.1

Key Features

Asynchronous Random Spawn Generation

Initial random spawn searches for new players and subsequent respawns now execute on a separate thread. This significantly reduces server-side lag and stuttering that could occur during these events, providing a smoother experience for players and server administrators.

🛡️ Optional Spectator Mode Lock

A new configurable option (useSpectatorLock) allows players to be temporarily placed into spectator mode during the random spawn search. This feature prevents unintended player movement or interaction with the world while a safe location is being determined, ensuring a seamless and controlled transition.

Improvements & Refinements

  • Refined Respawn Logic: The mod now intelligently respects player-set respawn points (beds, respawn anchors, and /spawnpoint command). A unique random spawn will only be assigned or reused if no other specific respawn point is defined for the player.
  • Enhanced Command System:
    • The /drandomspawn rtp command has been updated to utilize the new asynchronous search, providing immediate "searching..." feedback and improved responsiveness.
    • The /drandomspawn getSpawn command's logic has been consolidated for clarity, and its permission checks have been precisely applied.
  • Standardized Messaging: All in-game messages have been reviewed and standardized for improved clarity and consistency in player feedback.

Miscellaneous

  • Internal Refinements: Significant internal code restructuring has been performed to enhance the mod's overall performance, stability, and maintainability.

Files

drandomspawn-1.1.0+1.20.1.jar(30.55 KiB) Primary Download

Project members

drag0n1zed

Member

Details

Licensed LGPL-3.0-only
Published 2 months ago
Updated 2 months ago