Skip to main content
Dan's Plugins Community
All guidesDan's Spawn System plugin page

Dan's Spawn System Guide

0

User Guide

Prerequisites

  • A Spigot or Paper Minecraft server, 1.19.4 or later (see Supported Minecraft Versions for the versions each release is tested on)
  • The Dans-Spawn-System plugin installed in your plugins/ folder

First Steps

After installing the plugin and restarting your server, players can have their respawn location customised by interacting with spawn-selection signs placed by administrators.

Common Scenarios

Setting Up a Spawn Selection Sign (Admin)

  1. Place a sign in the world.
  2. On the first line of the sign, type [Spawn].
  3. On the second line, enter the X coordinate of the target spawn location.
  4. On the third line, enter the Y coordinate.
  5. On the fourth line, enter the Z coordinate.
  6. Confirm placement — you will see a green confirmation message if you have the required permission.

[Spawn] is case-sensitive: it needs the capital S and the square brackets. A first line of [spawn] or Spawn makes an ordinary sign, which does nothing when right-clicked and isn't protected as a spawn sign. Other text around [Spawn] on the first line is allowed (Town [Spawn] works).

Write the text on the front of the sign. On Minecraft 1.20 and later, where signs have two sides, only the front is read when the sign is right-clicked or broken. A [Spawn] written on the back still shows the green confirmation, but the sign does nothing when right-clicked and isn't protected as a spawn sign.

Without spawnsystem.placeSpawnSign (or spawnsystem.admin), you are told which permission you need, and the sign edit is cancelled, so the sign doesn't become a spawn sign.

Example sign contents:

[Spawn]
100
64
-200

Players who right-click this sign will have their respawn point set to coordinates (100, 64, -200) in their current world.

The coordinates have to be whole numbers (100, not 100.5) with nothing else on the line. If a line can't be read as a whole number, a player who right-clicks the sign is told that its coordinates couldn't be read, no spawn is set, and a warning naming the sign's location is written to the server console.

Selecting a Spawn (Player)

Simply right-click any [Spawn] sign to set your personal respawn location to the coordinates written on that sign. You are teleported to those coordinates straight away, and told Spawn set!.

The spawn is the exact point the sign names, which is the corner of that block rather than its centre, and you arrive facing south (towards positive Z). The same applies each time you are teleported there on respawning. When choosing coordinates for a sign, pick a spot with open space around that corner, so players don't arrive pressed against a wall.

A spawn can only be selected once. Right-clicking another [Spawn] sign afterwards tells you that you have already set your spawn; it has to be reset with /resetspawn (by you, if you have spawnsystem.reset.self, or by an admin) before you can choose again. A sign whose coordinates can't be read is the exception: right-clicking it tells you that its coordinates couldn't be read, even if you have already set your spawn, and your spawn is kept as it was.

Resetting a Player's Spawn (Admin)

Use the /resetspawn command to clear a player's custom spawn:

  • Reset your own spawn: /resetspawn
  • Reset another player's spawn: /resetspawn <player>

Once reset, the player respawns as they would without the plugin, and can select a spawn again by right-clicking a [Spawn] sign.

See COMMANDS.md for full command details.

How Respawning Works

  • Custom spawn: a player with a custom spawn is teleported to it just after respawning, with the message "Teleporting to custom spawn!".
  • Beds take precedence: a player who has a bed spawn respawns at the bed as normal; their custom spawn is kept but not used while the bed spawn exists.
  • Protected signs: breaking a [Spawn] sign, or any block directly touching one (above, below, or on any side), requires spawnsystem.breakSpawnSign. A sign touching a [Spawn] sign is the exception: unless it is a [Spawn] sign itself, anyone can break it. Only blocks broken by a player are checked; explosions, fire and pistons are not stopped. Breaking a [Spawn] sign itself is confirmed with Spawn selection sign broken!; breaking a block touching one is confirmed with Block next to a spawn selection sign broken!, whether or not the sign falls with it.
  • Experience on death: while the plugin is installed, every player on the server keeps their experience level when they die and drops no experience orbs, whether or not they have a custom spawn.

Permissions

Permission NodeDefaultDescription
spawnsystem.placeSpawnSignopAllows placing [Spawn] signs
spawnsystem.breakSpawnSignopAllows breaking [Spawn] signs and the blocks directly touching them
spawnsystem.reset.selfopAllows resetting your own spawn with /resetspawn
spawnsystem.reset.othersopAllows resetting another player's spawn with /resetspawn <player>
spawnsystem.adminopGrants all plugin permissions
Back to topDan's Spawn System plugin pageView this guide on GitHub