Customization with Minecraft - Adding a full modpack to Minecraft

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

I am a slight bit confused as I have set up my own server using personal hardware but never through a hosted server. I am wondering what exactly I need to transfer over and where in order to make “All The Mods 9” Work as intended since there are many more files other than the mods that I don’t want to get damaged or placed in the wrong location. There are also the server files which im not sure I need here or not. I’ve tried to boot it up with the files but after a few attempts I decided to reach out.

Reproduction Steps

  • Installed Curse Forge to the server
  • Downloaded Modpack and accompanying files
  • Added mod files to server

It’s pretty much the exact same. Upload all the files into the main server folder and select the right Forge/NeoForge version that the pack uses.
General import guide here:
https://discourse.cubecoders.com/t/how-to-import-an-existing-minecraft-server-into-amp/1822
Forge FAQ here:
https://discourse.cubecoders.com/t/forge-frequently-asked-questions/2982

1 Like

So everything is all set up but the server crashes on start with the error being caused by a missing/unreadable .json file for one of the mods. I’ve tried everything I can think off to change that so I am back.

lionfishapi.mixins.json is the file in question

That json file is inside the lionfishapi mod’s Jar.
If their mixins are failing, you’ll want to see if they have a FAQ, or remove the mod

There isn’t much info on it so I deleted it but it still searches for the .json. I looked in the startup scripts where it says to read the json files but it doesn’t have a direct code for that mod, any ideas on how I can force the server to ignore it? Or would possibly starting a new server instance and reloading everything except those mods then trying to launch work?

Exception in thread “main” org.spongepowered.asm.launch.MixinInitialisationError: Error initialising mixin config lionfishapi.mixins.json

at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.Config.create(Config.java:153)

at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.Mixins.createConfiguration(Mixins.java:100)

at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.Mixins.addConfiguration(Mixins.java:87)

at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.platform.MixinPlatformManager.addConfig(MixinPlatformManager.java:262)

at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.platform.MixinPlatformAgentDefault.prepare(MixinPlatformAgentDefault.java:46)

at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.platform.MixinContainer.prepare(MixinContainer.java:122)

at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.platform.MixinPlatformManager.createContainerFor(MixinPlatformManager.java:144)

at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.platform.MixinPlatformManager.addContainer(MixinPlatformManager.java:134)

at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.platform.MixinPlatformManager.addNestedContainers(MixinPlatformManager.java:152)

at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.platform.MixinPlatformManager.scanForContainers(MixinPlatformManager.java:213)

at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.platform.MixinPlatformManager.inject(MixinPlatformManager.java:186)

at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.MixinBootstrap.inject(MixinBootstrap.java:202)

at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.MixinLaunchPluginLegacy.initializeLaunch(MixinLaunchPluginLegacy.java:201)

at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.launch.MixinLaunchPlugin.initializeLaunch(MixinLaunchPlugin.java:34)

at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchPluginHandler.lambda$announceLaunch$11(LaunchPluginHandler.java:100)

at java.base/java.util.HashMap.forEach(HashMap.java:1429)

at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchPluginHandler.announceLaunch(LaunchPluginHandler.java:100)

at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:51)

at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)

at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.Launcher.run(Launcher.java:106)

at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)

at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)

at MC-BOOTSTRAP/cpw.mods.modlauncher@10.0.8/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)

at cpw.mods.bootstraplauncher@1.1.2/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141)

Caused by: java.lang.IllegalArgumentException: The specified resource ‘lionfishapi.mixins.json’ was invalid or could not be read

at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.MixinConfig.create(MixinConfig.java:1282)

at MC-BOOTSTRAP/org.spongepowered.mixin/org.spongepowered.asm.mixin.transformer.Config.create(Config.java:148)

… 23 more

That means the mod is still in there, the server gets what JSONs to look for based on the Jar’s metadata.
Be sure that you’ve removed it from both your client and the server.
Then if it still shows up, it means some other mod is embedding it, and you’ll need to figure out what mod is loading it via JiJ (Jar-in-Jar)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.