Project Zomboid Server Configuration: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
m Add link to the game service page (internal linking sweep)
[wiki:ss-claude-11372] Fixes: wrong or outdated steps, labels and facts corrected, current pictures, dead links fixed, search title and description
Line 1: Line 1:
{{#seo:
|title=Project Zomboid Server Settings, Spawn Points and Regions
|description=Change Project Zomboid server settings in MyWorld.ini and MyWorld_SandboxVars.lua over FTP or in the Admin Panel, and set a spawn point or spawn regions.
}}
==Changing Settings==
==Changing Settings==
Server settings can be changed using [[FTP_Access | FTP]] or using the Admin panel.
Server settings can be changed using [[FTP_Access | FTP]] or using the Admin panel.
You can also use '''Server Config''' under '''TOOLS'''. Saving it rewrites these files, replacing any FTP change to the same setting.
===FTP===
===FTP===
#After logging in using FTP, nagivate to '''\Server'''.
#After logging in using FTP, navigate to '''\Server'''.
#By default, you will find two files with the extensions '''MyWorld.ini''' and '''MyWorld_SandboxVars.lua'''.
#By default, you will find two files with the extensions '''MyWorld.ini''' and '''MyWorld_SandboxVars.lua'''.
#The setting/settings you are looking to change will determine which file to open.
#The setting/settings you are looking to change will determine which file to open.
Line 9: Line 14:


===Admin Panel===
===Admin Panel===
#Grant yourself admin using '''/setaccesslevel "username" admin''' in chat.<br>"By default, the server owner can gain admin rights by logging in to their server using the username "admin" and their RCON password, which is located in their control panel."  
#Grant yourself admin using '''/setaccesslevel "username" admin''' in chat.<br>"By default, the server owner can gain admin rights by logging in to their server using the username "admin" and their RCON password, which is the '''RCON Pass''' in their Command Center."  
#Pressing "Esc" on your keyboard will open up a menu and the Admin Panel can then be selected.
#Pressing "Esc" on your keyboard will open up a menu and the Admin Panel can then be selected.


=Custom Spawn Points=
==Custom Spawn Points==
Spawn points can be forced per coordinates or given as a choice per region.
Spawn points can be forced per coordinates or given as a choice per region.


===Coordinates===
===Coordinates===
#Using FTP, open '''MyWorld.ini''' by default in \GameServerID\Server and change '''SpawnPoint=0,0,0''' to the coordinates where you want all players to spawn.<br>"Coordinates can be located on [https://map.projectzomboid.com/ the Project Zomboid map]"
#Using FTP, open '''MyWorld.ini''' by default in \Server and change '''SpawnPoint=0,0,0''' to the coordinates where you want all players to spawn.<br>"Coordinates can be located on [https://map.projectzomboid.com/ the Project Zomboid map]"


===Regions===
===Regions===
#Using FTP, open '''MyWorld_spawnregions.lua''' in \GameServerID\Server.<br>
#Using FTP, open '''MyWorld_spawnregions.lua''' in \Server.<br>
#If the file does not exist, you can create the file. An example file can be found [https://drive.google.com/file/d/1LVoAh8L6ali6ci25NOYf7idgMtfkUyiB/view?usp=sharing HERE].<br>''Example: For all default maps.''<br>[[File:Custom_spawn_regions.png]]
#If the file does not exist, you can create the file. An example file can be found [https://drive.google.com/file/d/1LVoAh8L6ali6ci25NOYf7idgMtfkUyiB/view?usp=sharing on Google Drive].<br>''Example: the four towns the game lists by default.''<br>[[File:Custom_spawn_regions.png|alt=MyWorld_spawnregions.lua listing Muldraugh, Riverside, Rosewood and West Point as the towns players can spawn in.]]
#In the '''MyWorld.ini''', be sure '''SpawnRegions=MyWorld_spawnregions.lua''' is set.
#On Build 41, be sure '''SpawnRegions=MyWorld_spawnregions.lua''' is set in the '''MyWorld.ini'''. Build 42's '''MyWorld.ini''' has no such line.
#You would remove or add the regions you would like to have as options for players to spawn at.<br> "Custom maps from mods can also be added after being added properly" ->[[Project_Zomboid_How_to_Add_Mods|Adding Mods]].
#You would remove or add the regions you would like to have as options for players to spawn at.<br> "Custom maps from mods can also be added after being added properly" ->[[Project_Zomboid_How_to_Add_Mods|Adding Mods]].


Don't have a server yet? [https://www.survivalservers.com/services/game_servers/project_zomboid/ Rent a Project Zomboid server] from Survival Servers and be online in minutes.
Don't have a server yet? [https://www.survivalservers.com/services/game_servers/project_zomboid/ Rent a Project Zomboid server] from Survival Servers and be online in minutes.

Revision as of 20:37, 14 October 2026

Changing Settings

Server settings can be changed using FTP or using the Admin panel. You can also use Server Config under TOOLS. Saving it rewrites these files, replacing any FTP change to the same setting.

FTP

  1. After logging in using FTP, navigate to \Server.
  2. By default, you will find two files with the extensions MyWorld.ini and MyWorld_SandboxVars.lua.
  3. The setting/settings you are looking to change will determine which file to open.
  4. The .ini file will be general server settings, while the .lua will be your sandbox settings.
  5. After your changes are made, save the file and restart the server if needed.

Admin Panel

  1. Grant yourself admin using /setaccesslevel "username" admin in chat.
    "By default, the server owner can gain admin rights by logging in to their server using the username "admin" and their RCON password, which is the RCON Pass in their Command Center."
  2. Pressing "Esc" on your keyboard will open up a menu and the Admin Panel can then be selected.

Custom Spawn Points

Spawn points can be forced per coordinates or given as a choice per region.

Coordinates

  1. Using FTP, open MyWorld.ini by default in \Server and change SpawnPoint=0,0,0 to the coordinates where you want all players to spawn.
    "Coordinates can be located on the Project Zomboid map"

Regions

  1. Using FTP, open MyWorld_spawnregions.lua in \Server.
  2. If the file does not exist, you can create the file. An example file can be found on Google Drive.
    Example: the four towns the game lists by default.
    MyWorld_spawnregions.lua listing Muldraugh, Riverside, Rosewood and West Point as the towns players can spawn in.
  3. On Build 41, be sure SpawnRegions=MyWorld_spawnregions.lua is set in the MyWorld.ini. Build 42's MyWorld.ini has no such line.
  4. You would remove or add the regions you would like to have as options for players to spawn at.
    "Custom maps from mods can also be added after being added properly" ->Adding Mods.

Don't have a server yet? Rent a Project Zomboid server from Survival Servers and be online in minutes.