NxTSpawn

NxTSpawn

Lightweight spawn management for Paper servers — /setspawn, /spawn, first-join and respawn teleport, with configurable messages.

3 downloads
1 followers

NxTSpawn

A small, focused Paper plugin for managing a server's spawn point — nothing else.

Spun out of a larger private plugin because spawn handling doesn't need to drag along fifty unrelated features. If all you want is /spawn, /setspawn, and sane first-join / respawn behaviour, this is it.

Features

  • /setspawn — set the server spawn at your current location
  • /setspawn clear — remove it
  • /spawn — teleport to the server spawn
  • Teleport new players to spawn on their first join, with a configurable welcome message
  • Optionally teleport returning players to spawn on every join (off by default)
  • Send players to spawn on death, respecting beds and respawn anchors (configurable)
  • All player-facing messages are editable in config.yml

Requirements

  • Paper (or a Paper fork) for Minecraft 1.21.x
  • Java 21

Installation

  1. Grab the latest NxTSpawn.jar from Releases (or build it yourself, see below).
  2. Drop it in your server's plugins/ folder.
  3. Restart the server.
  4. Stand where you want spawn to be and run /setspawn.

Commands & Permissions

Command Permission Default Description
/setspawn nxtspawn.setspawn op Set the server spawn at your location
/setspawn clear nxtspawn.setspawn op Remove the server spawn
/spawn nxtspawn.spawn false Teleport to the server spawn

nxtspawn.spawn defaults to false so you can decide whether /spawn is open to everyone or gated behind a rank — grant it through your permissions plugin (LuckPerms, etc.) as needed.

Configuration

config.yml, generated on first run:

first-join:
  teleport-to-spawn: true
  message: "&6Welcome to the server, &e%player%&6!"

join:
  teleport-to-spawn: false

respawn:
  teleport-to-spawn: true
  respect-bed: true

messages:
  spawn-set: "&6Spawn set to &e%world% %x%, %y%, %z%&6."
  spawn-cleared: "&eServer spawn cleared."
  spawn-unset: "&cThe server spawn is not set."
  spawn-teleported: "&6Teleported to spawn."

Edit and /reload (or restart) to apply changes.

Building from source

git clone https://github.com/barkhod/NxTSpawn.git
cd NxTSpawn
mvn clean package

The built jar will be in target/nxtspawn.jar.

Contributing

Issues and pull requests are welcome. If you're proposing a new feature, open an issue first so we can discuss whether it fits the "just spawn" scope of this plugin — for anything bigger, it probably belongs in a different plugin entirely.

License

MIT — see [LICENSE].

No gallery available for this project.