SP MOD banner
SP MOD icon

SP MOD

Add Minecraft 1.20.1 server-side mod (Java 21) creating two under-bedrock points: SPAWN and OPP; allow OPs to build under bedrock, block destruction under...

00
fabricServer1.20.1mod

SP MOD adds two under-bedrock points (SPAWN and OPP), join teleport, and safe return to survival spots for Minecraft 1.20.1 servers (Fabric, Java 21).

  • SPAWN and OPP are stored with dimension, coordinates, and facing; data is persisted in spmod_data.json in the server directory.
  • Players are teleported to SPAWN on join when it is set; their current location is saved as their survival return point before the move.
  • Survival return locations are updated on join, on disconnect, and before teleporting to SPAWN or OPP; /tpsurvival sends players back to their saved survival position when available.
  • Block breaking under bedrock is blocked for non-OP players (within five blocks of the world bottom or when bedrock is detected just overhead); OPs are exempt so they can build and maintain the area.
  • Commands:
    • OPs: /setspawn, /delspawn, /setopp, /delopp, /tpopp [targets]
    • Players: /tpspawn (only when SPAWN exists), /tpsurvival
  • If SPAWN is unset, join teleporting is skipped and /tpspawn is disabled. If OPP is unset, /tpopp is disabled. Teleports fail gracefully when the saved world is missing or invalid.