Jump to content

Serveur Minecraft forge 1.12.2


GouzGouz

Recommended Posts

Bonjours,
J'ai installé un serveur forge 1.12.2 afin de pouvoir jouer avec un ami (en ayant des mods).
Les mods et le serveur fonctionnent mais le serveur ne possède pas assez de ram allouer et lorsque l'on charge des nouveau chunk cela crash.
J'ai donc creer un fichier ".bat" ou j'ai rentrer sa :

@echo off
"%ProgramFiles%\Java\jre1.8.0_211\bin\java.exe" -Xms2048M -Xmx2048M -jar minecraft_server_mod.jar nogui
pause

Mais lorsque je le lance la cmd m'affiche :

A problem occurred running the Server launcher.java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.run(ServerLaunchWrapper.java:70)
at net.minecraftforge.fml.relauncher.ServerLaunchWrapper.main(ServerLaunchWrapper.java:34)
Caused by: java.lang.NoClassDefFoundError: org/apache/logging/log4j/Level
at net.minecraft.launchwrapper.Launch.launch(Launch.java:94)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
... 6 more
Caused by: java.lang.ClassNotFoundException: org.apache.logging.log4j.Level
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 8 more
Avez vous une solution ?

Link to comment
Share on other sites

i have rename this file because when i write "forge 1.12.2-14.23.5.2836"(the server name when he wasn't rename" that doesn't work.

In my ".bat" i have

 @echo off
"%ProgramFiles%\Java\jre1.8.0_211\bin\java.exe" -Xms2048M -Xmx2048M -jar minecraft_server_mod.jar nogui
pause

and not 

 

@echo off
"%ProgramFiles%\Java\jre1.8.0_211\bin\java.exe" -Xms2048M -Xmx2048M -jar forge 1.12.2-14.23.5.2836 nogui
pause

(i don't remember the exact name of the server when i don't renamed

Yes i have use the installer in the official forge site.

my minecraft_server.jar don't use mods but i want to play whith mods so i use the forge server i have rename him in "minecraft_server_mod.jar"

Edited by GouzGouz
Add text
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.