Server installation and configuration
For a full tutorial on setting up a Minecraft server, please read the installation and configuration guide.
- A Java runtime (JRE), version 8 or higher. JDK contains JRE, so it will work too. As of version 1.17, JRE version 16 is required. For version 1.18, JRE version 17 is required.
- At least 1 GB of RAM allocated for the server to run (
-Xmn 128M -Xmx 1G).
- If you are using Windows or a desktop-based Linux distribution, you should have at least 1 GB of additional physical RAM in the computer, so the graphics on the desktop don't become laggy.
- Depending on the specific java version, you may be able to set a "soft max RAM" amount for the server JAR program. The JDK will try to keep memory usage below the soft max, but will allow it to go above it to reach
-Xmxif needed. Try
-Xmn 128M -XX:SoftMaxHeapSize=1G -Xmx 2G.
- A CPU with good single-core performance. The server (as of 1.14) does use additional cores for other operations, but typically three cores are used at most.
- Hyperthreading (HT) or simultaneous multithreading (SMT), i.e. a CPU providing 2 "threads" or "logical cores" for each physical core, does not seem to benefit Minecraft much. On the other hand, it does not really hurt either, and having the setting on does allow your CPU to do some extra work on the side. Just don't worry about it.
- The situation with third-party software is that while additional work (from plugins) do use additional cores, the core world mechanics (ticking, etc.) largely remain the same. Attempts to make the core mechanics multithreaded include Akarin, but do be warned this is very complex work and things get buggy very easily.
Here is a simple recommendation to help you get started and/or help decide which hosting option is best for you:
Running a LAN Party type Server (since 1.11.2)
- Note that these requirements are for the server only. You need to allocate more resources to the OS!
- Also note that these suggestion presume default settings in server.conf - i.e., a Draw Distance no higher than 10, and is also based on a new world; the bigger the world gets, especially if there's advanced redstone circuitry at work, the requirements - especially the RAM, or in the case of lots of redstone or mobs (in e.g. grinders), the CPU - increase significantly (to the point where a major world with several camps, redstone machinery, grinders, etc. can easily more than double the requirements).
Be sure to have at least a low-ping internet connection, such as DSL or cable.
|Minimum||1-4||Intel Core 2 Duo or AMD Athlon 64 x2||1GB||At least 150MB for world saves|
|Recommended||5-10||Intel Core 2 Duo or AMD Athlon 64 x2||2GB||At least 200MB for world saves|
|Best||10+||Intel Core i5-4690 or AMD Ryzen 5 1600||4GB||At least 200MB SSD|
Running a Dedicated type Server
Please see Dedicated Server Requirements for more information.
Running a Server-grade Server
Please see Server-Grade Server Requirements for more information.