Near World Spawn

Quick rating

Near World Spawn

No reviews yet

Customize the way your world spawn is set

No Theme
No Genre
Server Utility
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
near_world_spawn-1.0.1+1.21.3.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

About

Description

CurseForge Version Discord GitHub Issues

NO PORT TO FORGE PLANNED! (but feel free to port it by yourself and link it)

Description

This mod allows you to change the way the worldspawn is set! Whether a player is joining an old server for the first time or a player died with no spawn point set, this player will roll the dice to set a new world spawn location. The random location is chosen in an area around the online players that you can customize.

For a better experience with the mod, its configuration can be changed directly in-game through new commands!

This is a short description, full description below.

FAQ

  • Do I need it on my server? Yes. This mod is server side, so you don't need it on your client

  • Can I include it in my modpack? Yes, you are free to include this mod into your modpack

  • For any other things: Feel free to share your experience, problems, enhancement ideas in the Discord server, or directly creating issues on the GitHub

Full description

If the changing area is enabled (the main purpose of the mod), when a player joins a server for the first time or dies without a spawn point set, a new worldspawn is randomly set around alive and online players from the Overworld.
Note that if no other player is found, last worldspawn will be used.

Area Shape

The shape of the area from which a random position is chosen may not necessarily contains every player. This is only the case for the BOX shape. If the player influence is different from NONE, even the BOX may not contain every player.
If only only one other player is found, the shape is necessarily a point. So, unless an expand is set, the worldspawn will be set to the other player's position.

  • BOX: A box containing every player
  • CIRCLE: A circle centered on the box, with a radius equals to the longest side of the box. If players are far from each other in one direction, this shape will contain a lot more of "empty space". Note than this is not yet the smallest bounding circle.
Show different player influences for the box shape Show different player influences for the circle shape

Player Influence

To avoid the area being too big (with too much "empty space") or too far from players, a player influence can be set. This means if there are more players in one side of the shape, the world spawn will be more likely on this side.

  • NONE: No player influence on the shape
  • AREA OFFSET: A weighted center is computed and the shape is moved toward this new center
  • AREA SHRINK: A weighted center is computed and the shape is shrink in a way that makes the shape's center match the computed one
Show different shapes for none player influence Show different shapes for area offset player influence Show different shapes for area shrink player influence

Expand

The area, no matter the shape or the player influence, may be too small if you want to encourage a bit of running, even though this mod aims to avoid loooong runs. So, you can set an expand value that will expand the shape of this number of blocks in every direction.

Show different expand values

Spawn Chunks

In Minecraft, worldspawn chunks are always loaded. Having a worldspawn that can change might be annoying if you plan to setup always loaded machines. Also, it could possibly create lags if your server is not very efficient and your worldspawn chunk radius (future gamerule) is too big.

To avoid this, you can set the (0,0,0) to be the position used for the worldspawn chunks with an option of the mod. You can always update this behavior with the command, but note that the change will be effective only after someone joins or dies.

Commands

Commands require level 2 of permission.

  • /worldspawn-modded
    Print whether the worldspawn changing area is enabled
  • /worldspawn-modded <enabled>
    Enable/Disable the worldspawn changing area
  • /worldspawn
    Print every custom worldspawn parameters
  • /worldspawn (box|circle) <expand> (none|area_offset|area_shrink)
    Set every custom worldspawn parameters
  • /worldspawn-areashape
    Print worldspawn area shape
  • /worldspawn-areashape (box|circle)
    Set worldspawn area shape
  • /worldspawn-playerinfluence
    Print worldspawn player influence
  • /worldspawn-playerinfluence (none|area_offset|area_shrink)
    Set worldspawn player influence
  • /worldspawn-expand
    Print worldspawn expand value
  • /worldspawn-expand <expand>
    Set worldspawn expand value
  • /spawnchunks Print whether the worldspawn chunks use the (0,0,0) or the last worlspawn position
  • /spawnchunks (fixed|worldspawn) Set whether we want the worldspawn chunks to use the (0,0,0) or the last worlspawn position

<enabled> is a boolean value, and <expand> is a positive integer.

Modrinth Version Discord GitHub Issues

NO PORT TO FORGE PLANNED! (but feel free to port it by yourself and link it)

Description

This mod allows you to change the way the worldspawn is set! Whether a player is joining an old server for the first time or a player died with no spawn point set, this player will roll the dice to set a new world spawn location. The random location is chosen in an area around the online players that you can customize.

For a better experience with the mod, its configuration can be changed directly in-game through new commands!

This is a short description, full description below.

FAQ

  • Do I need it on my server? Yes. This mod is server side, so you don't need it on your client

  • Can I include it in my modpack? Yes, you are free to include this mod into your modpack

  • For any other things: Feel free to share your experience, problems, enhancement ideas in the Discord server, or directly creating issues on the GitHub

Full description

If the changing area is enabled (the main purpose of the mod), when a player joins a server for the first time or dies without a spawn point set, a new worldspawn is randomly set around alive and online players from the Overworld.
Note that if no other player is found, last worldspawn will be used.

Area Shape

The shape of the area from which a random position is chosen may not necessarily contains every player. This is only the case for the BOX shape. If the player influence is different from NONE, even the BOX may not contain every player.
If only only one other player is found, the shape is necessarily a point. So, unless an expand is set, the worldspawn will be set to the other player's position.

  • BOX: A box containing every player
  • CIRCLE: A circle centered on the box, with a radius equals to the longest side of the box. If players are far from each other in one direction, this shape will contain a lot more of "empty space". Note than this is not yet the smallest bounding circle.
Show different player influences for the box shape Show different player influences for the circle shape

Player Influence

To avoid the area being too big (with too much "empty space") or too far from players, a player influence can be set. This means if there are more players in one side of the shape, the world spawn will be more likely on this side.

  • NONE: No player influence on the shape
  • AREA OFFSET: A weighted center is computed and the shape is moved toward this new center
  • AREA SHRINK: A weighted center is computed and the shape is shrink in a way that makes the shape's center match the computed one
Show different shapes for none player influence Show different shapes for area offset player influence Show different shapes for area shrink player influence

Expand

The area, no matter the shape or the player influence, may be too small if you want to encourage a bit of running, even though this mod aims to avoid loooong runs. So, you can set an expand value that will expand the shape of this number of blocks in every direction.

Show different expand values

Spawn Chunks

In Minecraft, worldspawn chunks are always loaded. Having a worldspawn that can change might be annoying if you plan to setup always loaded machines. Also, it could possibly create lags if your server is not very efficient and your worldspawn chunk radius (future gamerule) is too big.

To avoid this, you can set the (0,0,0) to be the position used for the worldspawn chunks with an option of the mod. You can always update this behavior with the command, but note that the change will be effective only after someone joins or dies.

Commands

Commands require level 2 of permission.

  • /worldspawn-modded
    Print whether the worldspawn changing area is enabled
  • /worldspawn-modded <enabled>
    Enable/Disable the worldspawn changing area
  • /worldspawn
    Print every custom worldspawn parameters
  • /worldspawn (box|circle) <expand> (none|area_offset|area_shrink)
    Set every custom worldspawn parameters
  • /worldspawn-areashape
    Print worldspawn area shape
  • /worldspawn-areashape (box|circle)
    Set worldspawn area shape
  • /worldspawn-playerinfluence
    Print worldspawn player influence
  • /worldspawn-playerinfluence (none|area_offset|area_shrink)
    Set worldspawn player influence
  • /worldspawn-expand
    Print worldspawn expand value
  • /worldspawn-expand <expand>
    Set worldspawn expand value
  • /spawnchunks Print whether the worldspawn chunks use the (0,0,0) or the last worlspawn position
  • /spawnchunks (fixed|worldspawn) Set whether we want the worldspawn chunks to use the (0,0,0) or the last worlspawn position

<enabled> is a boolean value, and <expand> is a positive integer.

Kinetic Hosting Partnership - Use code SFINC
Click Here to Support my Projects

Screenshots

Gallery

  • Box - Area Shape
    Box - Area Shape Show different player influences for the box shape
  • Circle - Area Shape
    Circle - Area Shape Show different player influences for the circle shape
  • None - Player Influence
    None - Player Influence Show different shapes for none player influence
  • Area Offset - Player Influence
    Area Offset - Player Influence Show different shapes for area offset player influence
  • Area Shrink - Player Influence
    Area Shrink - Player Influence Show different shapes for area shrink player influence
  • Expand
    Expand Show different expand values

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~1,000
Total Downloads
CurseForge
<1,000
Modrinth
~1,000
Last Updated
CurseForge
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works