Minecraft server
Hey guys!
So i'm using the minecraft server template and it works pretty well!
I was looking into the further configuration, and couldnt find a way to change java version on Railway. Has anyone been able to successfully change java version and get mods installed on the correct forge/minecraft versions?
80 Replies
Project ID:
N/A
N/A
you can set it via the
VERSION
environment variable
all variables can be found here: https://docker-minecraft-server.readthedocs.io/en/latest/variables/I haven’t looked into changing the Java version, but changing the MC version is very easy.
fragly was faster
Thats the minecraft version right?
yes
oh yea, my fault
yeah
misread
nw!
so yeah i have it running on version 1.19.2 w/ FORGE as the type.
but the mods don't seem to download and i think java version is wrong
how are you adding mods
cuz its kinda wacky
whats the zip file look like inside
it has to be a specific structure
its just a bunch of mods lol
just a bunch of compressed files
Whenever I mess with my Minecraft server I use the Filebrowser template to access the volume
https://railway.app/template/Nan7Bs
I believe this is the one I use? I’ll double check when I get on my pc
not bad but i still need to know how to change the java version :rooKek:
VERSION envvar
that’s the mc version
yeh
why do you want to change the java version
i think its possible
I doubt the java version is the issue here, try installing mods correctly using filebrowser and see if that fixes it
cuz its on version 17 rn lol
and i'm trying to run a 1.19.2 forge server
java version =/= minecraft version
yeah i know
17 should be fine if it’s not screaming at you
but doesnt 1.19.2 require ^18?
from experience, when mods silently fail without error messages, there’s an installation issue
Ok cool. How do i get the template on if i'm using the file browser?
yeah
deploy the template in the project, detach the volume from your mc server service and move it over
you should be fine using 17
move it back and redeploy when you’re done editing
whats the structure the mods folder needs?
hold on
ohhhh interesting
did you upload a log file?
nah probs should
would help quite a bit to debug
one sec
since you didn’t send one I assumed it was failing silently
but that’s probably not a safe assumption
it wasnt failing silently it was just confused about the mods but this makes more sense now
i deleted the container so lemme spin it back up and get the log
well this is the current structure
it seems fine to me
probably shouldn’t be zipped though?
what should it be then?
unzipped
no its fine
how does one upload a folder unzipped
ok
the image hes using uses zips for mods
gotcha didn’t know that
also @Morgan you're gonna have to change that pronouns field :/
how do i download my logs?
not acceptable
sorryyyyy
how do i download my logfile? cant seem to find the button
not sure if theres a download option
ah ok
lmfao brody has every tool under the sun
lol doesnt work on my browser
but its ok ill just c/p
shit that only got a bit of it
what browser?
arc
one sec
fuck still only partial
i assume the log explorer is authenticated
neb, mind if i DM you a read-only invite link to the project?
thats fine!
so heres an error i found
Solution
use the
MODPACK
var not MODS
That did it! Any chance you know the internal difference in the package?
wdym?
MODS is for a list of mods, MODPACK is for a zip file
ah
Thanks!
how do i close the post?
@Brody Hey having some issues with filebrowser,
i created it from the template,
unmounted the file browser volume,
unmounted the minecraft volume from the server,
mounted the minecraft volume to the web server,
nothing shows up in file browser
set the
USE_VOLUME_ROOT
service variable in your Filebrowser service to 1
"something really went wrong" LOL
@Fragly
is that an error message or something?
that can't be good 💀
oh no config file used error
@Brody
( please do keep this rule in mind #🛂|readme #5 )
oopsie
sorry guys
will stop
no worries