Minecarft Server Install on Debian: Difference between revisions
From KlavoWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<font color=red size="6">This document is deprecated.</font> | <font color=red size="6">This document is deprecated.</font> | ||
Maybe [[ | Maybe [[Minecraft Server Install on Raspberry Pi]] will help.<br><br><br> | ||
Refer to [https://github.com/sandain/MinecraftServerControlScript MinecraftServerControlScript] for more specific information. | Refer to [https://github.com/sandain/MinecraftServerControlScript MinecraftServerControlScript] for more specific information. |
Latest revision as of 08:59, 12 May 2021
This document is deprecated.
Maybe Minecraft Server Install on Raspberry Pi will help.
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
https://tcpr.ca/downloads/craftbukkit
wget https://tcpr.ca/files/craftbukkit/craftbukkit-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
mscs.properties
mscs-server-args=nogui mscs-initial-memory=1024M mscs-maximum-memory=3072M
For a specific Server version
mscs-server-version=1.10.2
Server Downloads
https://mcversions.net/
Save to folder:
/opt/mscs/server/
As an example rename server.jar to minecraft_server.1.10.2.jar