Craft.Net icon indicating copy to clipboard operation
Craft.Net copied to clipboard

Adding stronger support for launchers

Open JBou opened this issue 11 years ago • 16 comments

Some ideas to add to Craft.Net:

  • [ ] Versions List & Download
  • [ ] Libraries List & Download
  • [ ] Resources List & Download
  • [ ] Playing and starting Minecraft
  • [ ] Adding Profiles List
  • [ ] authenticationdatabase to save sessions more infos...
  • [x] Adding Service Statuses more infos... Example output
  • [ ] Serverlist Formattingcodes and Colorcodes Parsing with animation
  • [x] Adding requestUser to the AuthenticationBlob to receive a MojangUser json Object which contains "userProperties" and "userid"

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)

Sorry for my bad English, I'm German

JBou avatar Jun 06 '14 13:06 JBou

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 [email protected] 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.

tuomas56 avatar Jun 06 '14 14:06 tuomas56

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

JBou avatar Jun 06 '14 15:06 JBou

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.

ddevault avatar Jun 06 '14 18:06 ddevault

What do you mean with generic mod support?

JBou avatar Jun 06 '14 18:06 JBou

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

ddevault avatar Jun 06 '14 18:06 ddevault

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

JBou avatar Jun 06 '14 18:06 JBou

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.

ddevault avatar Jun 06 '14 18:06 ddevault

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.

JBou avatar Jun 06 '14 18:06 JBou

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

ddevault avatar Jun 06 '14 18:06 ddevault

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

JBou avatar Jun 06 '14 18:06 JBou

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?

ddevault avatar Jun 06 '14 18:06 ddevault

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.

JBou avatar Jun 06 '14 19:06 JBou

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

ddevault avatar Jun 06 '14 19:06 ddevault

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

JBou avatar Jun 06 '14 19:06 JBou

They would make sense as static methods on Session.

ddevault avatar Jun 06 '14 19:06 ddevault

regarding forge, you could accomplish something by means of ikvm

beppe9000 avatar Jul 10 '15 13:07 beppe9000