> ## Documentation Index
> Fetch the complete documentation index at: https://help.freakhosting.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Change World Size & Difficulty in Terraria

> Engineer your ideal realm. Learn how to configure world dimensions and difficulty levels before generation to ensure the best multiplayer experience.

## Crafting Your Realm: World Generation Logic

In the Terraria engine, world parameters are technically static once the generation sequence concludes. This means you cannot expand a "Small" world into a "Large" world or transition from "Classic" to "Master" mode after the world file (`.wld`) has been created. These critical variables must be defined within your configuration registry **before** the server initializes its first world instance. This guide walk you through the technical configuration of your world and the procedure for forcing a regeneration.

<CardGroup cols={2}>
  <Card title="Difficulty" icon="gauge-low">
    Beginner
  </Card>

  <Card title="Time" icon="clock">
    5 Minutes
  </Card>
</CardGroup>

***

## Technical Configuration (`serverconfig.txt`)

You can define these variables directly within the `serverconfig.txt` file or use the **Startup** tab in the FREAKHOSTING Game Panel.

### 1. World Size Calibration (`autocreate`)

This parameter dictates the total horizontal and vertical dimensions of your map.

* **`1` (Small):** Optimized for singleplayer or 1-2 survivors.
* **`2` (Medium):** A balanced environment for small cooperative groups.
* **`3` (Large):** **Highly Recommended** for public community servers (4+ players). A large world ensures sufficient resource distribution and biome diversity for every participant.

### 2. Difficulty Tiers (`difficulty`)

Adjust the survival intensity and loot quality by modifying the following modes:

| Mode ID | Name        | Mechanical Impact                                                   |
| :------ | :---------- | :------------------------------------------------------------------ |
| **`0`** | **Classic** | Standard baseline gameplay and mechanics.                           |
| **`1`** | **Expert**  | Scaled boss health, increased drop rates, and unique Treasure Bags. |
| **`2`** | **Master**  | Extreme tactical challenge, exclusive relics, and rare mount drops. |
| **`3`** | **Journey** | Accessible mode featuring research and duplication capabilities.    |

***

## Procedure for World Regeneration

If you have already initialized a world and wish to modify these settings, you must programmatically force the engine to regenerate the terrain.

<Steps>
  <Step title="Initialize Maintenance">
    Log in to the [Game Panel](https://games.freakhosting.com) and **Stop** your server.
  </Step>

  <Step title="Update Configurations">
    Modify the `autocreate` and `difficulty` variables in your **Startup** settings or `serverconfig.txt` to reflect your new desired state.
  </Step>

  <Step title="Purge Legacy Data">
    Navigate to the **Files** tab and enter the `/Saves/Worlds/` directory. Delete or rename the existing **`.wld`** file to prevent the engine from loading the old data.
  </Step>

  <Step title="Initialize Generation">
    **Start** the server. The engine will detect the missing world file and automatically generate a new one using your updated technical parameters.
  </Step>
</Steps>

***

<Note>
  ### Need Extra Help?

  If you encounter any issues, our support team is ready to assist:

  * **Live Chat:** Quick assistance via our website.
  * **Support Ticket:** [Open a Ticket](https://freakhosting.com/clientarea/submitticket.php)
  * **Discord:** [Join our Community](https://discord.gg/freakhosting)
  * **Email:** [support@freakhosting.com](mailto:support@freakhosting.com)
</Note>

<Tip>
  ### Save on Your Hosting

  Ready to get a new server? Use code **KB20** at checkout for **20% off** your first month!
</Tip>

***

<div align="center">
  **Last Updated:** January 2026 | **Terraria:** World generation rules set.
</div>
