If you want to customize where players spawn on the map, you can use these steps to get the coordinates you want and set them. Make sure to note that these work on a per map basis, meaning the spawnpoints will be set for a RWG or progenerated map, not save specific.
This is an advanced guide, use at your own risk.
1. Log into your server, go to where you want to spawn, and press F1
on your keyboard.
2. Type the command listplayers
3. This command will list all players and their locations. Look for yours, and remember these coordinates for later.
4. Open the File Manager
5. Navigate to your map folder. If you use a Pregen or Navezgane, your map folder will be located in /steacmd/7D2D/Data/Worlds/
. If you uploaded your own map or used RWG, your map folder will be located in .local/share/7DayToDie/GeneratedWorlds/
.
6. Inside your map folder, you'll see files similar to this. Right click and click edit on spawnpoints.xml
7. Each line is a different random spawnpoint. If you want multiple, you can edit each line. For this guide, I only want one spawnpoint, so I can remove the other lines.
8. Now, replace the coordinates with the ones from the listplayers
command.
9. Save the file and Restart the server.