Compatibility
Minecraft: Java Edition
1.21.1
Platforms
Supported environments
Creators
Details
Licensed MIT
Published last week
Updated 2 weeks ago
SpawnPointRestrictor
A server-side NeoForge 1.21.1 mod that restricts players from setting spawn points outside a configurable geographic boundary.
Features
- Geo-fenced spawns — Prevent players from setting their spawn point (beds, respawn anchors) outside a defined area
- Flexible boundaries — Configure circular or rectangular geo-fence shapes
- Nether support — Respawn anchors checked with proper 8:1 coordinate scaling to match Overworld boundaries
- Login validation — Automatically clears invalid spawn points when players join if boundaries have changed
- Command bypass — Optionally allow
/spawnpointcommand to bypass restrictions
Requirements
- Minecraft 1.21.1
- NeoForge
Configuration
The mod uses server-side configuration (spawnpointrestrictor-server.toml).
Geo-fence Definition
| Option | Default | Description |
|---|---|---|
enabled |
true |
Master toggle for the restriction system |
shape |
CIRCULAR |
Boundary shape: CIRCULAR or RECTANGULAR |
centerX |
0 |
X coordinate of the geo-fence center |
centerZ |
0 |
Z coordinate of the geo-fence center |
radius |
1000 |
Radius for circular boundaries (blocks) |
halfWidth |
500 |
Half-width in X direction for rectangular boundaries |
halfLength |
500 |
Half-length in Z direction for rectangular boundaries |
Behavior Toggles
| Option | Default | Description |
|---|---|---|
allowWorldSpawnReset |
true |
Allow players to clear their spawn (reset to world spawn) |
commandBypass |
true |
Allow /spawnpoint command to bypass restrictions |
checkRespawnAnchors |
true |
Apply restrictions to Nether respawn anchors |
opBypassLoginCheck |
true |
Allow operators to keep out-of-bounds spawns on login |


