A new server refuses to start until you agree to Mojang's End User Licence Agreement. It is not an error and nothing is broken — the server is waiting for a yes.
What you are seeing
- The server starts and stops again within a few seconds.
- The console says
You need to agree to the EULA in order to run the server. - A file called
eula.txthas appeared in the file manager.
Why it happens
Mojang requires every server operator to accept the EULA before the software will run. The server writes eula.txt with eula=false, prints the message and shuts down.
What to do
- Open
eula.txtin the file managerIt sits in the root of your server directory, next to the server jar.
- Change
eula=falsetoeula=trueThat single word is the whole change. Save the file.
- Start the server again
It will carry on past the point where it stopped and continue into world generation.
The console no longer mentions the EULA and the start reaches the Done line.
Setting it to true is a legal statement that you accept Mojang's terms, so it is worth actually reading them once at account.mojang.com/documents/minecraft_eula.