Terraria Config File

Server Settings

ServerPassword

The server password required to join the server.

MaxSlots

Maximum number of players allowed on the sever.

ReserverdSlots

Number of reserved spots, that invited players can join. This goes beyond the MaxSlots.

ServerName

Name of the server, which will be displayed to other players.

UseServerName

Controls if the server name will be displayed to other players.

Backup and Save Settings

AutoSave

Enables or disables Terrarias built-in auto save function.

AnnounceSave

Enables or disables save announcements.

ShowBackupAutosaveMessages

Whether or not to show backup auto save messages.

BackupInterval

The interval between backups, in minutes.

BackupKeepFor

For how long backups are kept in minutes.

SaveWorldOnCrash

Whether or not to save the world if the server crashes from an unhandled exception

SaveWorldOnLastPlayerExit

Whether or not to save the world when the last player disconnects.

World Settings

InvasionMultiplier

Determines the size of invasion events. The equation for calculating invasion size is 100 + (multiplier * (number of active players with greater than 200 health)).

DefaultMaximumSpawns

The default maximum number of mobs that will spawn per wave. Higher means more mobs in that wave.

DefaultSpawnRate

The delay between waves. Lower values lead to more mobs.

InfiniteInvasion

Enables never ending invasion events. You still need to start the event, such as with the /invade command.

PvPMode

Sets the PvP mode. Valid types are: “normal”, “always” and “disabled”.

SpawnProtection

Prevents tiles from being placed within SpawnProtectionRadius of the default spawn.

SpawnProtectionRadius

The tile radius around the spawn tile that is protected by the SpawnProtection setting.

RangeChecks

Enable or disable anti-cheat range checks based on distance between the player and their block placements.

HardcoreOnly

Prevents non-hardcore players from connecting.

MediumcoreOnly

Prevents softcore players from connecting.

DisableBuild

Disables any placing, or removal of blocks.

DisableHardmode

If enabled, hardmode will not be activated by the Wall of Flesh or the /starthardmode command.

DisableDungeonGuardian

Prevents the dungeon guardian from being spawned while sending players to their spawn point instead.

DisableClownBombs

Disables clown bomb projectiles from spawning.

DisableSnowBalls

Disables snow ball projectiles from spawning.

DisableTombstones

Disables tombstone dropping during death for all players.

ForceTime

Forces the world time to be normal, day, or night.

DisableInvisPvP

Disables the effect of invisibility potions while PvP is enabled by turning the player visible to the other clients.

MaxRangeForDisabled

The maximum distance, in tiles, that disabled players can move from.

RegionProtectChests

Whether or not region protection should apply to chests.

RegionProtectGemLocks

Whether or not region protection should apply to gem locks.

IgnoreProjUpdate

Ignores checks to see if a player ‘can’ update a projectile.

IgnoreProjKill

Ignores checks to see if a player ‘can’ kill a projectile.

AllowCutTilesAndBreakables

Allows players to break temporary tiles (grass, pots, etc) where they cannot usually build.

AllowIce

Allows ice placement even where a user cannot usually build.

AllowCrimsonCreep

Allows the crimson to spread when a world is in hardmode.

AllowCorruptionCreep

Allows the corruption to spread when a world is in hardmode.

AllowHallowCreep

Allows the hallow to spread when a world is in hardmode.

StatueSpawn200

How many NPCs a statue can spawn within 200 pixels(?) before it stops spawning. Default = 3.

StatueSpawn600

How many NPCs a statue can spawn within 600 pixels(?) before it stops spawning. Default = 6.

StatueSpawnWorld

How many NPCs a statue can spawn before it stops spawning. Default = 10.

PreventBannedItemSpawn

Prevent banned items from being spawned or given with commands.

PreventDeadModification

Prevent players from interacting with the world while they are dead.

PreventInvalidPlaceStyle

Prevents players from placing tiles with an invalid style.

ForceXmas

Forces Christmas-only events to occur all year.

ForceHalloween

Forces Halloween-only events to occur all year.

AllowAllowedGroupsToSpawnBannedItems

Allows groups on the banned item allowed list to spawn banned items even if PreventBannedItemSpawn is set to true.

RespawnSeconds

The number of seconds a player must wait before being respawned. Cannot be longer than normal value now. Use at your own risk.

RespawnBossSeconds

The number of seconds a player must wait before being respawned if there is a boss nearby. Cannot be longer than normal value now. Use at your own risk.

AnonymousBossInvasion

Whether or not to announce boss spawning or invasion starts.

MaxHP

The maximum HP a player can have, before equipment buffs.

MaxMP

The maximum MP a player can have, before equipment buffs.

BombExplosionRadius

Determines the range in tiles that a bomb can affect tiles from detonation point.

Login and Ban Settings

DefaultRegistrationgroupname

The default group name to place newly registered players under.

DefaultGuestGroupName

The default group name to place unregistered players under.

RememberLeavePos

Remembers where a player left off, based on their IP. Does not persist through server restarts. eg. When you try to disconnect, and reconnect to be automatically placed at spawn, you’ll be at your last location.

MaximumLoginAttempts

Number of failed login attempts before kicking the player.

KickOnMediumcoreDeath

Whether or not to kick mediumcore players on death.

MediumcoreKickReason

A reason given if a mediumcore player is kicked on death.

BanOnMediumcoreDeath

Whether or not to ban mediumcore players on death.

MediumcoreBanReason

Controls if mediumcore players will be banned on death.

EnableWhitelist

Activates the whitelist based on IPs in the whitelist.txt file.

WhitelistKickReason

Displayed reason when players get kicked for not being on the whitelist.

ServerFullReason

The reason given when kicking players that attempt to join while the server is full.

ServerFullNoReservedReason

The reason given when kicking players that attempt to join while the server is full with no reserved slots available.

KickOnHardcoreDeath

Controls if hardcore players will be kicked on death.

HardcoreKickReason

The reason displayed when kicking hardcore players on death.

BanOnHardcoreDeath

Controls whether hardcore players will be banned on death.

HardcoreBanReason

The reason displayed when banning hardcore players on death.

EnableIPBans

Enables kicking banned users by matching their IP Address.

EnableUUIDBans

Enables kicking banned users by matching their client UUID.

EnableBanOnUsernames

Enables kicking banned users by matching their Character Name.

KickProxyUsers

If GeoIP is enabled, this will kick users identified as being under a proxy.

RequireLogin

Require all players to register or login before being allowed to play.

AllowLoginAnyUsername

Allows players to login even if the username doesn’t match their character name.

AllowRegisterAnyUsername

Allows users to register a username that doesn’t necessarily match their character name.

MinimumPasswordLength

The minimum password length for new user accounts. Can never be lower than 4.

HashAlgorithm

The hash algorithm used to encrypt user passwords. Valid types: “sha512”, “sha256” and “md5”. Append with “-xp” for the xp supported algorithms.

BCryptWorkFactor

Determines the BCrypt work factor to use. If increased, all passwords will be upgraded to new work-factor on verify. The number of computational rounds is 2^n. Increase with caution. Range: 5-31.

DisableUUIDLogin

Prevents players from logging in with their client UUID.

KickEmptyUUID

Kicks players which don’t send their UUID to the server.

TilePaintThreshold

Disables a player if this number of tiles is painted within 1 second.

KickOnTilePaintThresholdBroken

Whether or not to kick users when they surpass the TilePaint threshold.

MaxDamage

The maximum damage a player/NPC can inflict.

MaxProjDamage

The maximum damage a projectile can inflict.

KickOnDamageThresholdBroken

Whether or not to kick users when they surpass the MaxDamage threshold.

TileKillThreshold

Disables a player and reverts their actions if this number of tile kills is exceeded within 1 second.

KickOnTileKillThresholdBroken

Whether or not to kick users when they surpass the TileKill threshold.

TilePlaceThreshold

Disables a player and reverts their actions if this number of tile places is exceeded within 1 second.

KickOnTilePlaceThresholdBroken

Whether or not to kick users when they surpass the TilePlace threshold.

TileLiquidThreshold

Disables a player if this number of liquid sets is exceeded within 1 second.

KickOnTileLiquidThresholdBroken

Whether or not to kick users when they surpass the TileLiquid threshold.

ProjIgnoreShrapnel

Whether or not to ignore shrapnel from crystal bullets for the projectile threshold count.

ProjectileThreshold

Disable a player if this number of projectiles is created within 1 second.

KickOnProjectileThresholdBroken

Whether or not to kick users when they surpass the Projectile threshold.

HealOtherThreshold

Disables a player if this number of HealOtherPlayer packets is sent within 1 second.

KickOnHealOtherThresholdBroken

Whether or not to kick users when they surpass the HealOther threshold.

Chat Settings

CommandSpecifier

The server password required to join the server.

CommandSilentSpecifier

The server password required to join the server.

DisableSpewLogs

The server password required to join the server.

DisableSecondUpdateLogs

The server password required to join the server.

SuperAdminChatRGB

The server password required to join the server.

SuperAdminChatPrefix

The server password required to join the server.

SuberAdminChatSuffix

The server password required to join the server.

EnableGeoIP

The server password required to join the server.

DisplayIPToAdmins

The server password required to join the server.

ChatFormat

The server password required to join the server.

ChatAboveHeadsFormat

The server password required to join the server.

EnableChatAboveHeads

The server password required to join the server.

BroadcastRGB

The server password required to join the server.

Get started with Pockethost

Create Your Terraria Server

Set up your server in 2 minutes and start playing with your friends.

Keep Reading