a year ago
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?
0 Replies
a year ago
you can set it via the VERSION
environment variable
all variables can be found here:
a year ago
I haven’t looked into changing the Java version, but changing the MC version is very easy.
a year ago
fragly was faster
a year ago
yes
a year ago
oh yea, my fault
a year ago
misread
a year ago
how are you adding mods
a year ago
cuz its kinda wacky
I have the mods source set as a discord CDN link to a zip file which was in this help form
a year ago
whats the zip file look like inside
a year ago
it has to be a specific structure
a year ago
Whenever I mess with my Minecraft server I use the Filebrowser template to access the volume
a year ago
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:1145479012127355091>
a year ago
VERSION envvar
a year ago
that’s the mc version
a year ago
why do you want to change the java version
a year ago
i think its possible
a year ago
I doubt the java version is the issue here, try installing mods correctly using filebrowser and see if that fixes it
a year ago
java version =/= minecraft version
a year ago
17 should be fine if it’s not screaming at you
a year ago
from experience, when mods silently fail without error messages, there’s an installation issue
a year ago
a year ago
deploy the template in the project, detach the volume from your mc server service and move it over
a year ago
you should be fine using 17
a year ago
move it back and redeploy when you’re done editing
a year ago
hold on
a year ago
did you upload a log file?
a year ago
would help quite a bit to debug
a year ago
since you didn’t send one I assumed it was failing silently
a year ago
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
a year ago
well this is the current structure
a year ago
it seems fine to me
a year ago
probably shouldn’t be zipped though?
a year ago
unzipped
a year ago
no its fine
a year ago
the image hes using uses zips for mods
a year ago
gotcha didn’t know that
a year ago
also @Morgan you're gonna have to change that pronouns field :/
a year ago
not acceptable
a year ago
not sure if theres a download option
a year ago
a year ago
lmfao brody has every tool under the sun
a year ago
what browser?
a year ago
one sec
a year ago
thats fine!
so heres an error i found
com.electronwill.nightconfig.core.io.ParsingException: Invalid TOML data: entry "[disableOptimizedDFU]" defined twice in its table.
at MC-BOOTSTRAP/com.electronwill.nightconfig.toml@3.6.4/com.electronwill.nightconfig.toml.TableParser.checkDuplicateKey(TableParser.java:88)
at MC-BOOTSTRAP/com.electronwill.nightconfig.toml@3.6.4/com.electronwill.nightconfig.toml.TableParser.parseNormal(TableParser.java:59)
at MC-BOOTSTRAP/com.electronwill.nightconfig.toml@3.6.4/com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:44)
at MC-BOOTSTRAP/com.electronwill.nightconfig.toml@3.6.4/com.electronwill.nightconfig.toml.TomlParser.parse(TomlParser.java:37)
at MC-BOOTSTRAP/com.electronwill.nightconfig.core@3.6.4/com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:113)
at MC-BOOTSTRAP/com.electronwill.nightconfig.core@3.6.4/com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:219)
at MC-BOOTSTRAP/com.electronwill.nightconfig.core@3.6.4/com.electronwill.nightconfig.core.io.ConfigParser.parse(ConfigParser.java:202)
at MC-BOOTSTRAP/com.electronwill.nightconfig.core@3.6.4/com.electronwill.nightconfig.core.file.WriteSyncFileConfig.load(WriteSyncFileConfig.java:73)
at MC-BOOTSTRAP/com.electronwill.nightconfig.core@3.6.4/com.electronwill.nightconfig.core.file.FileWatcher$WatcherThread.run(FileWatcher.java:181)
[17:06:23] [main/WARN]: Incorrect key [disableOptimizedDFU] was corrected from null to true
a year ago
use the MODPACK
var not MODS
a year ago
wdym?
a year ago
MODS is for a list of mods, MODPACK is for a zip file
@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
a year ago
set the USE_VOLUME_ROOT
service variable in your Filebrowser service to 1
a year ago
is that an error message or something?
a year ago
that can't be good 💀
a year ago
( please do keep this rule in mind <#727685388893945877> #5 )
a year ago
no worries