Debian установка сервера minecraft
Установка сервера Minecraft под Debian, начем с создания директории под сервер
выкачиваем сам сервер
установим java
apt-get install oracle-java7-installer |
проверим версию
Java(TM) SE Runtime Environment (build 1.7.0_45-b18) |
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode) |
Запускаем
# cd /home/minecraft && /usr/bin/screen -dmS minecraft /usr/bin/java -Xms1024M -Xmx1024M -jar /home/minecraft/minecraft_server.1.7.4.jar -nogui |
в скрине можно проверить
[12:58:09] [Server thread/INFO]: Starting minecraft server version 1.7.4 |
[12:58:09] [Server thread/INFO]: Loading properties |
[12:58:09] [Server thread/WARN]: server.properties does not exist |
[12:58:09] [Server thread/INFO]: Generating new properties file |
[12:58:09] [Server thread/INFO]: Default game type: SURVIVAL |
[12:58:09] [Server thread/INFO]: Generating keypair |
[12:58:10] [Server thread/INFO]: Starting Minecraft server on *:25565 |
[12:58:10] [Server thread/WARN]: Failed to load operators list: java.io.FileNotFoundException: ./ops.txt (Нет такого файла или каталога) |
[12:58:10] [Server thread/WARN]: Failed to load white-list: java.io.FileNotFoundException: ./white-list.txt (Нет такого файла или каталога) |
[12:58:10] [Server thread/INFO]: Preparing level "world" |
[12:58:10] [Server thread/INFO]: Preparing start region for level 0 |
[12:58:11] [Server thread/INFO]: Preparing spawn area: 8% |
[12:58:12] [Server thread/INFO]: Preparing spawn area: 19% |
[12:58:13] [Server thread/INFO]: Preparing spawn area: 32% |
[12:58:14] [Server thread/INFO]: Preparing spawn area: 39% |
[12:58:15] [Server thread/INFO]: Preparing spawn area: 52% |
[12:58:16] [Server thread/INFO]: Preparing spawn area: 65% |
Для сохранения изменений в мире:
/usr/bin/screen -p 0 -S minecraft -X eval 'stuff "/save-all"\015' |
Для остановки сервера:
/usr/bin/screen -p 0 -S minecraft -X eval 'stuff "/stop"\015' |
Для установки плагинов, надо использовать модифицированную версию minecraft
качать тут http://dl.bukkit.org/downloads/craftbukkit/
За сим откланяюсь.