Looking for a Project Zomboid Server to rent? Rent one from us
In this guide, we are going to explain what each line on the servetest.ini in your project zomboid server.
The servertest.ini will be located on the below folder on your game panel
/home/container/.cache/Server
PVP=true
true = Players may interact with other players and can hurt other players.
PauseEmpty=false
true = Game time stops when no players are online
GlobalChat=true
true = global chat is on (chat by command /all)
ChatStreams=s,r,a,w,y,sh,f,all
Don’t change it.
Open=true
Clients may join without already having an account in the whitelist. If set to false, administrators must manually create username/password combos.
Thats mean – If false, then for the player to be able to join to the server, player must wait when administrator will add his nickname to whitle list by command:
/adduser “USERNAME” “PASSWORD”
ServerWelcomeMessage=Welcome to Project Zomboid Multiplayer!
Message that is displayed when joining the server
LogLocalChat=false
Display local chat in the chat panel(only players nearby can see it), true=on, false=off
AutoCreateUserInWhiteList=false
Add unknown usernames to the whitelist when players join. Clients supply their own username/password on joining. For Open=true servers.
If false, then admin will need add user to whitelist by:
/addusertowhitelist “username“
DisplayUserName=true
true = Display usernames above player’s heads in-game
ShowFirstAndLastName=false
true = Display first & last name above player’s heads instead of the username.
SpawnPoint=0,0,0
You can set one spawn point for all players. For choose coords check map.projectzomboid.com
When 0,0,0 = this param ignored and players can choose city to spawn (must exist ..spawnregions.lua file!!!)
SafetySystem=true
Players may enter and leave PVP mode individually. A player may hurt another player only when one or both players are in PVP mode (crossed axes to the lower right side of the screen are red). When SafetySystem=false, players are free to hurt each other any time, if PVP is enabled.
ShowSafety=true
true = Display a skull icon over the heads of players that are in PVP mode
SafetyToggleTimer=2
The time it takes for a player to enter or leave PVP mode (seconds)
SafetyCooldownTimer=3
The delay before a player may enter or leave PVP mode again after they just did so (seconds)
SpawnItems=
Item types new players spawn with. Separate multiple item types with commas
Example:
SpawnItems=Base.Axe, Base.BigHikingBag
You can check item id names in item list in admin panel or in debug panel.
DefaultPort=8766
Starting port for player data. This port will be used when players will add server by IP and port
ResetID=644516617
Determines if the server has undergone a soft-reset. If this number does match the client, the client must create a new character. Used in conjunction with PlayerServerID. Please, backup these IDs somewhere.
Mods=
Used to add mods to your server, like maps or other things.Write here mod IDs (you can check them on workshop page of mod or in mod.info file of mod)
Example:
Mods=TrueActionsDancing;Authentic Z – Current
IMPORTANT: With mod ID in this param must be added Workshop ID of this mod to param WorkshopItems=
see more on how to install mods on PZ here
Map=Muldraugh, KY
Map name. You can choose maps from mods and write map name here.
DoLuaChecksum=true
true = Kick clients whose game files don’t match the server’s
(better to set true)
DenyLoginOnOverloadedServer=true
Better to set true. If false and player join on overloaded server – can cause stuttering server.
Public=false
true = Show the server on the in-game browser. Note, Steam enabled servers are always visible in the Steam server browser
PublicName=My PZ server
Name of server displayed in both the in-game and Steam server browser (if applicable)
PublicDescription=Some server description
The description displayed in the in-game server browser.
MaxPlayers=16
Maximum number of players that can be on the server at one time, excluding admins. (for beta 41.64 allowed max 32 players)
PingFrequency=10
Time between each client ping, in seconds.
PingLimit=400
Ping limit in milliseconds before being kicked from the server. Set it to 0 to disable it
HoursForLootRespawn=0
After a container is looted for the first time, it must go this many number of INGAME hours before new loot is spawned. Loot respawn is not impacted by visibility or subsequent looting. After X hours, loot always respawns. All containers respawn loot at the same time.
Enable loot respawn if > 0.
In container must be less items then in MaxItemsForLootRespawn param
MaxItemsForLootRespawn=4
Containers with greater than or equal to number of items will not respawn.
ConstructionPreventsLootRespawn=true
Items will not respawn in buildings that players have built structures in (baricading counts).
DropOffWhiteListAfterDeath=false
Remove player accounts from the whitelist after death. Prevents creating a new character after death on open=false servers. (like hardcore server)
NoFire=false
All forms of fire are disabled, except for campfires.
AnnounceDeath=false
If true, every time a player dies a message will be displayed in the chat.
MinutesPerPage=1.0
The number of game-world minutes it takes to read one page of a book.
SaveWorldEveryMinutes=0
Autosave. Loaded parts of the map are saved after this many real-world minutes have passed. The map is usually saved only after clients leave a loaded area.
For autosave value must be > 0
PlayerSafehouse=false
Admins and players may claim safehouses.
AdminSafehouse=false
Only admins may claim safehouses.
SafehouseAllowTrepass=true
Allow non-members to enter a safehouse
SafehouseAllowFire=true
Allow fire to damage safehouses.
SafehouseAllowLoot=true
Allow non-members to take items from safehouses.
SafehouseAllowRespawn=false
Players spawn in a safehouse they were a member of before they died.
SafehouseDaySurvivedToClaim=0
Players must have survived this many game-world days before they may claim a safehouse.
SafeHouseRemovalTime=144
Players are automatically removed from a safehouse they have not visited for this many real-world hours.
AllowDestructionBySledgehammer=true
Allow players to destroy world objects with sledgehammers.
KickFastPlayers=false
Kick players that appear to be moving faster than is possible. May be buggy — use with caution.
ServerPlayerID=379545449
Determines if the character is from another server or singleplayer. This value may be changed by soft-resets. If this number does match the client, the client must create a new character. Used in conjunction with ResetID. Please, backup these IDs somewhere
(Recommend change this value after server wipe)
RCONPort=27015
The port for the RCON
For check what is RCON and how to remote connect to your server and send command by RCON check admin tools guide:Admin tools – build 41 MP
RCONPassword=
RCON password
DiscordEnable=false
Enable integration with Discord
DiscordToken=
Discord bot access token
DiscordChannel=
Discord channel name. If you got some troubles with it use channel ID
DiscordChannelID=
Discord channel ID. Not required. Use in case troubles with channel name
Password=12345
Clients must know this password to join the server. Ignored when hosting a server via the Hosts button.
MaxAccountsPerUser=0
Limits the number of different accounts a single Steam user may create on this server. Ignored when using the Hosts button.
SleepAllowed=false
Players may choose to sleep whenever tired.
SleepNeeded=false
Players get tired and need to sleep. Ignored if SleepAllowed=false
Configure settings.ini file [2/3]
SteamPort1=8766
UDP port for Steam. This port must be forwarded for Steam-enabled servers.
SteamPort2=8767
Second UDP port for Steam. Currently unused.
WorkshopItems=2648779556;2335368829
List Workshop Mod IDs for the server to download. Separated by a semicolon.
Must have IDs of mods that choosed in Mods=
SteamScoreboard=true
Show Steam usernames and avatars in the Players list.
true = visible to everyone
false = visible to no one
admin = visible to only admins
SteamVAC=true
Enable the Steam VAC system. Currently not functional.
UPnP=false
Attempt to configure a UPnP-enabled internet gateway to automatically setup port forwarding rules. The server will fall back to default ports if this fails.
UPnPLeaseTime=86400
Port lease time in seconds (86400 == 24 hours). This should not be changed.
UPnPZeroLeaseTimeFallback=true
Retry with zero lease time if port-mapping fails (helps with some routers). This should not be changed.
UPnPForce=true
Remove existing port mappings. This should not be changed.
CoopServerLaunchTimeout=20
This is undocumented and should not be changed.
CoopMasterPingTimeout=60
This is undocumented and should not be changed.
VoiceEnable=true
If true, VOIP is enabled.
VoiceComplexity=5
Voice codec quality from 0 to 10, 0 – best, 10 – worst.
VoicePeriod=20
Milliseconds, time interval between voice data transmissions, lower values produce smaller lag but higher network load.
VoiceSampleRate=24000
Voice capturing sample rate, one of 4000, 6000, 8000, 12000, 24000.
VoiceBuffering=8000
Voice data buffer in samples, lower values produce smaller lag but may work unstable on slow computers (DelayMs * SampleRate / 1000).
VoiceMinDistance=10.0
The minimum distance in tiles VOIP sounds can be heard.
VoiceMaxDistance=300.0
The maximum distance in tiles VOIP sound can be heard.
Voice3D=true
Directional audio for VOIP.
PhysicsDelay=500
Don’t change it
SpeedLimit=70.0
Better don’t change it. (but you can decrease this param for reduce limit of car speed)
server_browser_announced_ip=
Not used.
UseTCPForMapDownloads=false
Legacy TCP support for map transmission. Best not to use this unless UDP and UPnP are unsupported by your configuration.
PlayerRespawnWithSelf=false
Players may respawn in-game where they die.
PlayerRespawnWithOther=false
Players may respawn in-game at a splitscreen player’s location.
FastForwardMultiplier=40.0
How fast does time pass when everyone is asleep
PlayerSaveOnDamage=true
If true, players will be saved every time they take damage.
SaveTransactionID=false
If true, will enable a transactionID between client and server to avoid players copy/pasting their saves (anti-cheat).
DisableSafehouseWhenPlayerConnected=false
Will make safehouse act like a normal house if someone from this safehouse is connected.
Configure settings.ini file [3/3]
Faction=true
If true, allow players to create factions.
FactionDaySurvivedToCreate=0
You’ll need to survive X days before being able to create a faction.
FactionPlayersRequiredForTag=1
How many players are needed before letting the faction owner create a special tag
AllowTradeUI=true
Allow players to use the secure trade system
DisableRadioStaff=false
Disables radio transmissions from players with any access level.
DisableRadioAdmin=true
Disables radio transmissions from players with “admin” access level
DisableRadioGM=true
Disables radio transmissions from players with “gm” access level.
DisableRadioOverseer=false
Disables radio transmissions from players with “overseer” access level
DisableRadioModerator=false
Disables radio transmissions from players with “moderator” access level.
DisableRadioInvisible=true
Disables radio transmissions from invisible players.
ClientCommandFilter=-vehicle.*;+vehicle.damageWindow;+vehicle.fixPart;
Semicolon-separated list of commands that will not be written to the cmd.txt server log.
-vehicle.* means don’t write any vehicle command.
+vehicle.installPart means do write that command.
ItemNumbersLimitPerContainer=0
Maximum number of items that can be placed in a container. Zero means no limit.
BloodSplatLifespanDays=0
Number of days before old blood splats are removed.
Removal happens when map chunks are loaded.
Zero means never remove.
AllowNonAsciiUsername=false
Allow or not the use of non Ascii (cyrillic…) characters in username
BanKickGlobalSound=true
When admin ban user – other users hear thunder sound.
RemovePlayerCorpsesOnCorpseRemoval=false
If true, when HoursForCorpseRemoval triggers, it will also going to remove player’s corpses.
ZombieUpdateMaxHighPriority=50
Not used param. Just leave that.
ZombieUpdateDelta=0.5
The interval (seconds) which the bulk update for zombies is sent
ZombieUpdateRadiusLowPriority=45.0
The radius for which which the bulk update for zombies is sent, set to 0.0 for the old behaviour
ZombieUpdateRadiusHighPriority=10.0
The radius for which which the bulk update for zombies is sent, set to 0.0 for the old behaviour
TrashDeleteAll=false
If true, player can use the “delete all” button on bins.
PVPMeleeWhileHitReaction=false
If true, player can hit again when struck by another player.
MouseOverToSeeDisplayName=true
If true, players will have to mouse over someone to see their display name.
HidePlayersBehindYou=true
If true, automatically hide the player you can’t see (like zombies).
PVPMeleeDamageModifier=30.0
Added damage for PVP melee attacks.
PVPFirearmDamageModifier=50.0
Added damage for PVP ranged attacks.
CarEngineAttractionModifier=0.5
Modify the range at which cars attract zombies, lower values can help with server lags.
PlayerBumpPlayer=false
Players bump/push other players when running through them.
Looking to rent a Project Zomboid Server? Rent one with us
[…] Follow this guide that explains what each line of the servertest.ini file means in case you get conf… […]