balena-minecraft-server icon indicating copy to clipboard operation
balena-minecraft-server copied to clipboard

How to create a server with forge

Open EvilNick2 opened this issue 6 years ago • 4 comments

I was looking through the documentation for the server and I couldn't seem to find anything about how to change the server from vanilla/paper to forge/modded and was wondering how that would be done?

EvilNick2 avatar Oct 10 '20 08:10 EvilNick2

Issue-Label Bot is automatically applying the label question to this issue, with a confidence of 0.98. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Oct 10 '20 08:10 issue-label-bot[bot]

I've done it recently, and the gist of it is to put the minecraft forge server jar into the mc-server/serverfiles folder. This folder would also contain anything else that should be in the server folder, so put your mods and config files there. If you are running a server locally, you can literally copy that entire folder to the mc-server/serverfiles folder. Then you are going to need to create an environment variable called JAR_FILE and set it to the forge file.

For an example of the variables that I have, see here: image

hibikutek avatar Oct 15 '20 09:10 hibikutek

Ignore the waits at the bottom, I edited the script to change the frequency of wifi connect and mc-server attempting to start.

hibikutek avatar Oct 15 '20 09:10 hibikutek

@hibikutek yeah thanks for the help here. :heart: I just wanted to start to reply all issues. I am gonna close this now. @EvilNick2 hibikuteks answer is completely correct.

AlexProgrammerDE avatar Oct 15 '20 18:10 AlexProgrammerDE