Résolu Rajouter des mods sur une version 1.12.2 sur un serveur synology DS1515+

Fradix

Aventurier
28 Août 2020
14
1
2
3
19
Bonjour

J'ai installé un serveur Minecraft sur mon NAS Synology DS1515+ (au passage je lui ai installé 16Go de RAM).
La création du serveur s'est très bien passée (en suivant ce tuto : https://digitalboxweb.wordpress.com/2019/08/21/minecraft-sur-nas-synology/)
J'ai récupéré la sauvegarde d'un monde de test en 1.12.2 avec les mods sur mon pc dans le dossier %appdata% et je l'ai copié sur mon NAS.
J'ai attribué les bons droits aux dossiers copiés sur le NAS (pour le monde et ses sous dossiers).
J'ai fait pointer le fichier Serveur.properties vers ce monde là .
J'ai redémarré mon serveur Minecraft.

Pb: Maintenant, lorsque je me connecte sur mon serveur Minecraft sur le monde récupéré avec les mods qui lui sont associés, je ne peux pas utiliser ces derniers (les mods sont non fonctionnels).
J'ai testé la copie du dossier mods de mon pc vers le Nas dans le dossier Minecraft avec les droits Linux qui vont bien mais cela ne change rien.

Question: Comment faire fonctionner les mods sur un serveur Nas (Linux)?
 
Solution
Nous y sommes, cela fonctionne. C'est donc bien le fichier Forge.jar qu'il fallait renommer en Minecraft.jar et laisser l'autre .jar dans son nom d'origine.
EdgarPi je vous dis un grand grand merci de m'avoir consacré tout ce temps et aussi bien sur de m'avoir permis de mener à bien cette mission ;).

Bonne soirée
Cordialement
Fradix

EdgarPi

Correcteur
Staff
Correcteur
9 Février 2014
179
13
25
135
Ah ! Java n'a pas la permission d'écrire dans ce dossier, et, my bad, je me suis trompé, c'est --installServer, et non --install-server.

Cordialement,
EdgarPi
 

Fradix

Aventurier
28 Août 2020
14
1
2
3
19
Que faut il faire pour donner la permission à Java d'écrire dans le dossier (quelle ligne de commande ?) Faut il créer un user JAVA avec les droits du user MINECRAFT (seul user habilité à écrire dans ce dossier pour le moment) ?
 

Fradix

Aventurier
28 Août 2020
14
1
2
3
19
Ah effectivement en mettant Sudo avant votre commande, le ciel s'éclaircit dirait on :

Setting up logger: /volume1/@appstore/Minecraft/forge.jar.log
java.net.preferIPv4Stack=true
Installing server to current directory
MESSAGE: Data kindly mirrored by Forge at http://MinecraftForge.net/
MESSAGE: Considering minecraft server jar
MESSAGE: Downloading minecraft server version 1.12.2
ETag: 71728ed3fbd0acd1394bf3ade2649a5c
MD5: 71728ed3fbd0acd1394bf3ade2649a5c
MESSAGE: Considering library net.minecraftforge:forge:1.12.2-14.23.5.2768: Not Downloading {Wrong Side}
MESSAGE: Considering library net.minecraft:launchwrapper:1.12
MESSAGE: Downloading library net.minecraft:launchwrapper:1.12
MESSAGE: Trying unpacked library net.minecraft:launchwrapper:1.12
MESSAGE: Considering library org.ow2.asm:asm-all:5.2
MESSAGE: Downloading library org.ow2.asm:asm-all:5.2
MESSAGE: Trying unpacked library org.ow2.asm:asm-all:5.2
MESSAGE: Considering library org.jline:jline:3.5.1
MESSAGE: Downloading library org.jline:jline:3.5.1
MESSAGE: Trying unpacked library org.jline:jline:3.5.1
MESSAGE: Considering library net.java.dev.jna:jna:4.4.0
MESSAGE: Downloading library net.java.dev.jna:jna:4.4.0
MESSAGE: Trying unpacked library net.java.dev.jna:jna:4.4.0
MESSAGE: Considering library com.typesafe.akka:akka-actor_2.11:2.3.3
MESSAGE: Downloading library com.typesafe.akka:akka-actor_2.11:2.3.3
MESSAGE: Trying unpacked library com.typesafe.akka:akka-actor_2.11:2.3.3
MESSAGE: Considering library com.typesafe:config:1.2.1
MESSAGE: Downloading library com.typesafe:config:1.2.1
MESSAGE: Trying unpacked library com.typesafe:config:1.2.1
MESSAGE: Considering library org.scala-lang:scala-actors-migration_2.11:1.1.0
MESSAGE: Downloading library org.scala-lang:scala-actors-migration_2.11:1.1.0
MESSAGE: Trying unpacked library org.scala-lang:scala-actors-migration_2.11:1.1.0
MESSAGE: Considering library org.scala-lang:scala-compiler:2.11.1
MESSAGE: Downloading library org.scala-lang:scala-compiler:2.11.1
MESSAGE: Trying unpacked library org.scala-lang:scala-compiler:2.11.1
MESSAGE: Considering library org.scala-lang.plugins:scala-continuations-library_2.11:1.0.2
MESSAGE: Downloading library org.scala-lang.plugins:scala-continuations-library_2.11:1.0.2
MESSAGE: Trying unpacked library org.scala-lang.plugins:scala-continuations-library_2.11:1.0.2
MESSAGE: Considering library org.scala-lang.plugins:scala-continuations-plugin_2.11.1:1.0.2
MESSAGE: Downloading library org.scala-lang.plugins:scala-continuations-plugin_2.11.1:1.0.2
MESSAGE: Trying unpacked library org.scala-lang.plugins:scala-continuations-plugin_2.11.1:1.0.2
MESSAGE: Considering library org.scala-lang:scala-library:2.11.1
MESSAGE: Downloading library org.scala-lang:scala-library:2.11.1
MESSAGE: Trying unpacked library org.scala-lang:scala-library:2.11.1
MESSAGE: Considering library org.scala-lang:scala-parser-combinators_2.11:1.0.1
MESSAGE: Downloading library org.scala-lang:scala-parser-combinators_2.11:1.0.1
MESSAGE: Trying unpacked library org.scala-lang:scala-parser-combinators_2.11:1.0.1
MESSAGE: Considering library org.scala-lang:scala-reflect:2.11.1
MESSAGE: Downloading library org.scala-lang:scala-reflect:2.11.1
MESSAGE: Trying unpacked library org.scala-lang:scala-reflect:2.11.1
MESSAGE: Considering library org.scala-lang:scala-swing_2.11:1.0.1
MESSAGE: Downloading library org.scala-lang:scala-swing_2.11:1.0.1
MESSAGE: Trying unpacked library org.scala-lang:scala-swing_2.11:1.0.1
MESSAGE: Considering library org.scala-lang:scala-xml_2.11:1.0.2
MESSAGE: Downloading library org.scala-lang:scala-xml_2.11:1.0.2
MESSAGE: Trying unpacked library org.scala-lang:scala-xml_2.11:1.0.2
MESSAGE: Considering library lzma:lzma:0.0.1
MESSAGE: Downloading library lzma:lzma:0.0.1
MESSAGE: Trying unpacked library lzma:lzma:0.0.1
MESSAGE: Considering library net.sf.jopt-simple:jopt-simple:5.0.3
MESSAGE: Downloading library net.sf.jopt-simple:jopt-simple:5.0.3
MESSAGE: Trying unpacked library net.sf.jopt-simple:jopt-simple:5.0.3
MESSAGE: Considering library java3d:vecmath:1.5.2
MESSAGE: Downloading library java3d:vecmath:1.5.2
MESSAGE: Trying unpacked library java3d:vecmath:1.5.2
MESSAGE: Considering library net.sf.trove4j:trove4j:3.0.3
MESSAGE: Downloading library net.sf.trove4j:trove4j:3.0.3
MESSAGE: Trying unpacked library net.sf.trove4j:trove4j:3.0.3
MESSAGE: Considering library org.apache.maven:maven-artifact:3.5.3
MESSAGE: Downloading library org.apache.maven:maven-artifact:3.5.3
MESSAGE: Trying unpacked library org.apache.maven:maven-artifact:3.5.3
Extracting: /forge-1.12.2-14.23.5.2768-universal.jar
To: /volume1/@appstore/Minecraft/./forge-1.12.2-14.23.5.2768-universal.jar
The server installed successfully, you should now be able to run the file forge-1.12.2-14.23.5.2768-universal.jar
You can delete this installer file now if you wish

Cela parait mieux ! Dans mon dossier Minecraft j'ai 4 fichiers Jar maintenant. Je supprime les 2 premiers (forge.jar et Minecraft.jar ) ?

1598903486856.png
 

Fradix

Aventurier
28 Août 2020
14
1
2
3
19
Faut il renommer ces 2 fichiers (le forge universal et minecraft serveur 1.12.2 ? Car au moment de la connexion le pc de mon fils me dit Failed to connect to the serveur.

Cordialement
Fradix
 

Fradix

Aventurier
28 Août 2020
14
1
2
3
19
Quand vous me dites de lancer Forge-universal.jar à la place de minecraft.jar, comment puis je lui indiquer le fichier à lancer ? Visiblement, il cherche systématiquement à lancer un fichier nommé exactement minecraft.jar sinon j'ai un "Failled to connect to the server". Faut il que je renomme le fichier forge-universal.jar en minecraft.jar ?
Cette manip ne fonctionne pas :
1598905767581.png
 

EdgarPi

Correcteur
Staff
Correcteur
9 Février 2014
179
13
25
135
Vous utilisez un script pre-fait ? Si oui, pouvez-vous l'envoyer (ou son contenu) ?

EDIT: Avez-vous lancé le serveur en parallèle ? Le client ne fait que s'y connecter, il ne le lance pas !

Cordialement,
EdgarPi
 
Dernière édition:

Fradix

Aventurier
28 Août 2020
14
1
2
3
19
Bonjour

Oui toutes les manips sur le NAS sont faites Serveur Minecraft arrêté.. Ce dernier est ensuite lancé pour faire le test sur le PC.
Le script dont vous me parlez serait sur le pc ? Car sur le serveur, il n'y a aucun script spécifique.
Si c'est sur le PC, je demanderai à mon fils car je n'ai rien changé sur cet appareil. Je sais juste que cette version fonctionne chez lui quand il est connecté aux serveurs Minecraft du web.
Je lui poserai la question et vous tiendrai au courant.
Merci pour tout ce que vous faites.

Cordialement
Fradix
 

EdgarPi

Correcteur
Staff
Correcteur
9 Février 2014
179
13
25
135
Bonjour,

Non, votre fils n'a rien à faire, si ce n'est se connecter. Si le serveur tourne lorsqu'il essaie de s'y connecter, pouvez-vous m'envoyer les logs du serveur ? Latest.log fera l'affaire ;).

EDIT: Apparement, pour les versions avant 1.15, il faut lancer minecraft_server.version.jar et non forge-universal.jar.

Cordialement,
EdgarPi
 
Dernière édition: