{"id":1554,"date":"2018-07-11T14:04:13","date_gmt":"2018-07-11T14:04:13","guid":{"rendered":"https:\/\/scunster.co.uk\/?p=1554"},"modified":"2019-01-14T20:50:53","modified_gmt":"2019-01-14T20:50:53","slug":"create-dedicated-minecraft-spigot-server-pc-linux","status":"publish","type":"post","link":"https:\/\/scunster.co.uk\/?p=1554","title":{"rendered":"Create Dedicated Minecraft \/ Spigot Server &#8211; PC Linux"},"content":{"rendered":"<p>This guide was created on CentOS 7 and Debian 9<\/p>\n<p>It is assumed that you have git and java installed already.<\/p>\n<p>Firstly create a new user and group to run the killing floor server<\/p>\n<pre>sudo useradd -m minecraft -p PASSWORD<\/pre>\n<p>Now, let&#8217;s create the group<\/p>\n<pre>sudo groupadd minecraft<\/pre>\n<p>And, let&#8217;s add our new minecraft user to the new minecraft group<\/p>\n<pre>sudo usermod -a -G minecraft minecraft<\/pre>\n<p>Now we can log in as the user and do all of the work in their home directory.<\/p>\n<p>You will need to install Java on your system before you proceed.<\/p>\n<pre>mkdir buildtools<\/pre>\n<pre>mkdir minecraft<\/pre>\n<pre>cd buildtools<\/pre>\n<pre>wget https:\/\/hub.spigotmc.org\/jenkins\/job\/BuildTools\/lastSuccessfulBuild\/artifact\/target\/BuildTools.jar<\/pre>\n<pre>git config --global --unset core.autocrlf<\/pre>\n<pre>java -jar BuildTools.jar<\/pre>\n<pre>cp spigot-*.jar ..\/minecraft\/minecraft.jar<\/pre>\n<pre>cd ..\/minecraft<\/pre>\n<p>Now, let&#8217;s run the server to generate the config files<\/p>\n<pre>java -Xms1G -Xmx1G -jar minecraft_server.jar nogui<\/pre>\n<p>Press CTRL+C to quit the server and now we can edit the server.properties to our liking<\/p>\n<pre>vi server.properties<\/pre>\n<p>You will also have to edit the eula.txt to agree to the license.<\/p>\n<pre>vi eula.txt<\/pre>\n<p>Change false to true!<br \/>\nLaunch your server again when you are ready!<\/p>\n<pre>java -Xms1G -Xmx1G -jar minecraft_server.jar nogui<\/pre>\n<p>Don&#8217;t forget to open port 25565 &#038; 25566 in your firewall and router!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This guide was created on CentOS 7 and Debian 9 It is assumed that you have git and java installed already. Firstly create a new user and group to run the killing floor server sudo useradd -m minecraft -p PASSWORD Now, let&#8217;s create the group sudo groupadd minecraft And, let&#8217;s add our new minecraft user [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[163],"tags":[417,413,79,415,402,416],"class_list":["post-1554","post","type-post","status-publish","format-standard","hentry","category-game-servers","tag-buildtools","tag-dedicated","tag-linux-2","tag-minecraft","tag-server","tag-spigot"],"_links":{"self":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1554","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1554"}],"version-history":[{"count":3,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1554\/revisions"}],"predecessor-version":[{"id":1610,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/1554\/revisions\/1610"}],"wp:attachment":[{"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1554"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/scunster.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}