Перейти к содержимому
Mineforgian

dRandomSpawn

Get random spawns, unique for every player. Lava excluded.

Загрузки
1K
Подписчики
0
Обновлён
25 марта 2026 г.
Лицензия
LGPL-3.0-only

Опубликован 8 июля 2025 г.

dRandomSpawn

Get random spawns, unique for every player. Lava excluded.

Features

  • New players start at a safe random location instead of piling up at world spawn.
  • Bedless respawns can reuse the same saved spawn or roll a fresh one each time.
  • Beds, respawn anchors, and /spawnpoint can be respected or ignored.
  • You can block unwanted biomes and dangerous blocks from random spawns.
  • Included commands let you view, reroll, or set saved spawns.

Commands

  • /drandomspawn get_spawn [player]: Shows a saved spawn point. Specifying a player requires OP.
  • /drandomspawn random_teleport [player]: Sends you or another player to a new random spawn. Requires OP.
  • /drandomspawn set_spawn [player] [x] [y] [z]: Sets a player's saved spawn manually. Requires OP.

Configuration

Notable config options in dRandomSpawn.toml:

  • useSpectatorLock: Briefly locks the player and hides loading while a random spawn is being found.
  • ignoreRespawnPoint: Ignores beds, respawn anchors, and /spawnpoint, so the mod handles every respawn.
  • alwaysRandomSpawn: Gives a fresh random spawn on each mod-handled respawn instead of reusing the saved one.
  • biomeBlacklist: Lists biomes that should never be used for random spawns.
  • blockBlacklist: Lists blocks that players should never spawn on.

Respawn behavior combinations:

  • ignoreRespawnPoint = false, alwaysRandomSpawn = false: Beds and anchors work normally. Otherwise, players return to their saved random spawn.
  • ignoreRespawnPoint = false, alwaysRandomSpawn = true: Beds and anchors work normally. Otherwise, players get a fresh random spawn each time.
  • ignoreRespawnPoint = true, alwaysRandomSpawn = false: Beds and anchors are ignored. Players return to their saved random spawn.
  • ignoreRespawnPoint = true, alwaysRandomSpawn = true: Beds and anchors are ignored. Players get a fresh random spawn on every respawn.

Credits

This project is a heavily revamped fork of the original RandomSpawn project by rinko1231, released under MIT; the original license is available under LICENSE.original.md.

Feature requests

Hit me up on GitHub issues, I'll probably do it.

Ченджлог

1.4.0+1.20.1Релиз1.20.1 · 25 марта 2026 г.

Two new config options:

  • ignoreRespawnPoint: Ignores set spawnpoints through beds or respawn anchors. The mod handles all respawns.
  • alwaysRandomRespawn: The mod doesn't save the coordinates on spawn, and a new location is generated for each respawn.
1.3.0+1.20.1Релиз1.20.1 · 10 июля 2025 г.

New Features:

  • Added a minDistance option to the config to control how close to world spawn you can appear.
  • Added a /drandomspawn set_spawn command for server admins.
  • Added a darkness effect during the spawn search for a smoother experience.

Fixes:

  • Fixed a major bug where the new random spawn point wasn't saving correctly.
1.2.0+1.20.1Релиз1.20.1 · 9 июля 2025 г.

Enhancements and Refinements:

  • Codebase refactored for improved readability and maintainability.
  • Several commands have been renamed for clearer and more intuitive usage.
  • Added a new player argument to the random_teleport command, enhancing its flexibility.
1.1.0+1.20.1Релиз1.20.1 · 9 июля 2025 г.

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.
1.0.0+1.20.1Релиз1.20.1 · 8 июля 2025 г.

🎉 First Release!

Комментарии

Загружаем…