ddevault / Craft.Net

(Unmaintained, see TrueCraft) Minecraft server, client, and etc for .NET
MIT License
228 stars 64 forks source link

Adding stronger support for launchers #214

Open JBou opened 10 years ago

JBou commented 10 years ago

Some ideas to add to Craft.Net:


And how would you like to add this to Craft.Net?

Sorry for my bad English, I'm German

tuomas56 commented 10 years ago

It would be very difficult to add forge support as forge would need to be ported to .net You could set up a versions control system if the compiled binaries were uploaded to github or xbuild was installed on the target machine. As for profiles and server lists, Craft.Net is designed to be a library that allows applications to implement a mine craft server not an actual server program. I would suggest adding these features to PartyCraft, a mine craft server application built on Craft.Net On 6 Jun 2014, at 14:39, Gabriel Patzleiner notifications@github.com wrote:

Some ideas to add to Craft.Net:

Versions List + Download Libraries List + Download Resources List + Download Playing and starting Minecraft Adding Profiles List + some sort of Profile Editor Control Adding Service Statuses

Maybe adding some Forge support (Forge versions list, Installer...)

Maybe a Serverlist Control And how would you like to add this to Craft.Net?

Add it to a new Project called for example: Craft.Net.Launcher or Adding it to already existing Projects (Craft.Net.Client, Craft.Net.Networking) — Reply to this email directly or view it on GitHub.

JBou commented 10 years ago

With Forge I mean something like a Forge versions list with all builds from here: http://files.minecraftforge.net/maven/net/minecraftforge/forge/json and here: http://files.minecraftforge.net/minecraftforge/json2 so you could easily use this informations to make for example a forge installer. But that is not so important.

As for Profiles, i thinked about making it possible to load and save the profiles from the launcher_profiles.json file and edit them with ease. I know that Controls are not good to implement in this library, it was only an idea. But you could make a profilelist :)

I opened this issue because SirCmpwn would love to see Craft.Net have stronger support for launchers. and he asked me here, if i could contribute some stuff from the McMetroLauncher

ddevault commented 10 years ago

I don't support the idea of Forge integration, but generic mod support (that could perhaps be flexible enough to support Forge) is fine. Craft.Net only supports vanilla systems and offers extensibility that can help support others.

JBou commented 10 years ago

What do you mean with generic mod support?

ddevault commented 10 years ago

The ability to load JAR files like most custom launchers do.

JBou commented 10 years ago

I don't understand. Loading Mod jar files? Can you please give me an example? And how do you want to add it?

ddevault commented 10 years ago

I don't know, it's been a long time since I played with this stuff. What I mean is that we can support mods as a whole if it's feasible, but we should not support specific mods.

JBou commented 10 years ago

That's a good idea, but i don't know how to implement this, because i think that they could be incompatible with each other and I have no idea how we could do that.

ddevault commented 10 years ago

Then we should not have mod support. We could make it extensible enough that software that uses Craft.Net can offer mod support.

JBou commented 10 years ago

Yeah, but how? And what do you think about the other ideas. What would you like to add to Craft.Net?

ddevault commented 10 years ago

The list up there looks good to me, I'd be open to all of these things in Craft.Net. Most of them should go in a new project, Craft.Net.Launcher, but include others wherever appropriate.

As for "how" to let third parties install mods, I have no clue. You tell me. How would you need to amend the Craft.Net launch procedure to support mods?

JBou commented 10 years ago

Nice. The only thing I do in the McMetroLauncher to install Mods is to download the .jar or .zip files to the /mods directory. Then I start a Forge Version like any other Minecraft Version and this is going to do the rest and load the mods.

ddevault commented 10 years ago

That should be pretty easy to accomodate for without directly supporting it in Craft.Net.

JBou commented 10 years ago

Yes. Where would you like to add the service statuses?

ddevault commented 10 years ago

They would make sense as static methods on Session.

beppe9000 commented 9 years ago

regarding forge, you could accomplish something by means of ikvm