FallingTree

FallingTree

28M Downloads

Doesn't work on server, meanwhile works in singleplayer

CongoBB opened this issue ยท 14 comments

commented

Describe the bug

I keep trying to put this mod on my server, but it just doesn't work, doesn't create config file aswel. I don't know what to do at all, could you help?
Tried removing it from client, and keep it on server only, didn't change anything.

Minecraft version

1.19

Forge version

41.0.45

Mod version

3.6.2

Relevant log output

No response

commented

You can check in your server debug.log file, you should see something similar to this (that is from an other issue and shows 3.6.1, but should be the same with 3.6.2) :

[11Jun2022 10:47:39.081] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Initiating mod scan
[11Jun2022 10:47:39.102] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModListHandler/CORE]: Found mod coordinates from lists: []
[11Jun2022 10:47:39.104] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer/CORE]: Found Mod Locators : (mods folder:null),(maven libs:null),(exploded directory:null),(minecraft:null),(userdev classpath:null)
[11Jun2022 10:47:39.278] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate E:\Minecraft\test-forge\mods\FallingTree-1.19-3.6.1.jar
[11Jun2022 10:47:39.346] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file FallingTree-1.19-3.6.1.jar with {fallingtree} mods - versions {3.6.1}
[11Jun2022 10:47:39.350] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file E:\Minecraft\test-forge\mods\FallingTree-1.19-3.6.1.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[41,)]]
[11Jun2022 10:47:39.355] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file server-1.19-20220607.102129-srg.jar with {minecraft} mods - versions {1.19}
[11Jun2022 10:47:39.355] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file E:\Minecraft\test-forge\libraries\net\minecraft\server\1.19-20220607.102129\server-1.19-20220607.102129-srg.jar with languages [LanguageSpec[languageName=minecraft, acceptedVersions=1]]
[11Jun2022 10:47:39.355] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate E:\Minecraft\test-forge\libraries\net\minecraftforge\forge\1.19-41.0.17\forge-1.19-41.0.17-universal.jar
[11Jun2022 10:47:39.358] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file forge-1.19-41.0.17-universal.jar with {forge} mods - versions {41.0.17}
[11Jun2022 10:47:39.358] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file E:\Minecraft\test-forge\libraries\net\minecraftforge\forge\1.19-41.0.17\forge-1.19-41.0.17-universal.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[24,]]]

Especially :

[11Jun2022 10:47:39.278] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate E:\Minecraft\test-forge\mods\FallingTree-1.19-3.6.1.jar
[11Jun2022 10:47:39.346] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file FallingTree-1.19-3.6.1.jar with {fallingtree} mods - versions {3.6.1}

If you don't have this then the mod is not loaded by forge (wrong file, put in wrong folder, corrupted downloaded file, ...).

commented

Yeah, i don't have mod name in debug file at all, but the thing is, i use the same file for client, and it works there.

commented

It probably isn't placed at the correct place on the server side, or server isn't a forge one.
Do you see any net.minecraftforge logs in the debug.log file?

commented

Server is a forge one, im using other forge mods aswel and they work properly both sides (client and server), Thats for sure. Do i need special libraries for fallingtree mod maybe? Im sure description says other mods are not required though.

commented

No other libraries are required on the server side.(Just cloth on the client for the config gui)

I'll try again on my side with the 3.6.2.

commented

I can tell you what other mods i'm using maybe it will make things clearer for you? Its not much, or i can try to launch server with only fallingtree mod and see if the problem is still there.

commented

I can't manage to reproduce it. I can start a 41.0.45 forge server with FT 3.6.2. Joining with a vanilla client and chopping a tree works.

To me if there isn't a line like [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate xxxx\mods\FallingTree-1.19-3.6.2.jar in the logs then Forge didn't even try to scan the file for mods.

You can try having just falling tree in the mods folder to see what happens. Weird that other mods are loaded but not FT ๐Ÿค”

commented

Tried rebuilding server with only that one mod, didn't work with mod on client neither without here's debug, nothing about this mod, even tho works in single player.
debug.log
.

commented

Indeed the mod isn't loaded. To be honest it's a bit hard to troubleshot this x)

Can you perhaps send your server folder (should be D:\server19 from the logs) so that I can have the same setup on my side and try things locally? (you can remove the map so that it's lighter)

If you're willing to, can drop a zip of it here.

commented

Hey there, i also have the same problem like CongoBB. FallingTree only works in single player and i dont have this <[main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate xxxx\mods\FallingTree-1.19-3.6.2.jar> in my logs. Are there any solutions right now ?

commented

Sent you the zip :)

commented

Sent you the zip :)

I guess you start your server with your start.bat :

java -Xmx8G -Xms8G -jar server1.jar nogui

However it seems that recent versions of forge doesn't really support that anymore, the default startup command is very different :
java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.19-41.0.45/win_args.txt %* especially @libraries/net/minecraftforge/forge/1.19-41.0.45/win_args.txt that loads forge.

What I'd advise you to do is :

  • Edit the user_jvm_args.txt and replace its content with: -Xmx8G -Xms8G
  • Start the server with run.bat nogui
    • Or edit your start.bat with the above command
commented

@Meloku27 As you have the "considering..." in your logs the issue is probably not the same.

If you see Found valid mod file FallingTree-1.19-3.6.2.jar with {fallingtree} mods - versions {3.6.2} then the mod is loaded.
In that case maybe the configuration is not the one you expect? In any case it'd be easier handling that in a separate issue.

commented

Omg! you are a genius ๐Ÿ™‚ ๐Ÿ‘ I did what you told me to with run.bat and it worked! thank you so much!