Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Multicraft installation instructions for a dedicated Ubuntu 13.04, 13.10 64 bit server
- ## If you find these instructions to be helpful, please make a donation to
- ## http://secure.autismspeaks.org/donate
- ## Via ssh terminal, this sets up Multicraft to use sqlite, this is just my personal preference
- ## since it keeps the database file in the mulitcraft install folder.
- ## mysql is also setup if there any Bukkit plugins that need mysql.
- ## Run everything as root (sudo) or run sudo bash
- apt-get update
- apt-get upgrade
- ## type y to continue
- apt-get install openjdk-7-jre
- apt-get install nano zip unzip
- apt-get install apache2 php5 mysql-server
- ## When installing mysql, set a root password
- apt-get install php5-curl php5-sqlite
- service apache2 restart
- apt-get install phpmyadmin
- ## select apache2 option, answer yes to any other option
- ## It will ask for your mysql root password
- a2enmod rewrite
- service apache2 restart
- ## Edit one of the following that has the <Directory /var/www/> line
- ## Under <Directory /var/www/> change
- ## AllowOverride None to AllowOveride All
- nano /etc/apache2/apache2.conf
- nano /etc/apache2/sites-enabled/000-default
- service apache2 restart
- ## Go to http://yourserver/phpmyadmin
- ## login with your MySQL “root” details
- ## click “Databases” on the top and create any needed Collation databases
- ## Go back to ssh terminal
- cd /tmp
- wget http://www.multicraft.org/download?arch=linux64 -O multicraft.tar.gz
- tar xvzf multicraft.tar.gz
- cd multicraft
- ./setup.sh
- y
- minecraft
- y
- /home/minecraft/multicraft
- ## enter license key if you have one
- 1
- y
- www-data
- /var/www/multicraft
- y
- ## your server’s main ip address
- 21
- n
- sqlite
- y
- <Enter>
- y
- sudo service apache2 restart
- ## Go to http://yourserver/multicraft
- ## All install requirements should be green
- Start Installation
- Continue
- Continue
- Initialize database, type:SQLite, path /var/www/multicraft/protected/data/data.db
- Continue
- Login (username:admin, password:admin)
- Continue
- Initialize database, type:SQLite, path /home/minecraft/multicraft/data/data.db
- Continue
- Save
- ## Go back to ssh terminal and start deamon
- screen -S multicraft
- cd /home/minecraft/multicraft/bin/
- ./multicraft –nv start
- CTRL+A+D to detach from screen
- ## to reattach screen type screen -r multicraft
- ## You should see your daemon appear on "Detected Daemons"
- Resfresh
- Continue
- Continue
- ## Go back to ssh terminal
- mv /var/www/multicraft/install.php /var/www/multicraft/install._php
- ## Your panel should now be accessible via http://yourserver/multicraft
- ## Now copy the server jars to the daemon
- ## Go to your panel>Settings>Update Minecraft
- ## For each update file select conf then download>then install
- ## For each update update file select jar then download>then install
- ## Update BukGet to new API changes
- ## cd to the from end of your multicraft directory
- cd /var/www/multicraft
- ## or
- cd /var/www/html/multicraft
- wget http://multicraft.org/files/bg_update_2014.02.zip
- unzip bg_update_2014.02.zip
- ## let it overwrite
- ## Go to Settings>Panel Configuration and enable Use BukGet plugin list
- ## Go to Servers>Create Server to make a new server
- ## Set your name, player count, assign to admin, port number, amount of memory, select jar file
- ## Click on Show Advanced Options and check Owner Managed FTP
- ## Start punching some wood
- ## Install Bungeecord JAR
- ## Go to Settings>Update Minecraft>Add or Remove Files
- ## There is a field under "Add Files" enter in BungeeCord
- ## In the conf URL field, enter in http://www.multicraft.org/download/conf/?file=bungeecord.jar.conf
- ## Select Add, then back
- ## Select the "Mod: BungeeCord" and then JAR file, download, then install
- ## Install Spigot JAR
- ## Go to Settings>Update Minecraft>Add or Remove Files
- ## There is a field under "Add Files" enter in Spigot
- ## In the conf URL field, enter in http://www.multicraft.org/download/conf/?file=spigot.jar.conf
- ## Select Add, then back
- ## Select the "Mod: Spigot" and then JAR file, download, then install
- ## Install Cauldron 1.6.4 for Attack of the B-Team
- ## Install Cauldron to the specific server base folder, i.e. server1
- ## Copy Attack of the B-Team server files to server directory
- ## Download Cauldron Installer from http://files.minecraftforge.net/Cauldron/
- ## Run the installer to create the library folders
- java -jar cauldronlongfilename-installer.jar --installServer
- ## Rename cauldronlongfilename.jar to BTeam.jar
- ## There should be BTeam.jar and minecraft_server.1.6.4.jar
- ## Select "Default" as the jar selection for the server
- ## Enter in BTeam.jar for jar filename
- ## Set "Look for JARs in" to "Server base directory"
- ## Setup MySQL for plugins such as BungeeSuite
- ## Go to http://yourserver/phpmyadmin
- ## Login with your MySQL "root" credentials
- ## Click "Databases" on the top and create a new Collation database, you can name it anything you want (i.e. bungeesuite)
- ## When you first run your server with BungeeSuite, go to the console to enter in the MySQL info needed for setup
- ## Alternate database setup for MySQL for Multicraft (instead of sqlite)
- ## Go to http://yourserver/phpmyadmin
- ## Login with your MySQL "root" credentials
- ## Click "Databases" on the top and create two new Collation database, multicraft_panel and multicraft_daemon
- ## Rerun the installation for the daemon by running ./setup.sh
- ## When you get to the database option, select mysql
- ## 127.0.0.1
- ## multicraft_daemon
- ## root
- ## mysql password for "root" above
- ## Rerun the installation for the panel
- mv /var/www/multicraft/install._php back to /var/www/multicraft/install.php
- ## Go to http://yourserver/multicraft/install.php
- ## When you get to the MySQL connection details for the panel:
- ## Database type: MySQL
- ## Host: 127.0.0.1
- ## name: multicraft_panel
- ## username: root
- ## password: your "root" password for MySQL
- ## When you get to the MySQL connection details for the daemon:
- ## Database type: MySQL
- ## Host: 127.0.0.1
- ## name: multicraft_daemon
- ## username: root
- ## password: your "root" password for MySQL
- ## Continue with the setup as described above
- ## Install pocketmine 1.3.12 (http://www.pocketmine.net)
- ## cd to the jar directory under your daemon
- wget http://www.multicraft.org/download/conf?file=pocketmine.jar.conf
- sudo nano pocketmine.jar.conf
- ## Make sure the start path is:
- [start]
- command = "{JAR_DIR}/pocketmine/bin/php5/bin/php" "{JAR_DIR}/pocketmine/PocketMine-MP.php" --memory-limit "{MAX_MEMORY}M" --data-path "{SERVER_DIR}"
- ## Download and install pocket mine to jar/pocketmine
- ## Install all the dependencies needed and download/install pocketmine
- sudo apt-get install perl gcc make automake libtool autoconf m4 gcc-multilib
- wget -q -O - http://get.pocketmine.net/ | bash -s - -v Alpha_1.3.12
- ## Verify pocketmine installed correctly by starting it
- ./start.sh
- ## Exit out of pocketmine by typing exit, quit or stop
- ## Create a new server and select the Pocketmine JAR from the drop down
Add Comment
Please, Sign In to add comment