mindstorm38 / portablemc

A fast, reliable and cross-platform command-line Minecraft launcher and API for developers. Including fast and easy installation of common mod loaders such as Fabric, Forge, NeoForge and Quilt.
https://pypi.org/project/portablemc/
GNU General Public License v3.0
354 stars 20 forks source link

[feature] server start #200

Open TheCherry opened 6 months ago

TheCherry commented 6 months ago

It would be very cool, if we can start a server with portablemc too. So that its download forge, fabric and so on automatic too.

mindstorm38 commented 6 months ago

This is a good idea to be honest! I wonder how it should be implemented, because it doesn't require the same resources management as the client. Maybe portablemc serve <version> and place everything in the working directory? This would be so cool to provide server.properties directly in the command line (like listen port, seed). There are a lot of questions to be answered but this is great tho (warn the user if they change the version, downloading jvm?).

And also, the current command line is really client-oriented.

Razzokk commented 6 months ago

100% liking the idea. I randomly found this project and it seems pretty cool and easy to use. A server setup would be much appreciated. The approach you described sounds good so far.

I also like the idea of using pmc to setup local dev servers for mod testing.