Setting the spawn
Stand where new players should arrive, run one command, and test it.
Set the spawn
- Stand exactly where new players should appear, and look the way they should face.
- Run
/asetspawnpoint. You needalphafirstspawn.admin, and the command works for players only. - Done. The plugin writes
spawn.world,x,y,z,yawandpitchtoconfig.yml, turnsspawn.enabledon 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
- Only a player who has never played on this server before. The check is the server own record of whether they have played.
- The teleport runs a moment after they join, so they appear at the spawn.
- Returning players are never moved by this plugin.
- Nothing happens while
spawn.enabledis false, which is the shipped default until you run the command.
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.
