Skip to main content
infoServer ErrorsAffects: Java Edition servers

How to Fix EULA Not Accepted

The server stops at startup until eula.txt says eula=true. Where the file has to be, why an edit can still fail, and how to create it without a first start.

Quick Fix

Open eula.txt in the folder you start the server from, change eula=false to eula=true, save the file and start the server again.

Error Message

You need to agree to the EULA in order to run the server. Go to eula.txt for more info.

How to Fix

1

Open eula.txt in a plain text editor and change the last line to eula=true. The comment above it links to the EULA at https://aka.ms/MinecraftEULA.

2

Edit the file in the working directory of your start command. If a script or panel starts the server from another folder, that is where eula.txt has to be.

3

To create eula.txt and server.properties without loading a world, start the server jar once with --initSettings. It writes both files and quits.

4

On a hosting panel, use its EULA button if it has one, or edit eula.txt in the panel's file manager.

5

Read the EULA before you change the value, because eula=true means you agree to it.

Common Causes

  • It is the first start. The server writes eula.txt with eula=false, prints the message and stops.
  • You edited a different eula.txt. The server looks for eula.txt in the folder it was started from, which isn't always the folder the server jar is in.
  • The value isn't true. The server reads it with Java's Boolean.parseBoolean, so TRUE also works, but yes, 1 or a typo counts as false.
  • On Windows, a eula.txt you created yourself may really be eula.txt.txt, because File Explorer hides known file extensions by default.

Diagnostic Steps

  1. Start the server once, or run it with --initSettings, so eula.txt exists.
  2. Open eula.txt in the folder the server starts from.
  3. Change eula=false to eula=true and save.
  4. Start the server and check that the message is gone.

FAQ

What is the Minecraft EULA?

The End User License Agreement for Minecraft. You have to agree to it before the server will run, and eula.txt links to it at https://aka.ms/MinecraftEULA.

Why does the message come back after I set eula=true?

Usually the server starts from a different folder than the one you edited, or the file is really named eula.txt.txt. The server only reads eula.txt from its working directory.

Can I accept the EULA before the first start?

Yes. Create eula.txt yourself with the line eula=true, or run the server jar with --initSettings and edit the file it creates.

Related Errors

Need More Help?