Solved Minecraft Forge Server
-
@atrilahiji I already have a spigot build - probably a really good base for forge server. It should be on my cloudron git account.
-
And I have my base for a papermc server
(ps: My version has a problem where the web console displays no text but works
might fix this if I find the time)
Paper is a high performance fork of the Spigot Minecraft Server that aims to fix gameplay and mechanics inconsistencies as well as to improve performance.
https://git.cloudron.io/BrutalBirdie/papermc-minecraft-app/-/tree/feature/v1.6.5
-
I packaged it up and it seems to be working. I streamed the process and the VOD is here: https://video.lahijiapps.dev/videos/watch/0b3e1f74-d86f-460e-b3aa-604923371dbe
Open to feedback, both on the video and the packaged app (Yes I realize the music is too quiet and I forgot to switch OBS to my screen for a while)
Edit: Got biome o plenty working
-
@girish would there be a possibility of having this on the store or do you look for more votes? Of course I want to try to clean this up a bit before it makes it there and have no problems updating it
-
@atrilahiji that will be great, would love to have this on the store.
-
@girish cool I’ll work on cleaning it up a bit
-
@girish Only thing is there doesn't appear to be an obvious way to automate the forge installer. Its a .jar file that launches a UI where you select the install location. Right now I am running the install locally and uploading the unpacked files directly to the repo.
Their download page is here: http://files.minecraftforge.net/
-
Re-made the repo so it has its own git history to make it a bit cleaner. Link here: https://git.cloudron.io/AtriLahiji/minecraft-forge-app
-
@atrilahiji Make sure that plugins are in /app/data and can write to the plugin folder - otherwise any plugin you toss at this should in theory work
-
@murgero That does appear to be the case with the current release I have, at least from my testing
-
I was just testing the app a bit and while I have no clue what the difference really is, it seems to mostly work
The logs and command interface in the app UI does not seem to work though as well as @atrilahiji what was the reason to put the actual server code (the .jars) into the git repo?
Ideally we would fetch those from some upstream repo with just the pinned version number, if possible.
-
@nebulon I mean it’s pretty much a lightly modified version on your minecraft package. I’ll take a look at the console issues though.
For the jar files sitting in the package, this was initially because the install process requires running an installer jar file that uses a GUI to choose whether to install the client or server. I’m still trying to find a way to clean this up
-
@nebulon I was thinking of hosting them somewhere else. But I’m checking to see what the process of building it from source looks like
-
@atrilahiji well if there is a valid reason, then I don't think it is an issue to have the jar files in the repo.
-
@atrilahiji Can you put something in the README on how you downloaded those jar files? That way, we can also know how to update it later.
-
@girish yeah for sure. I’ll add that in a bit here
-
@nebulon Perfect. I dont mind keeping them stored on a static file server too. But yeah the purpose of this is for mods compatible with Forge: https://www.curseforge.com/minecraft/mc-mods?filter-game-version=2020709689%3A7498&filter-sort=4
-
Ah nice, I guess it would also be good if you could describe how to use such mods with this app package. I have only personally used the stock server thus far.
-
@nebulon I added some quick guides. Might add have time to make a video or write a longer guide tomorrow. But I added some instructions in the README.
Also the frontend console issue is fixed and I bumped the forge version.
https://git.cloudron.io/AtriLahiji/minecraft-forge-app/-/releases/0.2.0
-
Great, I think we are close to getting this into the app library. I've forked your repo into the cloudron namespace and you should be a "developer" for that repo at https://git.cloudron.io/cloudron/minecraft-forge-app
-
@nebulon cool. Yeah the only thing I was thinking of changing there was hosting the actual server jar files and libs in a file storage server somewhere to reduce the bloat of the repo. Do you think that or the current method make the most sense?
-
@brutalbirdie also perhaps this change I made to mine will help get the terminal working for yours? https://git.cloudron.io/cloudron/minecraft-forge-app/-/commit/b49f9b9ce3620dde5ca82aa4394345630120b251#d7eea7e71cfc09240e80c27cf7a3c1b6b21de82b
You’d have to see what the papermc server spits out
-
@atrilahiji will try that.
-
@atrilahiji That wont work for me
My Console output looks like this.Feb 08 17:14:35 [16:14:35 INFO]: [Vault] No new version available Feb 08 19:42:41 [18:42:41 INFO]: CONSOLE issued server command: /help Feb 08 19:42:41 [18:42:41 INFO]: To view help from the console, type '?'. Feb 08 19:42:55 [18:42:55 INFO]: -------------------- Help --------------------
so I would have to match
\[\d+\:\d+\:\d+\s[INFO|WARN|ERROR]\]
-
-
-
Well ... silly me did a copy-paste mistake and forgot the
\
at the first[
also why not this RegEx\[.*\]\:\s
a lot simpler. -
@brutalbirdie Lol true that should work
-
@nebulon FYI I submitted a PR to the repo https://git.cloudron.io/cloudron/minecraft-forge-app/-/merge_requests/1
This should clean it up a bit more. Let me know if theres anything else you need from my end on getting this up and running as a proper app. Again, I am perfectly willing to be in charge of submitting MRs for any updates to take a bit of the load off of @staff
-
yes thanks, saw that. I still have to play this through on my own to see what this business with the jar files is
-
@nebulon For sure, thanks! Yeah if you have any ideas about that let me know. I'm a bit lost with trying to run a jar headless if it relies on options to be selected in the GUI and there is no documentation that indicates that it can be run headless
-
Iirc, a jar is just a zip file. So maybe the files are inside it as resources.
-
@girish Found this when unpacking the installer jar file...
I have basically 0 knowledge about Java. Does this mean anything to anyone?
-
@atrilahiji Ah, good catch. I guess we can put in a link to https://www.patreon.com/LexManos in the DESCRIPTION/Doc link and maybe also setup some patreon from our side if we decide to publish it. I am not sure how popular forge is, but we can scale that amount based on usage.
-
@girish Yeah thats going to be troublesome. I suppose from your end its a huge issue if the maintainer feels ripped off here. I suppose it really doesn't matter if it remains as an unlisted app for the moment (unless you think its ok... I definitely prefer having it listed but I get it if thats not possible). Either way I'll add proper attribution and patreon links.
Would you like me to reach out to the developer?
-
@atrilahiji Yes, agreed. I think since there is a special comment about automating the installation, we should check regardless of the license. Please do reach out to them and ask how he/she feels about it.
-
@girish Ok sent him a message. Waiting for a reply. I'll let you know what comes of this.
-
I asked my brother about this since he’s more experienced with forge. Looks like this works...
Still waiting to hear back from the developer
-
Pushed an MR for 0.4.0 with proper automation. That message from my brother saved the day
Made a new one... no conflicts this time.
-
@girish So this developer is not awfully responsive. I tried a DM via his community discord and a message on patreon (threw him $7 since I automated it for my server at least). Not sure how to proceed. I guess I'm on the fence about this because on one hand I think this would be an excellent app to have but on the other hand, if usage picks up here he may actually have a tangible loss in ad revenue?
-
@atrilahiji Maybe we can publish, and then based on usage, we (as in, Cloudron the company) is happy to setup some monthly patreon based on usage/installs.
But also, let's put the patreon link in the description and also in the app's home page. I haven't looked into the app but is this using the same UI as the other minecraft apps? If so, let's change the HTML of the landing page there to have a link to their patreon.
-
@girish Oh sure, that makes sense. I messaged one of their other devs and he confirmed the main dev often doesnt reply or see messages. And that as far as he's concerned he doesn't have an issue with it. And yeah I can throw that up onto the repo in another MR if you want. I am going to support this guy so I can clear my conscience lol.
And to answer your question yeah the repo is honestly mostly the same as the current MC apps. I'll keep an eye on releases so I can update this. Also, to clarify I am currently using a beta release of forge in the repo to match the minecraft version we use in the other apps.
-
@girish New MR here: https://git.cloudron.io/cloudron/minecraft-forge-app/-/merge_requests/4
Screenshot of the frontend change:
-
@atrilahiji Did you fix the issue where the original app (Minecraft Java Server) has memory-issues in browser causing the browser to crash/freeze?
-
@murgero Huh I forked the java edition repo but never explicitly fixed something like that. Never really noticed that as an issue. Was this ever fixed in the Java edition repo?
-
Huh the maintainer made it so only friends on discord could message him directly (or blocked me... can't tell) shortly after my DM. No reply. Seems like a cool guy...
-
@atrilahiji Oh, I imagine life as an OSS maintainer of a popular OSS project is hard...
-
@girish yeah fair enough. I’m sure he’s busy.
Oh by the way, is there anything else you can think of for a release? I can make changes he’s tomorrow but it makes sense to add them to the current MR before merging since it hasn’t been merged yet.
-
@atrilahiji nope, I think we are good for publishing it. I will check with @nebulon
-
@girish nice! Can’t wait!
-
Alright, I've pushed an app package with the current version updated to base image v3 now. It is available as unstable for the moment.
I will close this topic since further package/app issues should be reported in the minecraft forum section: https://forum.cloudron.io/category/49/minecraft
@atrilahiji great work on the package!
-
It seems papermc is packaged here - https://gitlab.com/rs2009-subgroups/servers/cloudron.papermc.app . Not sure if the author is on this forum.