Lodestone-Team / lodestone_core

The backend for Lodestone, A free, open source server hosting tool for Minecraft and other multiplayers
https://www.lodestone.cc/
GNU Affero General Public License v3.0
59 stars 7 forks source link

Support for modpacks #124

Open RobinVanCauter opened 1 year ago

RobinVanCauter commented 1 year ago

I've been trying to use Lodestone for some of my servers, but ran into the following issue:

Upon creation of a new instance, lodestone asks which flavour to use: vanilla / fabric / forge and then download and installs the latest version of these mod managers. The problem is, most of the large and popular modpacks are not built to be used with the latest version of these modloaders, they usually lag a couple of versions behind. As a result, I think nearly any server trying to use fabric or forge with existing modpacks, are not well supported at the moment.

For example, when I pick forge, remove the "by lodestone installed" forge files (as it won't work with the newest version), then copy over all of the files from a modpack it's server pack, I get the following error:

Error: could not open `C:\Users\Administrator\.lodestone\instances\Create Test-c6521e1d\libraries\net\minecraftforge\forge\1.19.2-43.2.6\win_args.txt'

There's a couple of different solutions that would fix this problem:

Thanks for all the hard work, love the design, love the tech stack!

CheatCod commented 1 year ago

Thanks for your kind comment! We are aware of the forge bug, it's the result of forge changing how the server is launched somewhere between 1.16 to 1.19. We are also overhauling the setup experience to include mod loader versions. It should be out by 0.4.3.

We plan to implement modpacks using an upcoming "generic instance" system that allows developers to write plugins for lodestone to run at runtime. We hope to keep the setup experience simple for the current games supported by Lodestone, but allow technical users to extend the functionalities through our plugin system.