AlphaFirstSpawnDocs v2.0.0
AlphaFirstSpawnGuidesSetting the spawn

Setting the spawn

Stand where new players should arrive, run one command, and test it.

On this page

Set the spawn

  1. Stand exactly where new players should appear, and look the way they should face.
  2. Run /asetspawnpoint. You need alphafirstspawn.admin, and the command works for players only.
  3. Done. The plugin writes spawn.world, x, y, z, yaw and pitch to config.yml, turns spawn.enabled on and applies it straight away, no restart needed.

Run the command again anywhere to move the spawn. The new point replaces the old one.

Who is teleported

Testing

A normal test account will not work twice, because it has already played. To test again, use a fresh account, or remove the test player from the world playerdata folder and rejoin. Back up before you delete anything.

Setting it by hand

spawn:
  enabled: true
  world: world
  x: 0.5
  y: 64.0
  z: 0.5
  yaw: 0.0
  pitch: 0.0

Restart the server after editing the file by hand. The world must be loaded when the plugin starts, or the spawn is turned off for that run with a console warning.