promotional bannermobile promotional banner

dRandomSpawn

Get random spawns, unique for every player. Lava excluded.
Back to Files

drandomspawn-1.1.0+1.20.1.jar

File namedrandomspawn-1.1.0+1.20.1.jar
Uploader
drag0n1zeddrag0n1zed
Uploaded
Jul 9, 2025
Downloads
19
Size
30.5 KB
Mod Loaders
Forge
File ID
6748144
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:drandomspawn-1303391:6748144")

Learn more about Curse Maven

What's new

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.

This mod has no additional files