[Minecraft] Installation d’un serveur Minecraft GlowStone.
1) Vérification de la version de Java :
minecraft@ks3287666:~$ java -version java version "1.7.0_65" OpenJDK Runtime Environment (IcedTea 2.5.1) (7u65-2.5.1-2~deb7u1) OpenJDK Server VM (build 24.65-b04, mixed mode)
2) Répertoire de travail :
minecraft@ks3287666:~$ mkdir -p MINECRAFT/SERVEUR/GLOWSTONE minecraft@ks3287666:~$ cd MINECRAFT/SERVEUR/GLOWSTONE/ minecraft@ks3287666:~/MINECRAFT/SERVEUR/GLOWSTONE$
3) Téléchargement du serveur Glowstone :
minecraft@ks3287666:~/MINECRAFT/SERVEUR/GLOWSTONE$ wget http://ci.chrisgward.com/job/Glowstone/lastBuild/artifact/build/libs/glowstone.jar
4) Script de lancement :
Ouvrir :
lancerServeurGlowstone.sh
Ajouter :
#!/bin/sh java -Xms512M -Xmx1536M -XX:MaxPermSize=128M -jar glowstone.jar
Action :
minecraft@ks3287666:~/MINECRAFT/SERVEUR/GLOWSTONE$ chmod +x lancerServeurGlowstone.sh
5) Lancement :
minecraft@ks3287666:~/MINECRAFT/SERVEUR/GLOWSTONE$ ./lancerServeurGlowstone.sh 20:59:41 [INFOS] This server is running Glowstone version 1.8-52-g62590b7-b69 (Implementing API version 1.8-R1-SNAPSHOT) 20:59:41 [INFOS] Created default config: config/glowstone.yml 20:59:42 [INFOS] Recipes: 259 shaped, 58 shapeless, 22 furnace, 15 fuels. 20:59:42 [INFOS] Preparing spawn for world... 20:59:44 [INFOS] Preparing spawn for world: 7% ... 21:00:02 [INFOS] Preparing spawn for world_the_end: 89% 21:00:02 [INFOS] Preparing spawn for world_the_end: done 21:00:03 [INFOS] Created default config: config/commands.yml 21:00:03 [INFOS] Created default config: config/permissions.yml 21:00:03 [INFOS] Binding to address: 0.0.0.0/0.0.0.0:25565... 21:00:03 [INFOS] Ready for connections. >
Comments are closed, but trackbacks and pingbacks are open.