Minecraft server

morgandri1
HOBBY

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

morgandri1
HOBBY

a year ago

N/A


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


morgandri1
HOBBY

a year ago

Thats the minecraft version right?


a year ago

yes


a year ago

oh yea, my fault


morgandri1
HOBBY

a year ago

yeah


a year ago

misread


morgandri1
HOBBY

a year ago

nw!


morgandri1
HOBBY

a year ago

so yeah i have it running on version 1.19.2 w/ FORGE as the type.


morgandri1
HOBBY

a year ago

but the mods don't seem to download and i think java version is wrong


a year ago

how are you adding mods


a year ago

cuz its kinda wacky


morgandri1
HOBBY

a year ago

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


morgandri1
HOBBY

a year ago

its just a bunch of mods lol


morgandri1
HOBBY

a year ago

just a bunch of compressed files


morgandri1
HOBBY

a year ago


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


morgandri1
HOBBY

a year ago

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


morgandri1
HOBBY

a year ago

yeh


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


morgandri1
HOBBY

a year ago

cuz its on version 17 rn lol


morgandri1
HOBBY

a year ago

and i'm trying to run a 1.19.2 forge server


a year ago

java version =/= minecraft version


morgandri1
HOBBY

a year ago

yeah i know


a year ago

17 should be fine if it’s not screaming at you


morgandri1
HOBBY

a year ago

but doesnt 1.19.2 require ^18?


a year ago

from experience, when mods silently fail without error messages, there’s an installation issue


morgandri1
HOBBY

a year ago

Ok cool. How do i get the template on if i'm using the file browser?


morgandri1
HOBBY

a year ago

yeah


a year ago

1216068685027086600


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


morgandri1
HOBBY

a year ago

whats the structure the mods folder needs?


a year ago

hold on


morgandri1
HOBBY

a year ago

ohhhh interesting


a year ago

did you upload a log file?


morgandri1
HOBBY

a year ago

nah probs should


a year ago

would help quite a bit to debug


morgandri1
HOBBY

a year ago

one sec


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


morgandri1
HOBBY

a year ago

it wasnt failing silently it was just confused about the mods but this makes more sense now


morgandri1
HOBBY

a year ago

i deleted the container so lemme spin it back up and get the log


a year ago

well this is the current structure

1216069329184096300


a year ago

it seems fine to me


a year ago

probably shouldn’t be zipped though?


morgandri1
HOBBY

a year ago

what should it be then?


a year ago

unzipped


a year ago

no its fine


morgandri1
HOBBY

a year ago

how does one upload a folder unzipped


morgandri1
HOBBY

a year ago

ok


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 :/


morgandri1
HOBBY

a year ago

how do i download my logs?


a year ago

not acceptable


morgandri1
HOBBY

a year ago

sorryyyyy


morgandri1
HOBBY

a year ago

how do i download my logfile? cant seem to find the button


a year ago

not sure if theres a download option


morgandri1
HOBBY

a year ago

ah ok


a year ago


a year ago

lmfao brody has every tool under the sun


morgandri1
HOBBY

a year ago

lol doesnt work on my browser


morgandri1
HOBBY

a year ago

but its ok ill just c/p


morgandri1
HOBBY

a year ago


morgandri1
HOBBY

a year ago

shit that only got a bit of it


a year ago

what browser?


morgandri1
HOBBY

a year ago

arc


morgandri1
HOBBY

a year ago


a year ago

one sec


morgandri1
HOBBY

a year ago

fuck still only partial


morgandri1
HOBBY

a year ago

i assume the log explorer is authenticated


morgandri1
HOBBY

a year ago

neb, mind if i DM you a read-only invite link to the project?


a year ago

thats fine!


morgandri1
HOBBY

a year ago

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


morgandri1
HOBBY

a year ago

That did it! Any chance you know the internal difference in the package?


a year ago

wdym?


a year ago

MODS is for a list of mods, MODPACK is for a zip file


morgandri1
HOBBY

a year ago

ah


morgandri1
HOBBY

a year ago

Thanks!


morgandri1
HOBBY

a year ago

how do i close the post?


morgandri1
HOBBY

a year ago

@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


morgandri1
HOBBY

a year ago

"something really went wrong" LOL


morgandri1
HOBBY

a year ago

@Fragly


a year ago

is that an error message or something?


morgandri1
HOBBY

a year ago

1216082723245002800


a year ago

that can't be good 💀


morgandri1
HOBBY

a year ago

oh no config file used error


morgandri1
HOBBY

a year ago

@Brody


a year ago

( please do keep this rule in mind <#727685388893945877> #5 )


morgandri1
HOBBY

a year ago

oopsie


morgandri1
HOBBY

a year ago

sorry guys


morgandri1
HOBBY

a year ago

will stop


a year ago

no worries


Minecraft server - Railway Help Station