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

Convert balena server to Tekkit

Open ghost opened this issue 5 years ago • 5 comments

Hello,

I followed the tutorial and set up a balena server and everything worked perfectly. I want to make the server into a Tekkit server (Minecraft version 1.2.5) but I can't get that to work. I've remotely accessed via winSCP into the server and tried replacing the serverfiles folder with a Tekkit folder with the .jar file and everything, but balena won't run the server. I'm wondering what do I need to change within the dockerfiles and start.sh files to get this to work? Is it even possible? Do I need to make a new service from within the dockerfile to run this? Any help would be much appreciated.

ghost avatar Dec 09 '20 20:12 ghost

You need to create an environmental variable in your dashboard to change the name of the jar file that is used to launch the server The variable is "JAR_FILE" so the variable would look something like this image

EvilNick2 avatar Dec 10 '20 06:12 EvilNick2

Hey there,

Thanks for your reply. I did exactly as you said and I came up with the errors shown in the text file below. I deleted the contents of the serverfiles folder via the winSCP remote access and I replaced that folder with the contents that are necessary for a tekkit server. I have one main .jar file called Tekkit.jar and I set the JAR_FILE variable to that. There's a mods folder that contains several other .jar files, and I'm wondering if maybe the system has an issue with one .jar file calling other .jar files? Or did I just mess up along the way when I replaced everything in the serverfiles folder? errors.txt

ghost avatar Dec 10 '20 21:12 ghost

@jonnorcones looks like you didn't copy all required files. Along the forge jar file you also should have moved a jar file labeled with something like minecraft over.

AlexProgrammerDE avatar Dec 11 '20 06:12 AlexProgrammerDE

@jonnorcones First thing I'll say is 1 GB of ram isn't enough for a forge server. Secondly what I normally do is setup the server on my computer first and make sure everything works correctly then move the files over via SCP, t hat normally works perfectly for me.

EvilNick2 avatar Dec 13 '20 05:12 EvilNick2

Closing due to inactivity.

AlexProgrammerDE avatar Dec 24 '20 21:12 AlexProgrammerDE