Guide · Troubleshooting

Fixing "You need to agree to the EULA"

Every new Java server stops on its first start with "You need to agree to the EULA in order to run the server". It is a one-line fix.

The fix

Open eula.txt in the server folder, change eula=false to eula=true, save it, and start the server again. By doing this you accept the Minecraft End User License Agreement, which you should read at the link in the file.

Why it comes back

If the message appears again, the file did not save, it was saved under a different name such as eula.txt.txt, or you edited a copy in another folder. Check that the file sits next to the server jar. On hosted servers, the panel usually asks you to accept the EULA on first start.

What the EULA means for server owners

The EULA and Mojang's usage guidelines set the rules for running servers: you may charge for access and sell cosmetics, but you may not sell gameplay advantages, and you must not imply your server is official. If you plan to monetise your server, read the current guidelines before you start.

StormNodes Minecraft hosting

Run it on a StormNodes server

Skip the port forwarding and the PC that has to stay on. A StormNodes Minecraft server is online in minutes, and everything in this guide can be done from the panel.

  • Hosted in Portugal, close to players across Western Europe
  • NVMe storage, monthly billing and no setup fee
  • Paper, Purpur, Fabric and vanilla, switchable from the panel
  • Live console, file manager, SFTP, backups and schedules
  • Support in English and Portuguese

FAQ

Frequently asked questions

Where is eula.txt?
In the server root, created on the first start. If it is not there, start the server once and it will be generated.
Do Bedrock servers have a EULA file?
Bedrock Dedicated Server asks you to accept terms when you download it, not with an eula.txt file.
Is it legal to run a Minecraft server?
Yes. Mojang provides the server software for players who own the game, under the EULA and its usage guidelines.