Griefed / ServerPackCreator

Create a server pack from a Minecraft Forge, NeoForge, Fabric, LegacyFabric or Quilt modpack!
https://serverpackcreator.de
GNU Lesser General Public License v2.1
189 stars 10 forks source link

[Feature request]: Install Java if not found #437

Closed kreezxil closed 2 years ago

kreezxil commented 2 years ago

Whats the feature you would like to be added?

Have the script automatically install the java required by the mod loader of the pack if java is not installed. Yes, a local copy just for the server.

Anything else you would like to add?

You're doing great!

Code of Conduct

Griefed commented 2 years ago

I suggest you write a custom script template for this. It's what they are there for. 🙂

I do not have the time or interest in writing a system which covers the quadrillion different operating systems, their different distributions, architectures and versions to reliably install a working Java version.

Plus, this is really something a server admin has to take care of. I create server packs which users can run. The users/admins have to provide a system where said packs can run on.

On the same note. The 32-Bit detection is wonky in and of itself, too, because some Java JDKs don't even print their bitness when running the version-command.

Don't get me wrong, the idea is nice, but it is wayyyyyyy out of scope for me. It is simply impossible to anticipate the system a given user has and then install the corresponding Java version on said system. This would create more trouble for me than it would be worth. It's simply out of scope.

Cheers, Griefed

Griefed commented 2 years ago

Additionally, if I were to take care of the installation of Java, I would then have to offer support for all the different Java JDKs which end up on a given users system. Now THAT is something I can absolutely NOT do. 😂

Griefed commented 2 years ago

This answer may not be satisfactory to you, but it is one of the lines I have to draw at some point.

Cheers, Griefed

kreezxil commented 2 years ago

Ouch, such sadness. the mention of the scripting template was sufficient. Are things going well with you?

On Tue, Aug 30, 2022 at 3:08 AM Griefed @.***> wrote:

Closed #437 https://github.com/Griefed/ServerPackCreator/issues/437 as completed.

— Reply to this email directly, view it on GitHub https://github.com/Griefed/ServerPackCreator/issues/437#event-7285000875, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5TJCGV7ZOXU4UCFSLWR6TV3W6O3ANCNFSM575YW4BA . You are receiving this because you authored the thread.Message ID: @.***>

Griefed commented 2 years ago

Maybe the smilies didn't indicate the tone I intended this to come across with. Whoops :D I assure you, I was writing this in a good mood with with the intention of a slight chuckle. I was overemphasizing on purpose there. Guess that didn't work out too well! 🤣

I am good, thanks for asking. Really damn short on time due to finals coming up and not having a LegacyFabric modpack available to test the new LegacyFabric support in 3.13.0-beta.3, but oh well.

How're things on your end coming along?

kreezxil commented 2 years ago

Finally, fixed the quests in World of Dragons II after proving it to be stable. Which opens the door for World of Dragons III: Be The Dragon that will be built around Dragon Survival that allows players to become dragons and is for 1.19.2 currently. This will be my first official dragon pack that deviates away from Ice and Fire. I should have something available by the end of the year. I'm in need of java coders to help me port my mods to 1.19.2 I've got three, but they all got "finals" or "life" or "both" in the way. Looking for someone who is more like myself, available all the time and would not mind an extra $20USD a week to port at least 1 mod each week to 1.19.2 including cp share. Plus design new mods when all that is done (about 38 mods in total). Easily a long term situational gig, and as I make more money from the endeavor, so do they. You can verify that to be true, as I've upped my stake in sponsoring you.

Thanks to your ongoing efforts, I very rarely use my manual methods. Much applause to you my friend, and my goal by donating is to encourage you to never quit, even after you land your dream job on Moon Base Alpha. :)

Speaking of the moon, don't you find it funny as hell that NASA insists on doing their thing vs. contracting with Elon Musk. No, where is it mentioned if Artemis will be reusable to such a nature that it can land itself upright. It appears that it will do what the rockets of the 60s did and break off in stages, dropping stuff into the already polluted oceans.

On Tue, Aug 30, 2022 at 12:25 PM Griefed @.***> wrote:

Maybe the smilies didn't indicate the tone I intended this to come across with. Whoops :D I assure you, I was writing this in a good mood with with the intention of a slight chuckle. I was overemphasizing on purpose there. Guess that didn't work out too well! 🤣

I am good, thanks for asking. Really damn short on time due to finals coming up and not having a LegacyFabric modpack available to test the new LegacyFabric support in 3.13.0-beta.3, but oh well.

How're things on your end coming along?

— Reply to this email directly, view it on GitHub https://github.com/Griefed/ServerPackCreator/issues/437#issuecomment-1231955010, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5TJCBRFRRJXMGS5YVT2S3V3Y7YRANCNFSM575YW4BA . You are receiving this because you authored the thread.Message ID: @.***>

Griefed commented 2 years ago

$20USD/Week doesn't sound much, but then again, I assume the mods you need ported are of a simpler nature so in theory "easy" or "simple" to port for the trained modder. Sad to hear that your usual coders are busy. I guess it#s that time of the year, where everyone has finals or something else coming up. Heading fast towards the end of the year after all. 😁 The sponsoring from you does help a lot. I'm putting your money into a backup solution, amongst other things. I've got backups of backups of backups now. A Hetzer system (german hosting provider), a Raspberry Pi 4 with an m2 SSD and a regular Western Digital HDD are now responsible for storing those backups. Gotta love redundancies. I don't care if anything goes down now. I can easily restore stuff in a short time. Awesomesauce

Glad to hear things are moving well for you and you are moving along with your modpack(s) 🙂 Being able to become a dragon sounds freaking awesome.

As for Moon Base Alpha: I'm currently putting a lot of effort into separating the API-portion of ServerPackCreator from the GUI and the CLI and fleshing out the API itself. Currently on the menu are:

Currently testing an internal migration to another config system for the serverpackcreator.conf. No, the users will not be affected or even notice the change, but it's looking promising so far. If all goes well, I can make things much simler for addon-makers, contributors and myself. Fingers crossed. I hope to finish milestone 3.x this years at least. Great things are in store in the coming milestones after 3.x and I can't wait to start working on those.

My guess for the NASA and Elon Musk thing is that NASA is not profit-oriented, whereas Elon Musk and his companies are. We could be living in such an awesome world were it not for greed. sigh Oh well... 🤣

kreezxil commented 2 years ago

Profit doesn't necessarily imply greed. Elon treats his employees exceedingly well in the paycheck and beyond. Shareholders too. I think it's more of a case that the Biden Administration doesn't like Elon Musk. They held an electric car symposium, invited everyone but Elon to it.

As per coders, I'm open to negotiations too. It can be a case by case basis that way. Looking at a mod, deciding what needs to be done and having a bid submitted.

On Wed, Aug 31, 2022 at 10:44 AM Griefed @.***> wrote:

$20USD/Week doesn't sound much, but then again, I assume the mods you need ported are of a simpler nature so in theory "easy" or "simple" to port for the trained modder. Sad to hear that your usual coders are busy. I guess it#s that time of the year, where everyone has finals or something else coming up. Heading fast towards the end of the year after all. 😁 The sponsoring from you does help a lot. I'm putting your money into a backup solution, amongst other things. I've got backups of backups of backups now. A Hetzer system (german hosting provider), a Raspberry Pi 4 with an m2 SSD and a regular Western Digital HDD are now responsible for storing those backups. Gotta love redundancies. I don't care if anything goes down now. I can easily restore stuff in a short time. Awesomesauce

Glad to hear things are moving well for you and you are moving along with your modpack(s) 🙂 Being able to become a dragon sounds freaking awesome.

As for Moon Base Alpha: I'm currently putting a lot of effort into separating the API-portion of ServerPackCreator from the GUI and the CLI and fleshing out the API itself. Currently on the menu are:

  • addon-related configurations in a modpacks serverpackcreator.conf
  • addon-configurations automatically parsed and passed to a given addon, much like Forge, Fabric and Quilt do it
  • A ConfigurationCheck addon-extensionpoint so users may add their own configuration checks if they so desire

Currently testing an internal migration to another config system for the serverpackcreator.conf. No, the users will not be affected or even notice the change, but it's looking promising so far. If all goes well, I can make things much simler for addon-makers, contributors and myself. Fingers crossed. I hope to finish milestone 3.x this years at least. Great things are in store in the coming milestones after 3.x and I can't wait to start working on those.

My guess for the NASA and Elon Musk thing is that NASA is not profit-oriented, whereas Elon Musk and his companies are. We could be living in such an awesome world were it not for greed. sigh Oh well... 🤣

— Reply to this email directly, view it on GitHub https://github.com/Griefed/ServerPackCreator/issues/437#issuecomment-1233110863, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5TJCFEMYLCNFGRVQNCTFLV354W3ANCNFSM575YW4BA . You are receiving this because you authored the thread.Message ID: @.***>

Griefed commented 2 years ago

Everyone but him, eh? U.S of A...what are you doing 😅 le sigh

Best of luck for the negotiations! If I had the time and knew anything about modding for Minecraft, I'd at least play with the idea, but as it stands, there's no chance I am getting into modding anytime soon.

kreezxil commented 2 years ago

Lol. I was mentioning it so that if you encounter someone willing to do it, you could send them my way.

On Wed, Aug 31, 2022 at 11:12 AM Griefed @.***> wrote:

Everyone but him, eh? U.S of A...what are you doing 😅 le sigh

Best of luck for the negotiations! If I had the time and knew anything about modding for Minecraft, I'd at least play with the idea, but as it stands, there's no chance I am getting into modding anytime soon.

— Reply to this email directly, view it on GitHub https://github.com/Griefed/ServerPackCreator/issues/437#issuecomment-1233142234, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA5TJCGBFDABQVHQHMCN2FDV3575PANCNFSM575YW4BA . You are receiving this because you authored the thread.Message ID: @.***>

Griefed commented 2 years ago

Will do :)