Customization with Minecraft - Minecraft Java (Forge)

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Phobos’ v2.6.0.6 (Mainline)
Virtualization Docker
Application Minecraft
Module MinecraftModule
Running in Container Yes
Current State Ready

Problem Description

Issue

Hello, probably a really stupid question. I have create a Minecraft version with a few mods that i want to host a minecraft server for my friends and me. I have changed the Server type to forge and selected the appropriate Server Version. But when I then Join it mentions that the Mod channel list is mismatched.
When I then transfer the Mod packs to the Mods Folder via SFTP the server wont start anymore. Am I using the wrong files of the Mods on the Server? I cannot find the Server Packs if something like that exists

Reproduction Steps

  • Install Minecraft Java
  • Configure Server Type to Forge
  • Set Forge Version to 40.2.0
  • Try to join the server

You need to read the log to know why it can’t start.
If the modpack includes client-only mods, some of those crash when loaded onto the server.

Okay I copied over the once that Game was complaining that were missing.
I saw in the Logs two lines that a version number is not being reported by Mods. Could that be a cause ?

That’s just a version check that they do on startup, it doesn’t limit any functionality if the checks fail

Yeah sorry. Probably just a really stupid mistake I am doing. So for reference these are the mods I would corrently try to run.


And this it what I have moved to the Server.

And as soon as I restart the server then. It doesnt start anymore.
And this it the last error message I found in the server Log:
Error loading class: java/lang/Math (java.lang.IllegalArgumentException: Unsupported class file major version 65)

and Here is the complete Latest.log

[06Dec2024 09:03:10.411] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeserver, --fml.forgeVersion, 40.2.0, --fml.mcVersion, 1.18.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220404.173914]
[06Dec2024 09:03:10.413] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 9.1.3+9.1.3+main.9b69c82a starting: java version 21.0.4 by Eclipse Adoptium
[06Dec2024 09:03:10.464] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/AMP/Minecraft/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2314!/ Service=ModLauncher Env=SERVER
[06Dec2024 09:03:10.586] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /AMP/Minecraft/libraries/net/minecraftforge/fmlcore/1.18.2-40.2.0/fmlcore-1.18.2-40.2.0.jar is missing mods.toml file
[06Dec2024 09:03:10.587] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /AMP/Minecraft/libraries/net/minecraftforge/javafmllanguage/1.18.2-40.2.0/javafmllanguage-1.18.2-40.2.0.jar is missing mods.toml file
[06Dec2024 09:03:10.587] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /AMP/Minecraft/libraries/net/minecraftforge/lowcodelanguage/1.18.2-40.2.0/lowcodelanguage-1.18.2-40.2.0.jar is missing mods.toml file
[06Dec2024 09:03:10.588] [main/WARN] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Mod file /AMP/Minecraft/libraries/net/minecraftforge/mclanguage/1.18.2-40.2.0/mclanguage-1.18.2-40.2.0.jar is missing mods.toml file
[06Dec2024 09:03:10.624] [main/INFO] [net.minecraftforge.fml.loading.moddiscovery.JarInJarDependencyLocator/]: No dependencies to load found. Skipping!
[06Dec2024 09:03:10.653] [main/ERROR] [net.minecraftforge.fml.loading.ModSorter/LOADING]: Missing or unsupported mandatory dependencies:
	Mod ID: 'balm', Requested by: 'kleeslabs', Expected range: '[2.1.0,)', Actual version: '[MISSING]'
	Mod ID: 'puzzleslib', Requested by: 'easymagic', Expected range: '[3.3.0,)', Actual version: '[MISSING]'
[06Dec2024 09:03:11.179] [main/INFO] [mixin/]: Compatibility level set to JAVA_17
[06Dec2024 09:03:11.182] [main/INFO] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeserver' with arguments []
[06Dec2024 09:03:11.231] [main/WARN] [mixin/]: Error loading class: java/lang/invoke/MethodHandles$Lookup (java.lang.IllegalArgumentException: Unsupported class file major version 65)
[06Dec2024 09:03:11.629] [main/WARN] [mixin/]: Error loading class: java/lang/Math (java.lang.IllegalArgumentException: Unsupported class file major version 65)

Does this help you helping me ? :slight_smile:

All that error says is that you’re missing mods on the server, you need to add the missing mods to the server for things to work. The log also tells you that you’re missing dependencies.