Skip to content

Terraria

This tutorial explains how to set up a Terraria server in the Cobalt dashboard.

Changing configs

  1. Open the servers page.

  2. Find the server you want to change settings in the table and click the first button in the actions column.

  3. Open the files tab at the top.


    serverconfig.cfg

    1. Open the serverconfig.cfg file in the file editor.

    2. Update the settings.

    List of Vanilla settings

    This table refers to version 1.4.5.6. Some settings may not be available in earlier versions. Cobalt overrides some default values when a server is created.

    KeyTypeDefaultDescription
    worldstringC:\Users\YOUR_USERNAME_HERE\My Documents\My Games\Terraria\Worlds\world1.wldPath to the world file to load. The server starts automatically using this world. Relative paths are loaded from serverfiles.
    autocreateinteger1Creates a new world if none is found. World size:
    1 - small
    2 - medium
    3 - large
    seedstring(blank)Sets the world seed when using autocreate.
    seed_celebrationboolean1Enables the "Celebration" special seed.
    0 - disabled
    1 - enabled
    seed_theconstantboolean1Enables the "The Constant" special seed.
    0 - disabled
    1 - enabled
    seed_notthebeesboolean1Enables the "Not the Bees" special seed.
    0 - disabled
    1 - enabled
    seed_notrapsboolean1Enables the "No Traps" special seed.
    0 - disabled
    1 - enabled
    seed_fortheworthyboolean1Enables the "For the Worthy" special seed.
    0 - disabled
    1 - enabled
    seed_remixboolean1Enables the "Remix" special seed.
    0 - disabled
    1 - enabled
    seed_drunkboolean1Enables the "Drunk World" special seed.
    0 - disabled
    1 - enabled
    seed_zenithboolean1Enables the "Zenith" special seed.
    0 - disabled
    1 - enabled
    worldnamestringworldSets the name of the world when using autocreate.
    difficultyinteger0Sets the world difficulty when using autocreate.
    0 - classic
    1 - expert
    2 - master
    3 - journey
    maxplayersinteger8Maximum number of players allowed on the server. Must be between 1 and 255.
    portinteger7777Port number for the server to listen on.
    passwordstring(blank)Sets the server password.
    motdstringPlease don’t cut the purple trees!Sets the message of the day.
    worldpathstringC:\Users\Defaults\My Documents\My Games\Terraria\Worlds\Folder where world files will be stored. Relative paths are created in serverfiles.
    worldrollbackstokeepinteger2Number of rolling world backups to keep.
    banliststringbanlist.txtLocation of the banlist file. Defaults to banlist.txt in the working directory.
    secureboolean1Adds additional cheat protection to the server.
    0 - disabled
    1 - enabled
    languagestringen-USServer language code.
    en-US - English
    de-DE - German
    it-IT - Italian
    fr-FR - French
    es-ES - Spanish
    ru-RU - Russian
    zh-Hans - Chinese Simplified
    pt-BR - Portuguese
    pl-PL - Polish
    ja-JP - Japanese
    ko-KR - Korean
    zh-Hant - Chinese Traditional
    upnpboolean1Automatically forwards ports with uPNP.
    0 - disabled
    1 - enabled
    npcstreaminteger60Reduces enemy skipping at the cost of increased bandwidth usage. Lower values mean less skipping but more data sent. 0 disables it.
    priorityinteger1Sets process priority.
    0 - Realtime
    1 - High
    2 - AboveNormal
    3 - Normal
    4 - BelowNormal
    5 - Idle
    slowliquidsboolean1Reduces the maximum amount of liquid moving simultaneously, which may reduce lag but slows liquid settling.
    0 - disabled
    1 - enabled
    journeypermission_time_setfrozeninteger2Permission for freezing time in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_time_setdawninteger2Permission for setting time to dawn in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_time_setnooninteger2Permission for setting time to noon in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_time_setduskinteger2Permission for setting time to dusk in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_time_setmidnightinteger2Permission for setting time to midnight in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_godmodeinteger2Permission for toggling god mode in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_wind_setstrengthinteger2Permission for setting wind strength in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_rain_setstrengthinteger2Permission for setting rain strength in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_time_setspeedinteger2Permission for setting time speed in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_rain_setfrozeninteger2Permission for freezing rain in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_wind_setfrozeninteger2Permission for freezing wind in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_increaseplacementrangeinteger2Permission for increasing block placement range in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_setdifficultyinteger2Permission for changing world difficulty in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_biomespread_setfrozeninteger2Permission for freezing biome spread in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_setspawnrateinteger2Permission for changing enemy spawn rate in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    List of tModLoader settings

    This table refers to version v2026.05.2.0. Some settings may not be available in earlier versions. Cobalt overrides some default values when a server is created.

    KeyTypeDefaultDescription
    worldstringC:\Users\YOUR_USERNAME_HERE\My Documents\My Games\Terraria\Worlds\world1.wldPath to the world file to load. The server starts automatically using this world. Relative paths are loaded from serverfiles.
    autocreateinteger1Creates a new world if none is found. World size:
    1 - small
    2 - medium
    3 - large
    seedstring(blank)Sets the world seed when using autocreate.
    seed_celebrationboolean1Enables the "Celebration" special seed.
    0 - disabled
    1 - enabled
    seed_theconstantboolean1Enables the "The Constant" special seed.
    0 - disabled
    1 - enabled
    seed_notthebeesboolean1Enables the "Not the Bees" special seed.
    0 - disabled
    1 - enabled
    seed_notrapsboolean1Enables the "No Traps" special seed.
    0 - disabled
    1 - enabled
    seed_fortheworthyboolean1Enables the "For the Worthy" special seed.
    0 - disabled
    1 - enabled
    seed_remixboolean1Enables the "Remix" special seed.
    0 - disabled
    1 - enabled
    seed_drunkboolean1Enables the "Drunk World" special seed.
    0 - disabled
    1 - enabled
    seed_zenithboolean1Enables the "Zenith" special seed.
    0 - disabled
    1 - enabled
    worldnamestringworldSets the name of the world when using autocreate.
    difficultyinteger0Sets the world difficulty when using autocreate.
    0 - classic
    1 - expert
    2 - master
    3 - journey
    maxplayersinteger8Maximum number of players allowed on the server. Must be between 1 and 255.
    portinteger7777Port number for the server to listen on.
    passwordstring(blank)Sets the server password.
    motdstringPlease don’t cut the purple trees!Sets the message of the day.
    worldpathstringC:\Users\Defaults\My Documents\My Games\Terraria\Worlds\Folder where world files will be stored. Relative paths are created in serverfiles.
    worldrollbackstokeepinteger2Number of rolling world backups to keep.
    banliststringbanlist.txtLocation of the banlist file. Defaults to banlist.txt in the working directory.
    secureboolean1Adds additional cheat protection to the server.
    0 - disabled
    1 - enabled
    languagestringen-USServer language code.
    en-US - English
    de-DE - German
    it-IT - Italian
    fr-FR - French
    es-ES - Spanish
    ru-RU - Russian
    zh-Hans - Chinese Simplified
    pt-BR - Portuguese
    pl-PL - Polish
    ja-JP - Japanese
    ko-KR - Korean
    zh-Hant - Chinese Traditional
    upnpboolean1Automatically forwards ports with uPNP.
    0 - disabled
    1 - enabled
    npcstreaminteger60Reduces enemy skipping at the cost of increased bandwidth usage. Lower values mean less skipping but more data sent. 0 disables it.
    priorityinteger1Sets process priority.
    0 - Realtime
    1 - High
    2 - AboveNormal
    3 - Normal
    4 - BelowNormal
    5 - Idle
    slowliquidsboolean1Reduces the maximum amount of liquid moving simultaneously, which may reduce lag but slows liquid settling.
    0 - disabled
    1 - enabled
    journeypermission_time_setfrozeninteger2Permission for freezing time in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_time_setdawninteger2Permission for setting time to dawn in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_time_setnooninteger2Permission for setting time to noon in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_time_setduskinteger2Permission for setting time to dusk in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_time_setmidnightinteger2Permission for setting time to midnight in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_godmodeinteger2Permission for toggling god mode in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_wind_setstrengthinteger2Permission for setting wind strength in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_rain_setstrengthinteger2Permission for setting rain strength in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_time_setspeedinteger2Permission for setting time speed in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_rain_setfrozeninteger2Permission for freezing rain in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_wind_setfrozeninteger2Permission for freezing wind in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_increaseplacementrangeinteger2Permission for increasing block placement range in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_setdifficultyinteger2Permission for changing world difficulty in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_biomespread_setfrozeninteger2Permission for freezing biome spread in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    journeypermission_setspawnrateinteger2Permission for changing enemy spawn rate in Journey mode.
    0 - locked
    1 - host only
    2 - everyone
    modpackstring(blank)Sets the mod pack to load, causing only the specified mods listed in that modpack to be loaded.

    WARNING

    Do not change the port and ip settings.

    1. Click the save button in the bottom left corner.

  4. Open the overview tab at the top.

  5. Click the restart button in the control block.

Adding mods

WARNING

Mods can only be added for the tModLoader loader.

  1. Open the servers page.

  2. Find the server you want to add mods in the table and click the first button in the actions column.

  3. Upload mods using one of the following methods:

File manager
  1. Open the files tab at the top.

  2. Open the data/Mods folder in the file manager.

  3. Click the upload button in the bottom left corner.

  4. Select the mods files from your device.

TIP

You can find mods on Steam Workshop.

  1. Click the upload button in the bottom right corner.
  1. Open the files tab at the top.

  2. Open the data/Mods/enabled.json file in the file editor.

  3. Add the names of the mod files to the list, separating them with commas:

json
[
   "ModFileName1",
   "ModFileName2"
]
  1. Click the save button in the bottom left corner.

  2. Open the overview tab at the top.

  3. Click the restart button in the control block.