# How to Accept the Minecraft EULA (/docs/minecraft/agree-to-eula)



import { Step, Steps } from 'fumadocs-ui/components/steps';

Minecraft requires you to accept the **Mojang End User License Agreement (EULA)** before your server will start. If your server shows `You need to agree to the EULA in order to run the server` in the console, this is the fix.

Accept the EULA [#accept-the-eula]

<Steps>
  <Step>
    Start the server once [#start-the-server-once]

    If `eula.txt` doesn't exist yet, start your server once. It will fail with the EULA error, but it will create the `eula.txt` file in the process.
  </Step>

  <Step>
    Open eula.txt [#open-eulatxt]

    In the [XGamingServer Panel](https://panel.xgamingserver.com), click **Files** in the sidebar and open `eula.txt` in the server root.
  </Step>

  <Step>
    Change false to true [#change-false-to-true]

    The file contains a single setting:

    ```
    #By changing the setting below to TRUE you are indicating your agreement to our EULA (https://aka.ms/MinecraftEULA).
    #Mon Jan 15 12:00:00 UTC 2026
    eula=false
    ```

    Change the `eula=false` line to:

    ```
    eula=true
    ```
  </Step>

  <Step>
    Save and start [#save-and-start]

    Click **Save Content** and start the server from **Console**. It should now boot normally.
  </Step>
</Steps>

Common Issues [#common-issues]

| Problem                                        | Fix                                                                                  |
| ---------------------------------------------- | ------------------------------------------------------------------------------------ |
| **"You need to agree to the EULA"** in console | Change `eula=false` to `eula=true` in `eula.txt`                                     |
| **eula.txt doesn't exist**                     | Start the server once to generate it                                                 |
| **Server still won't start**                   | Check there are no other errors above the EULA message in the console                |
| **Cracked server warning**                     | If `online-mode=false`, you'll see a separate warning. This is unrelated to the EULA |

What is the EULA? [#what-is-the-eula]

The Minecraft EULA is Mojang's terms of service for running a Minecraft server. Key points:

* You **cannot charge real money** for in-game items, ranks, or features that affect gameplay
* You **can** charge for cosmetic items (hats, particles, chat colors) and convenience features that don't affect balance
* You **cannot** sell access to the server itself for real money — only "donations" for perks
* Server lists, ads, and Patreon are allowed

Read the full EULA: [aka.ms/MinecraftEULA](https://aka.ms/MinecraftEULA)

> **Note:** Accepting the EULA is **mandatory** to run a Minecraft server. There is no way to bypass it. You agree to it once per server install.

Related Guides [#related-guides]

* [Server Properties](/docs/minecraft/server-properties)
* [Beginner's Guide](/docs/minecraft/beginners-guide)
* [Common Issues](/docs/minecraft/common-issues)
