git config --global --unset core.autocrlf\r\n<\/code><\/pre>\nRun BuildTools.jar.<\/p>\n
java -jar BuildTools.jar\r\n<\/code><\/pre>\nMake note of the name of your\u00a0spigot.jar<\/code>\u00a0file. For example,\u00a0spigot-1.8.3.jar<\/code>.<\/p>\nls\r\n<\/code><\/pre>\nMake a directory for your server.<\/p>\n
cd ~\r\nmkdir server\r\ncd server\r\n<\/code><\/pre>\nMove your\u00a0spigot.jar<\/code>\u00a0into your server directory. Replace\u00a0spigotname.jar<\/code>\u00a0with the name of your file.<\/p>\nmv ~\/build\/spigotname.jar ~\/server\/spigot.jar\r\n<\/code><\/pre>\nStarting your server<\/h3>\n
Create a start up script for your server.<\/p>\n
nano start.sh\r\n<\/code><\/pre>\nMake\u00a0start.sh<\/code>\u00a0match the following, replacing\u00a0-Xmx1024M<\/code>\u00a0with the amount of RAM installed on your server.<\/p>\n#!\/bin\/sh\r\n\r\njava -Xms512M -Xmx1024M -XX:MaxPermSize=128M -jar spigot.jar\r\n<\/code><\/pre>\nMake\u00a0start.sh<\/code>\u00a0executable.<\/p>\nchmod +x start.sh\r\n<\/code><\/pre>\nStart your server.<\/p>\n
.\/start.sh\r\n<\/code><\/pre>\nOptional: Run your server in the background<\/h3>\n
Install screen.<\/p>\n
sudo apt-get install screen -y\r\n<\/code><\/pre>\nOpen an instance of screen.<\/p>\n
screen -S \"Spigot Server\"\r\n<\/code><\/pre>\nStart your server script.<\/p>\n
~\/server\/start.sh \r\n<\/code><\/pre>\nTroubleshooting<\/h3>\n
Accept EULA.<\/strong><\/p>\nIf you are asked to confirm\u00a0eula.txt<\/code>, change\u00a0eula<\/code>\u00a0to\u00a0true<\/code>.<\/p>\nnano eula.txt\r\n<\/code><\/pre>\nBuildTools.jar wont run?<\/strong><\/p>\nYou need more RAM on your server or a larger swap file.<\/p>\n
start.sh can’t run the\u00a0file<\/code>\u00a0command on your jar file?<\/strong><\/p>\nCheck to ensure everything is typed exactly the same, Linux IS case sensitive.<\/p>\n
Want to download a specific Minecraft version?<\/strong><\/p>\njava -jar BuildTools.jar --rev 1.8.4\r\n<\/code><\/pre>\nReplace 1.8.4 with the version of your choice.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","manualknowledgebasecat":[243,245,247],"manual_kb_tag":[507],"_links":{"self":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/3037"}],"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=3037"}],"version-history":[{"count":1,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/3037\/revisions"}],"predecessor-version":[{"id":3038,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/3037\/revisions\/3038"}],"wp:attachment":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/media?parent=3037"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manualknowledgebasecat?post=3037"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb_tag?post=3037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}