// crash guide

Minecraft server crash: EULA not accepted

Your server didn't really crash. It stopped on purpose, because Minecraft won't run a server until you accept Mojang's End User License Agreement. You accept it by changing one line in a file called eula.txt. Your mods are fine.

Updated  ยท  Forge, NeoForge, Fabric, Quilt

What the error looks like

The server starts, prints some lines, and shuts down before it loads a world. The console ends with this:

[12:00:01] [main/WARN]: Failed to load eula.txt
[12:00:01] [main/INFO]: You need to agree to the EULA in order to run the server. Go to eula.txt for more info.

The prefixes look a little different on Forge, NeoForge, Fabric and Quilt. The message text is the same on all of them, because the check is in Minecraft's own server code, not in the mod loader.

The Failed to load eula.txt line only shows up when the file is missing or can't be read. That's usually the very first start. The server then writes a new eula.txt with eula=false. On later starts you'll only see the "You need to agree" line.

Don't look in crash-reports/ for this one. It isn't a crash, so Minecraft doesn't write a crash report. The full output is in logs/latest.log in the server folder (Forge and NeoForge also write logs/debug.log). If you start the server by double-clicking a script on Windows and the window closes before you can read it, open logs/latest.log instead.

The file the server creates looks like this:

#By changing the setting below to TRUE you are indicating your agreement to our EULA (https://aka.ms/MinecraftEULA).
#Sun Oct 04 12:00:00 CDT 2026
eula=false

Older Minecraft versions link to account.mojang.com instead. Same file, same setting.

If the server can't write to its own folder, you'll also see Failed to save eula.txt followed by a Java exception. That's a permissions problem, covered below.

What it means

A Minecraft Java Edition server, modded or not, won't start until eula.txt contains eula=true. That line is how the person running the server agrees to the EULA. Minecraft writes the file with eula=false, so a fresh server always stops on its first start. That's normal. It isn't caused by a mod, your Java version, RAM, or your world.

If you already set eula=true and still get the message, one of two things is going on: the server is reading a different eula.txt than the one you edited, or it can't read the line you wrote. Both are covered below.

Common in these packs: every one. The check is in Minecraft itself, so it applies to every pack, from RLCraft on 1.12.2 to All the Mods 10 on 1.21.1, until eula.txt says eula=true.

How to fix it

  1. Read the EULA. The link is in the first line of eula.txt (aka.ms/MinecraftEULA). Setting the value to true means you agree to it.
  2. Find eula.txt in the server's root folder. It sits next to server.properties, the mods folder and your start script or server jar.
  3. Change eula=false to eula=true and save.
    • Pelican panel: open the Files tab, click eula.txt, change the line and save. If the server's egg has the EULA feature turned on, the Console page also shows an accept-the-EULA prompt when this message appears. Accepting it sets eula=true for you.
    • Linux shell, from the server folder: echo "eula=true" > eula.txt
    • Windows: open it in Notepad, change the line, and use Save (not Save As with a new name). Don't use echo here. In Command Prompt, echo eula=true > eula.txt saves a space after true. In Windows PowerShell 5.1 it saves the file as UTF-16. The server reads both as false.
  4. Start the server again. It reads eula.txt once at startup, so there's nothing else to reload.

You don't need to change the Startup tab, JVM flags, Java version or Docker image for this error.

Loader notes

If it still says you need to agree

How to check it's fixed

Not sure this is your crash?

Paste your log into the free crash log analyzer. It checks your log against known errors, including this one, and tells you what to change.

Related crash guides

Modded hosting is relaunching.

DSN hosts Forge, NeoForge, Fabric and Quilt servers, with one-click installers for CurseForge and Modrinth modpacks and a file manager for edits like this one. You accept the EULA yourself, the first time your server starts. We're moving DSN Servers to new hardware, and ordering is closed until then. Join the launch list and we'll email you when servers open.

Join the launch list