Creating a pixelmon server
I keep getting an out of memory error. I'm using pterodactyl. I can't show any logs because it's not starting up completely.
58 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by ayodaisy#0
add -nogui to your flags
I added nogui to the end and got this https://hastebin.skyra.pw/uqireqager.csharp
this is the start command java -Xms128M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true $( [[ ! -f unix_args.txt ]] && printf %s "-jar server.jar" || printf %s "@unix_args.txt" ) nogui
-nogui
not just no gui
your logs are calling for X11 which is a rendering thing. servers don’t render
either you have a weird java install. or it just needs the -nogui flag
try using java 8
you are using a server pack right?
I'm just trying to run the forge installer right now
did you install Server
:thonk:
you might’ve somehow installed client
cuz it’s doing weird java calls for renders and what not
I just deleted everything and redid it, https://hastebin.skyra.pw/jireyupiqe.csharp
ok no server jar this time
Unsure if this helps narrow down the issues
inside files there isn’t a file called
server.jar
I just uploaded the forge version off of reforged.gg and renamed it to server.jar and got this: https://hastebin.skyra.pw/ohabazatah.csharp
why are you doing it from reforged.gg
just get the server pack from the actual modpack and the jar from forge
that’s why it’s been broken
Fr.
Reforged devs suck ass, know going into it that their site is not to be trusted for stability, Modrinth and curse all the way.
I got it directly from forge and getting this: https://hastebin.skyra.pw/wareteqodi.csharp
:thonk:
Its like just trying to get forge to install isn't working out for me
are you installing the Server or the Client?
I believe I'm installing the server
the Forge installer.jar yes?
what modpack are you attempting to install. link the curseforge
All I'm trying to get installed right now is: https://files.minecraftforge.net/net/minecraftforge/forge/index_1.20.2.html
Forge Files
Minecraft Forge downloads
Downloads for Minecraft Forge for Minecraft 1.20.2
Latest: 48.1.0
Recommended: 48.1.0
I haven't even gotten to the modpacks yet
can you show your file manager from ptero?
n is not a recognized option
hmm try removing the -nogui flag?
see what thatll do igIf I remove -nogui https://hastebin.skyra.pw/samijuwova.csharp
where tf are the libraries folder
is this the Installer jar?
:hmm:
Yes
mk
so
the installer jar You need to run on your pc
to get the Server files
then you upload those files to the server
and then boom working server
Or just use the Forge egg...
that too
forge egg never worked for me
so had to manually do it all
just add
--installServer .
to the launch flags if you want to run it on the server
then after the installer finished, remove that launch flagHow??? Works the same as the Fabric egg and always has.
Like it gets a bit goofy when doing new args, but that's because Forge is stupid.
i have no clue, i personally dont do it from ptero i just skip the egg installs so i can throw all my shitty files instantly
Wild.
im robbing this, ty for the amazing knowledge as always snowkit :Prayge:
for fabric you literally just download a jar from
fabricmc.net/use/server/
and call it a day(not joking, learning more from snow then anyone else here)
works just like any other server jar
That worked, thank you. However, I'm stumped on what server.jar to keep around now. https://i.gyazo.com/44e8d8d73dfe18b4cc900865ff85817e.png
neither
as there isnt a serverjar for 1.17+ to 1.21
copy the command from run.sh to the startup command
i just find the unix_args and throw it into main and it works
yeah or that
libraries -> net -> forge -> mc forge -> version -> unix
move -> ../../../../../../../../ -> enter -> launch
Correct me if I'm wrong, but you said to do this? https://i.gyazo.com/ec6f0af389515a8b63a8f91427888f1e.png
yes
exactly that
I'm getting "Error: Could not find or load main class @unix_args.txt"
example you grabbed This, for this type of directory tree?
Yes that's what I grabbed
is it set to use java 17?
Oop, Java 8. 17 fixed it. Thank you
!solved
Closed post!
Your post has been marked as solved!
Requested by ayodaisy#0