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

# Server Settings

> Configuring your Minekube AI Minecraft server -- defaults, game rules, and how to change settings through the AI

# Server Settings

## Changing Settings via AI

The easiest way to change any server setting is to tell the AI what you want:

```
set max players to 50
enable the whitelist
turn on keep inventory
disable PvP
set difficulty to hard
change the world border to 500 blocks
change the MOTD to "Welcome to my server!"
enable command blocks
```

The AI modifies the correct config files (`server.properties`, `spigot.yml`, Paper configs, etc.) and applies changes -- usually without needing a server restart.

<Note>
  For changes that require a restart (some `server.properties` values), the AI restarts the server automatically and lets you know.
</Note>

***

## Server Defaults

Your server comes pre-configured with these defaults:

| Setting               | Default Value          |
| --------------------- | ---------------------- |
| **Minecraft Version** | Paper 1.21             |
| **Memory**            | 2-4 GB                 |
| **Game Mode**         | Survival               |
| **Difficulty**        | Normal                 |
| **Max Players**       | 20                     |
| **Online Mode**       | Off (handled by proxy) |
| **Nether**            | Disabled               |
| **The End**           | Disabled               |
| **Spawn Protection**  | 16 blocks              |

<Info>
  **Online Mode** is off because authentication is handled by the Minekube Connect proxy layer. Players are still authenticated -- it is not a cracked server.
</Info>

***

## Game Rules

Common game rules you can change through the AI. Just describe what you want in plain language:

| What You Say                      | Game Rule               | Value            |
| --------------------------------- | ----------------------- | ---------------- |
| "enable keep inventory"           | `keepInventory`         | `true`           |
| "disable mob griefing"            | `mobGriefing`           | `false`          |
| "stop fire from spreading"        | `doFireTick`            | `false`          |
| "make it always daytime"          | `doDaylightCycle`       | `false`          |
| "disable phantom spawning"        | `doInsomnia`            | `false`          |
| "show player coordinates"         | `reducedDebugInfo`      | `false`          |
| "disable natural regeneration"    | `naturalRegeneration`   | `false`          |
| "stop TNT from destroying blocks" | `tntExplosionDropDecay` | `true`           |
| "increase random tick speed"      | `randomTickSpeed`       | `6` (default: 3) |

You do not need to remember the exact game rule names. Just describe the behavior you want and the AI translates it.

***

## Configuration Files

The AI can modify any server configuration file. The most common ones:

<AccordionGroup>
  <Accordion title="server.properties">
    Core Minecraft server settings: max players, difficulty, game mode, MOTD, world name, spawn protection, PvP toggle, and more.

    ```
    change max players to 100
    set the MOTD to a custom message
    disable PvP in the overworld
    ```
  </Accordion>

  <Accordion title="spigot.yml">
    Spigot-specific settings: entity activation range, mob spawn limits, item merge radius, and performance tuning.

    ```
    optimize the server for less lag
    increase entity render distance
    ```
  </Accordion>

  <Accordion title="Paper configuration">
    Paper-specific optimizations and features: async chunk loading, anti-cheat settings, gameplay tweaks.

    ```
    enable anti-xray
    optimize chunk loading
    ```
  </Accordion>

  <Accordion title="Whitelist and operators">
    Player access control:

    ```
    enable the whitelist
    add Steve to the whitelist
    make Alex an operator
    remove Griefer123 from the whitelist
    ```
  </Accordion>
</AccordionGroup>

***

## Data Persistence

All your server data is **persistent** -- it survives server restarts and hibernation cycles. This includes:

<Check>
  World files (terrain, builds, player data)
</Check>

<Check>
  Plugin configurations and data
</Check>

<Check>
  Skript scripts and variables
</Check>

<Check>
  Server settings and config files
</Check>

<Check>
  Operator and whitelist entries
</Check>

Nothing is lost when your server hibernates or restarts. Your world, plugins, scripts, and all settings are exactly as you left them.
