AutoModpack icon indicating copy to clipboard operation
AutoModpack copied to clipboard

Integration into AutoPlug

Open Osiris-Team opened this issue 1 year ago • 10 comments

I wanted to support modpacks for a while now in autoplug, would you be interested in implementing this yourself? Of course if you got so free time at hands and find this enjoyable.

There should be an open issue related to this in the autoplug repo with more details.

Osiris-Team avatar Jul 07 '24 15:07 Osiris-Team

Hey! I am not sure if you understand what AutoModpack actually does... I am pretty sure it works quite well with AutoPlug already.

AutoModpack doesn't install modpacks created on modrinth/curseforge. AutoModpack creates its own modpack from files on your server, so AutoPlug can nicely update whole modpack or whatever else just as is. And AutoModpack is just a mod.

Skidamek avatar Jul 07 '24 18:07 Skidamek

Yes you're right, its not the exact functionality your mod offers, but related. Basically your mod makes it easier for players to use modpacks, I wanted something similar inside autoplug, which benefits players and server owners too. For example a command to install and switch between modpacks easily. Even though the switching might even break things, on second thought.

Osiris-Team avatar Jul 07 '24 19:07 Osiris-Team

Yeah, so give me exact list of things how would the integration look like because i have no idea...

Skidamek avatar Jul 07 '24 19:07 Skidamek

Also related: https://github.com/Osiris-Team/AutoPlug-Client/issues/198

  • .install mod pack <curseforge-mod-pack-id> saves the current mod-pack and installs a new one.
  • And a command to sync mods to the mc server version, to ensure everything is compatible.

Osiris-Team avatar Jul 07 '24 19:07 Osiris-Team

Only thing i see worth to integrate would be that installation of modpack from curseforge. It instead of just install on server it could also place all modpack files inside the automodpack folders. It could be nice.

However i think its all to do on AutoPlug side, isn't it?

Skidamek avatar Jul 07 '24 20:07 Skidamek

Yeah, however if you got existing code related to that (that doesn't depend on the fabric/forge api) you can copy and paste it into autoplug I guess.

Osiris-Team avatar Jul 07 '24 20:07 Osiris-Team

Additionally .install mod pack <mod-pack-name> would be nice to have to, and returning a list of similar mod-packs names to choose from, if multiple are available.

Osiris-Team avatar Jul 07 '24 20:07 Osiris-Team

Yes sure.

Oh I just realized autoplug should also check for updates inside automodpack folders.

Skidamek avatar Jul 07 '24 20:07 Skidamek

I don't have time/it's not my priority right now, but that all would be a nice feature someday. I would be up to it.

Skidamek avatar Jul 07 '24 20:07 Skidamek

Yeah no worries. Nice!

Osiris-Team avatar Jul 07 '24 20:07 Osiris-Team