Aquerr / ChestRefill

A plugin for refilling/restocking chests on a Minecraft Server that uses SpongeForge.
MIT License
4 stars 4 forks source link

Crash on startup with error [java.lang.ThreadGroup:uncaughtException:1052]: net.minecraftforge.fml.loading.moddiscovery.InvalidModFileException: Missing ModLoader in file (ChestRefill-2.0.1-API-8.2.0.jar) #14

Open HiddenDeath opened 6 months ago

HiddenDeath commented 6 months ago

Environment

What happens?

Server doesn't start with error [java.lang.ThreadGroup:uncaughtException:1052]: net.minecraftforge.fml.loading.moddiscovery.InvalidModFileException: Missing ModLoader in file (ChestRefill-2.0.1-API-8.2.0.jar)

Expected result

Working server

More information

https://pastebin.com/iVvkEw11 full log

HiddenDeath commented 6 months ago

oh i forgot plugin version 2.0.1

Aquerr commented 2 months ago

Woah, I didn't notice this earlier. My bad. Analysing it now.

Aquerr commented 2 months ago

I see that you mentioned that you are using Sponge 8.2.0 but what version exactly? SpongeVanilla or SpongeForge? And what is the full file name of that version? This plugin is working only with SpongeForge that you normally get from https://spongepowered.org/downloads/spongeforge.

HiddenDeath commented 2 months ago

I was using SpongeForge 1.16.5-36.2.5-8.2.0

Aquerr commented 2 months ago

Hmmm.. strange. Forge is trying to load Chest Refill as if it were a mod but it is, in fact, a Sponge plugin, and thus the Sponge should be the one responsible for loading Chest Refill. 🤔

It has been some time since you opened the issue... but do you still have server files for that server? If yes, then I would be interested in how did you setup your mods folder inside server directory.

SpongeForge should be placed inside serverdir/mods. Chest Refill should be placed inside serverdir/mods/plugins.

I am running a server now in such setup and it is working without any issues. 🤔