Minecarft Server Install on Debian: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
Line 51: | Line 51: | ||
sudo mscs restore-backup world 2015-08-21T20:19:06+10:00 | sudo mscs restore-backup world 2015-08-21T20:19:06+10:00 | ||
sudo mscs console world | sudo mscs console world | ||
</pre> | |||
= Plugins = | |||
http://tcpr.ca/craftbukkit | |||
<pre> | |||
wget http://tcpr.ca/files/craftbukkit/craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar -O /opt/mscs/server/craftbukkit.jar | |||
chown minecraft:minecraft /opt/mscs/server/craftbukkit.jar | |||
</pre> | |||
Change directly to the world that you would like to enable plugins. | |||
<pre> | |||
/opt/mscs/worlds/default | |||
vi mscs.properties | |||
</pre> | |||
add the following line | |||
<pre> | |||
mscs-server-command=$JAVA -jar $SERVER_LOCATION/craftbukkit.jar | |||
</pre> | |||
Download and copy your plugins to the required folder and change owner permissions. | |||
<pre> | |||
cd /opt/mscs/worlds/default/plugins | |||
wget http://addons-origin.cursecdn.com/files/880/435/worldedit-bukkit-6.1.jar | |||
chown minecraft:minecraft worldedit-bukkit-6.1.jar | |||
</pre> | </pre> |
Revision as of 09:33, 13 September 2015
Refer to MinecraftServerControlScript for more specific information.
Prerequisites
sudo apt-get -y install make vim git default-jre perl python wget rdiff-backup socat
Overviewer Installation
sudo vi /etc/apt/sources.list
Add the following line
deb http://overviewer.org/debian ./
sudo wget -O - http://overviewer.org/debian/overviewer.gpg.asc | sudo apt-key add - sudo apt-get update sudo apt-get -y install minecraft-overviewer
Minecarft Server Script Install
cd /usr/src sudo git clone https://github.com/sandain/MinecraftServerControlScript.git cd MinecraftServerControlScript sudo make sudo make install
NOTE: As of 2015-09-05 when I tried to install the current branch mscs keep failing with missing files. Cloning a previous branch fixed this problem.
sudo git clone -b version-15.08 https://github.com/sandain/MinecraftServerControlScript.git
World Locations
cd /opt/mscs/worlds
Commands
sudo mscs start sudo mscs stop sudo mscs add myworld 25565 sudo mscs add mysecond 25566 sudo mscs delete mysecond sudo mscs backup world sudo mscs list-backups world sudo mscs restore-backup world 2015-08-21T20:19:06+10:00 sudo mscs console world
Plugins
wget http://tcpr.ca/files/craftbukkit/craftbukkit-1.8.8-R0.1-SNAPSHOT-latest.jar -O /opt/mscs/server/craftbukkit.jar chown minecraft:minecraft /opt/mscs/server/craftbukkit.jar
Change directly to the world that you would like to enable plugins.
/opt/mscs/worlds/default vi mscs.properties
add the following line
mscs-server-command=$JAVA -jar $SERVER_LOCATION/craftbukkit.jar
Download and copy your plugins to the required folder and change owner permissions.
cd /opt/mscs/worlds/default/plugins wget http://addons-origin.cursecdn.com/files/880/435/worldedit-bukkit-6.1.jar chown minecraft:minecraft worldedit-bukkit-6.1.jar