I have been struggling for a couple days but have not been successful in getting a mod-ed game running from a linux box. After an untold number of videos, articles, and poking around its time to just ask I guess!
Here is where I am:
Ubuntu Server 22.04.3
Java:
openjdk version "17.0.9" 2023-10-17
OpenJDK Runtime Environment (build 17.0.9+9-Ubuntu-122.04)
OpenJDK 64-Bit Server VM (build 17.0.9+9-Ubuntu-122.04, mixed mode, sharing)
I have tried both All the Mods 9 versions 9-0.2.46 and 9-0.2.47 as well as Better Minecraft [FORGE] 1.20.1 v26. I tried these individually.
I want to play All the Mods 9 but after several attempts I grabbed Better MC to see if ATM9 was my issue.
Those mod packs require 1.20.1. I am using forge-1.20.1-47.2.20-installer.jar for the install.
To set it all up, here is what I am doing:
Creating a folder under /opt
sudo java -jar forge-1.20.1-47.2.20-installer.jar --installServer
sudo chmod +x run.sh
Edit user_jvm_args.txt To setup server memory. I am giving it 6Gig
Edit run.sh Adding nogui
Running sudo ./run.sh to start the server to the point of generating initial files.
Editing the eula.txt and set to true
Drop mod file in mods folder. I have tried this, both server and client, as the zip (as downloaded), unzipped in a sub folder, and unzipped in the mods folder itself.
./run.sh to start the server
This all goes as expected. At initial world generation I get some errors since server.properties does not exist.
I see nothing in the resulting messages to tell me any mod was loaded. I do get some warnings I will note them below.
On the client side, a windows 10 box, I ran forge-1.20.1-47.2.20-installer.jar and install the client.
I copy the mod zip file to the mod folder. As noted above, I have also unzipped the packs to see if that made a difference.
Fire up the MC launcher, select my forge install. I notice that when I click the mods button I see Minecraft 1.20.1 and Forge 47.2.20. I would have expected to see either All the Mods 9 (or its included mods listed separately) or Better MC (or its included mods listed separately). Of course, depending on which I was trying at the moment.
The server starts and I can connect to the game... but every time its just a vanilla world.
If anyone has any insight I would really appreciate it. I think I have my bases covered but I am obviously missing something.
These are the warning I get when I start the server
Some related to ne.mi.fm.lo.mo.ModFileParser/LOADING and missing mods.toml
fmlcore-1.20.1-47.2.20.jar is missing
javafmllanguage-1.20.1-47.2.20.jar
lowcodelanguage-1.20.1-47.2.20.jar
mclanguage-1.20.1-47.2.20.jar
2 about /.mcassetsroot using an unexpected schema.