Download SpawnFix — Minecraft Mods — MetaMods
SpawnFix

SpawnFix

Active

Downloads

0

Last update

1 year ago

Versions

1.17 — 1.20.2
Server
Game mechanics
Control
Utils

SpawnFix

This plugin is designed to resolve conflicts with other modifications that alter the default player spawning and login behavior. It ensures controlled spawn management regardless of installed additions.

Setting the Spawn Point

The default location can be configured in two ways: manually editing the configuration file ("default" section) or directly in-game by executing "/sf setSpawn" from the desired position. When using the second method, the system automatically records both coordinates and the character's viewing direction.

Operational Logic

During the first connection to the server, the player is moved to the point specified in the "default" settings. For subsequent logins, the last known login position is used. The "login" section allows flexible customization of this behavior. Upon respawning after death, the character appears either at the set respawn point or (if none exists) at the default location - the "onSpawn" parameters control this functionality.

Technical Features

Forced relocation is implemented through multiple teleportations of the player to the target point. Settings in the "teleport" section regulate the number of attempts and intervals between them.

Compatibility

Supports Spigot-based servers versions 1.17-1.20.2 (as of publication).

Management Commands

  • setSpawn — saves the current position as the main spawn point
  • tp — instantly moves to the plugin's main spawn point
  • reload — forcibly reloads configuration files
  • help — displays command reference information in the game chat

Configuration Settings

Basic Parameters (default)

  • worldName — determines the spawn world by directory name (e.g.: "world" for overworld, "world_nether" for nether)
  • x/y/z — spawn point coordinates
  • yaw/pitch — viewing direction parameters

Teleportation System (teleport)

  • times — number of relocation attempts to login/respawn point
  • retryInterval — delay between teleportations in ticks

Login Behavior (login)

  • "every" — forced relocation on every login
  • "first" — only on first connection after restart
  • "never" — function disable

Respawn Policy (onSpawn)

  • "every" — teleportation to spawn point on every respawn
  • "never" — preservation of standard game behavior
Project members
Mapty231

Mapty231

Developer

Created: 18 Nov 2023

ID: 18334