Coolify logoCoolify

Terraria Server

Terraria Server

What is Terraria?

Terraria is a 2D sandbox adventure game where you can dig, fight, explore, and build in a vast, procedurally generated world. Players can battle enemies, discover treasures, craft weapons and armor, and build structures in various biomes.

Environment Variables

NameDescriptionRequiredDefault Value
AUTOCREATECreates a world if none is found in the path specified by -world. World size is specified by: 1(small), 2(medium), and 3(large).yes2
WORLDNAMESets the name of the world when using -autocreate.yesworld1
DIFFICULTYSets world difficulty when using autocreate. Options: 0(normal), 1(expert), 2(master), 3(journey)yes1
MAXPLAYERSThe maximum number of players allowedyes8
PASSWORDSet a password for the serveryesmypassword
MOTDSet the server motto of the day text.yesWelcome to the server!
LANGUAGESets the server language from its language code. Available codes: en/US = English de/DE = German it/IT = Italian fr/FR = French es/ES = Spanish ru/RU = Russian zh/Hans = Chinese pt/BR = Portuguese pl/PL = Polishyesen/US
SECUREOption to prevent cheats. (1: no cheats or 0: cheats allowed)yes1

On this page