\n
Glowstone<\/strong>\u00a0is indubitably the most optimized server for\u00a0Minecraft<\/strong>. The software boasts low memory usage, and uses significantly less\u00a0CPU<\/strong>\u00a0on your server.<\/p>\nWhether you are an avid player, or just trying to get a server up, the setup process is a breeze.<\/p>\n
This article will cover the installation process for on\u00a0CentOS 7<\/strong>.<\/p>\n<\/div>\nPrerequisites<\/strong><\/h2>\n\n
\n- CentOS 7.<\/strong><\/li>\n
- A text editor (
nano<\/code>\u00a0and\u00a0vim<\/code>\u00a0are fine).<\/strong><\/li>\n- Java.<\/strong><\/li>\n
- Screen (used to keep the server running in the background).<\/strong><\/li>\n<\/ul>\n<\/div>\n
Installation<\/strong><\/h2>\n\n
As mentioned previously,\u00a0Glowstone<\/strong>\u00a0is simple. This installation will require minimal work.<\/p>\n<\/div>\nStep 1: Install packages<\/strong><\/h3>\n\n
Install the necessary packages to run\u00a0Glowstone<\/strong>\u00a0(binaries for Java and\u00a0screen<\/code>):<\/p>\nyum install java screen -y\r\n<\/code><\/pre>\n<\/div>\nStep 2: Create server folder<\/strong><\/h3>\n\n
Create a new directory for the server.<\/p>\n
cd ~\r\nmkdir Glowstone\r\ncd Glowstone\r\n<\/code><\/pre>\n<\/div>\nStep 3: Download Glowstone<\/strong><\/h3>\n\n
Download\u00a0Glowstone<\/strong>\u00a0from the repository.<\/p>\nwget https:\/\/circleci.com\/api\/v1.1\/project\/github\/GlowstoneMC\/Glowstone\/latest\/artifacts\/0\/%24CIRCLE_ARTIFACTS\/glowstone.jar\r\n<\/code><\/pre>\n<\/div>\nStep 4: Create setup file<\/strong><\/h3>\n\n
Create the startup file. We need to create this to set the amount of RAM the server will allocate and use.<\/p>\n
nano start.sh\r\n<\/code><\/pre>\nIn the step above, you may use any text editor. We’ll be using\u00a0nano<\/code>\u00a0for this tutorial.<\/p>\nPaste the following:<\/p>\n
java -Xms512M -Xmx512M -jar glowstone.jar\r\n<\/code><\/pre>\nYou may change the 512M to the desired amount of RAM.<\/p>\n
Exit and save. With\u00a0nano<\/code>, you’ll need to hold\u00a0CTRL<\/code>\u00a0and\u00a0O<\/code>\u00a0at the same time. Once you’ve done this, simply press the\u00a0Enter<\/code>or\u00a0Return<\/code>\u00a0key.<\/p>\n<\/div>\nStep 5: Permissions update<\/strong><\/h3>\n\n
Set the appropriate permissions on\u00a0glowstone.jar<\/code>.<\/p>\nchmod 755 glowstone.jar\r\n<\/code><\/pre>\n<\/div>\nStep 6: Start screen<\/strong><\/h3>\n\n
Open a screen session for Glowstone.<\/p>\n
screen -S Glowstone\r\n<\/code><\/pre>\n<\/div>\nStep 7: Launch Glowstone<\/strong><\/h3>\n\n
Start the server:<\/p>\n
.\/start.sh\r\n<\/code><\/pre>\nAt this point, you can stay in the console, or choose to exit by pressing\u00a0CTRL<\/code>\u00a0,\u00a0A<\/code>, and\u00a0D<\/code>\u00a0simultaneously.<\/p>\n<\/div>\nConclusion<\/strong><\/h2>\n\n
Congratulations! Assuming that everything has worked, you now have a working Minecraft server. Connecting to it is like any other server; the IP you’ll connect to should look like the following:<\/p>\n
203.0.113.230:25565\r\n<\/code><\/pre>\nUninstalling is also possible. Simply stop the server, remove the Glowstone folder, and uninstall Java. For example:<\/p>\n
cd ~\r\nrm -rf Glowstone\r\nyum -y remove java\r\n<\/code><\/pre>\nHave fun!<\/p>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","manualknowledgebasecat":[105,231,242,243,245],"manual_kb_tag":[171],"_links":{"self":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2220"}],"collection":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/comments?post=2220"}],"version-history":[{"count":3,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2220\/revisions"}],"predecessor-version":[{"id":2223,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2220\/revisions\/2223"}],"wp:attachment":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/media?parent=2220"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manualknowledgebasecat?post=2220"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb_tag?post=2220"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}