{"id":1943,"date":"2026-08-15T03:51:48","date_gmt":"2026-08-14T22:21:48","guid":{"rendered":"https:\/\/kwikserver.com\/tutorials\/how-to-make-a-minecraft-server\/"},"modified":"2026-08-15T03:51:48","modified_gmt":"2026-08-14T22:21:48","slug":"how-to-make-a-minecraft-server","status":"publish","type":"post","link":"https:\/\/kwikserver.com\/tutorials\/how-to-make-a-minecraft-server\/","title":{"rendered":"How to Make a Minecraft Server on Windows, Linux, and macOS"},"content":{"rendered":"<p>Minecraft is one of the most-played games in the world, and running your own server gives you full control: invite friends, install mods, set your own rules. It&#8217;s less complicated than it sounds &mdash; you mainly need a bit of command-line comfort and a server (or a spare Windows\/Linux\/macOS machine) to run it on. Here&#8217;s how to set one up on Linux, Windows, and macOS.<\/p>\n<h2>Linux (Ubuntu or CentOS)<\/h2>\n<p>You&#8217;ll need root SSH access to your server (check your KwikServer welcome email or client area for credentials), and at minimum Ubuntu 16.04 or CentOS 7.<\/p>\n<h3>1. Install Java and Screen<\/h3>\n<p>Connect over SSH, then check whether Java is already installed:<\/p>\n<pre><code>java -version<\/code><\/pre>\n<p>If it&#8217;s missing, install it:<\/p>\n<pre><code># Ubuntu\nsudo apt-get update\nsudo apt-get install default-jdk\n\n# CentOS\nsudo yum update\nsudo yum install java -y<\/code><\/pre>\n<p>Then install Screen, which will let the server keep running after you disconnect:<\/p>\n<pre><code># Ubuntu\nsudo apt-get install screen\n\n# CentOS\nsudo yum install screen -y<\/code><\/pre>\n<h3>2. Download and Run the Server<\/h3>\n<p>Create a dedicated folder and move into it:<\/p>\n<pre><code>mkdir minecraft\ncd minecraft<\/code><\/pre>\n<p>Install wget if you don&#8217;t already have it, then download the server jar (check <a href=\"https:\/\/www.minecraft.net\/en-us\/download\/server\" target=\"_blank\" rel=\"noopener\">Minecraft&#8217;s official download page<\/a> for the current version link):<\/p>\n<pre><code>wget https:\/\/launcher.mojang.com\/path\/to\/server.jar<\/code><\/pre>\n<p>Run it once to generate the EULA file (drop <code>nogui<\/code> if you want the graphical console):<\/p>\n<pre><code>java -Xmx1024M -Xms1024M -jar server.jar nogui<\/code><\/pre>\n<p>Open <code>eula.txt<\/code> and change <code>eula=false<\/code> to <code>eula=true<\/code>, then save. Start a detachable Screen session so the server survives after you log out:<\/p>\n<pre><code>screen -S minecraft-server\njava -Xmx1024M -Xms1024M -jar server.jar nogui<\/code><\/pre>\n<p>1024M is the minimum recommended RAM allocation &mdash; bump it up to 2048M or higher if your plan has the headroom. To detach from Screen without stopping the server, press <code>Ctrl+A<\/code> then <code>D<\/code>; to reattach later, run <code>screen -r<\/code>. Server settings live in <code>server.properties<\/code> if you need to tweak them, though the defaults work well for most setups.<\/p>\n<h2>Windows<\/h2>\n<ol>\n<li>Check your Java version with <code>java -version<\/code> in Command Prompt; install or update it from the official Java site if needed.<\/li>\n<li>Download the server <code>.jar<\/code> file and place it in its own folder.<\/li>\n<li>Double-click the jar once to generate <code>eula.txt<\/code>, then edit it to set <code>eula=true<\/code>.<\/li>\n<li>Run the server by double-clicking the jar, or from Command Prompt: <code>java -Xmx1024M -Xms1024M -jar server.jar nogui<\/code>. You may need to allow it through Windows Firewall.<\/li>\n<\/ol>\n<h2>macOS<\/h2>\n<p>Recent macOS versions include Java by default (check with <code>java -version<\/code>).<\/p>\n<ol>\n<li>Create a folder for the server and drop the downloaded jar into it.<\/li>\n<li>In TextEdit, switch to plain text mode (Format &rarr; Make Plain Text) and paste:<\/li>\n<\/ol>\n<pre><code>#!\/bin\/bash\ncd \"$(dirname \"$0\")\"\nexec java -Xms1024M -Xmx1024M -jar server.jar nogui<\/code><\/pre>\n<ol start=\"3\">\n<li>Save it as <code>startmc.command<\/code> in the same folder as the server jar.<\/li>\n<li>Make it executable: <code>chmod a+x startmc.command<\/code><\/li>\n<li>Double-click <code>startmc.command<\/code> to launch the server in a new terminal window. A one-time &#8220;missing file&#8221; warning on first launch is normal.<\/li>\n<\/ol>\n<p>Whichever platform you use, a private server built on real dedicated resources will feel noticeably smoother than one squeezed onto a shared home connection. KwikServer&#8217;s <a href=\"https:\/\/kwikserver.com\/linux-vps.php\">Linux VPS<\/a> and <a href=\"https:\/\/kwikserver.com\/windows-vps.php\">Windows VPS<\/a> plans both work well for hosting a Minecraft server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A step-by-step walkthrough for setting up your own Minecraft server on Ubuntu, CentOS, Windows, or macOS.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[59],"tags":[],"class_list":["post-1943","post","type-post","status-publish","format-standard","hentry","category-gaming"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/kwikserver.com\/tutorials\/wp-json\/wp\/v2\/posts\/1943","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kwikserver.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kwikserver.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kwikserver.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kwikserver.com\/tutorials\/wp-json\/wp\/v2\/comments?post=1943"}],"version-history":[{"count":0,"href":"https:\/\/kwikserver.com\/tutorials\/wp-json\/wp\/v2\/posts\/1943\/revisions"}],"wp:attachment":[{"href":"https:\/\/kwikserver.com\/tutorials\/wp-json\/wp\/v2\/media?parent=1943"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kwikserver.com\/tutorials\/wp-json\/wp\/v2\/categories?post=1943"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kwikserver.com\/tutorials\/wp-json\/wp\/v2\/tags?post=1943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}