EnderPanel Back to the website

Guides

How do you make a Minecraft server on a Mac?

Short answer

Install Java, download the server, start it from Terminal, agree to the EULA, and allow Java through the Mac's firewall. Or open EnderPanel, name your server and press Create: it does each of those for you.

Doing it yourself

  1. Install Java. Download Eclipse Temurin from adoptium.net (the free, standard build), choosing the version your Minecraft needs and Apple silicon or Intel to match your Mac.
  2. Make a folder for the server, and put the server file in it (from minecraft.net, or Paper or Fabric).
  3. Open Terminal, go to the folder (cd then drag the folder in), and run java -Xmx4G -jar server.jar nogui.
  4. Agree to the rules: open eula.txt, change false to true, and run the command again.
  5. Allow it through the firewall. If the Mac asks whether Java may accept incoming connections, choose Allow. Otherwise: System Settings, Network, Firewall, Options.

Keeping it running

A Mac that goes to sleep takes the server with it. Plug it in, and keep it from sleeping while the server is on. A MacBook with its lid closed sleeps unless it is connected to a screen. On a desktop Mac, System Settings → Energy has Start up automatically after a power failure.

Quick questions

Does it work on Apple silicon Macs?

Yes. Minecraft servers run well on M1, M2, M3 and M4 Macs, as long as the Java matches the Mac, which EnderPanel handles.

Can I close my MacBook lid while the server runs?

Only if it's plugged in to a screen. Otherwise the Mac sleeps and the server stops. Keep the lid open, or use a desktop Mac.

Why can't my friends connect to my Mac?

Usually the firewall or the router. See fixing 'Connection timed out'.

Related guides