Direct answer
Run the server once so it creates eula.txt. Open that file, read the linked agreement, and change eula=false to eula=true only if you agree to the Minecraft EULA. Save the file, then start the server again.
What the file should contain
eula=trueThe file may also contain comments and a link to the EULA. You do not need to delete the comments.
Why the server stops on the first run
The first run generates the server's basic files. The server intentionally stops until the EULA has been accepted. This is expected behavior, not a crash.
If eula.txt never appears
- Check that Java actually launched the server JAR.
- Look for an error above the final console line, such as a wrong Java version or an invalid JAR filename.
- Make sure the server process can write to its folder.
- On a managed host, use the host's EULA setting if it controls the file for you.
Do not download a pre-accepted server folder from a random source
Build the server from the official server software or the project's official download page. A random “ready-made server” ZIP can contain outdated software, unwanted plugins, or malicious code.
Official references
These references were checked while preparing this guide. Version-specific behavior can change, so use the project documentation for your exact release when a detail differs.
- Minecraft: End User License Agreement
- Minecraft: Java Edition server download
- PaperMC: Getting started
Related guides
Help us improve this article
Tell us what is missing, unclear, outdated, or incorrect. You can also suggest something we should add.