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
Admincraft Meta
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
Tamz
Tamz2w ago
add -nogui to your flags
AYODAISY
AYODAISYOP2w ago
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
Tamz
Tamz2w ago
-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
Tamz
Tamz2w ago
try using java 8
Tamz
Tamz2w ago
you are using a server pack right?
AYODAISY
AYODAISYOP2w ago
I'm just trying to run the forge installer right now
Tamz
Tamz2w ago
did you install Server :thonk: you might’ve somehow installed client cuz it’s doing weird java calls for renders and what not
AYODAISY
AYODAISYOP2w ago
I just deleted everything and redid it, https://hastebin.skyra.pw/jireyupiqe.csharp
Tamz
Tamz2w ago
ok no server jar this time
AYODAISY
AYODAISYOP2w ago
Unsure if this helps narrow down the issues
Tamz
Tamz2w ago
inside files there isn’t a file called server.jar
AYODAISY
AYODAISYOP2w ago
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
Tamz
Tamz2w ago
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
AeonRemnant
AeonRemnant2w ago
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.
AYODAISY
AYODAISYOP2w ago
I got it directly from forge and getting this: https://hastebin.skyra.pw/wareteqodi.csharp
Tamz
Tamz2w ago
:thonk:
AYODAISY
AYODAISYOP2w ago
Its like just trying to get forge to install isn't working out for me
Tamz
Tamz2w ago
are you installing the Server or the Client?
AYODAISY
AYODAISYOP2w ago
I believe I'm installing the server
Tamz
Tamz2w ago
the Forge installer.jar yes? what modpack are you attempting to install. link the curseforge
AYODAISY
AYODAISYOP2w ago
Forge Files
Minecraft Forge downloads
Downloads for Minecraft Forge for Minecraft 1.20.2 Latest: 48.1.0 Recommended: 48.1.0
AYODAISY
AYODAISYOP2w ago
I haven't even gotten to the modpacks yet
Tamz
Tamz2w ago
can you show your file manager from ptero? n is not a recognized option hmm try removing the -nogui flag? see what thatll do ig
Tamz
Tamz2w ago
where tf are the libraries folder is this the Installer jar? :hmm:
AYODAISY
AYODAISYOP2w ago
Yes
Tamz
Tamz2w ago
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
AeonRemnant
AeonRemnant2w ago
Or just use the Forge egg...
Tamz
Tamz2w ago
that too forge egg never worked for me so had to manually do it all
Snow Kit
Snow Kit2w ago
just add --installServer . to the launch flags if you want to run it on the server then after the installer finished, remove that launch flag
AeonRemnant
AeonRemnant2w ago
How??? 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.
Tamz
Tamz2w ago
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
AeonRemnant
AeonRemnant2w ago
Wild.
Tamz
Tamz2w ago
im robbing this, ty for the amazing knowledge as always snowkit :Prayge:
Snow Kit
Snow Kit2w ago
for fabric you literally just download a jar from fabricmc.net/use/server/ and call it a day
Tamz
Tamz2w ago
(not joking, learning more from snow then anyone else here)
Snow Kit
Snow Kit2w ago
works just like any other server jar
AYODAISY
AYODAISYOP2w ago
That worked, thank you. However, I'm stumped on what server.jar to keep around now. https://i.gyazo.com/44e8d8d73dfe18b4cc900865ff85817e.png
Tamz
Tamz2w ago
neither as there isnt a serverjar for 1.17+ to 1.21
Snow Kit
Snow Kit2w ago
copy the command from run.sh to the startup command
Tamz
Tamz2w ago
i just find the unix_args and throw it into main and it works
Snow Kit
Snow Kit2w ago
yeah or that
Tamz
Tamz2w ago
libraries -> net -> forge -> mc forge -> version -> unix move -> ../../../../../../../../ -> enter -> launch
AYODAISY
AYODAISYOP2w ago
Correct me if I'm wrong, but you said to do this? https://i.gyazo.com/ec6f0af389515a8b63a8f91427888f1e.png
Tamz
Tamz2w ago
yes exactly that
AYODAISY
AYODAISYOP2w ago
I'm getting "Error: Could not find or load main class @unix_args.txt"
Tamz
Tamz2w ago
Tamz
Tamz2w ago
example you grabbed This, for this type of directory tree?
No description
AYODAISY
AYODAISYOP2w ago
Yes that's what I grabbed
Snow Kit
Snow Kit2w ago
is it set to use java 17?
AYODAISY
AYODAISYOP2w ago
Oop, Java 8. 17 fixed it. Thank you !solved
Admincraft Meta
Closed post!
Your post has been marked as solved!
Requested by ayodaisy#0

Did you find this page helpful?