Einbrecher
AAdmincraft
•Created by Einbrecher on 3/17/2025 in #questions
Check for forge/neoforge server hang during startup in Pterodactyl?
I privately host a variety of Minecraft servers (and other games as well) from a dedicated machine that uses the Pterodactyl API to interface with the various docker containers/etc. in which the servers ultimately run.
However, for the better part of the past year, any Forge/NeoForge server that I run eventually run into the problem where they'll just randomly lock up midway during startup - but without any clear error as to why in the debug/etc. logs. (e.g., sometimes it'll hang on the typical/harmless "Ambiguity between arguments teleport for player 0123" or whatever lines that often pop up)
There's no crash log, no timeout errors, nothing - it will sit hung like that until I kill the process and restart it.
Fixing the problem is usually just as simple as killing the process and starting the server again (though sometimes I have to do it twice).
I've not been able to discern any pattern or root cause for this. I've tried removing mods that pop up near the hang, and it still continues to happen.
None of the fabric or vanilla servers I've run - or other games for that matter - have this problem.
I'd like to be able to catch this and automatically kill/restart the server if/when this happens - so I don't have to potentially manually intervene during the daily server restarts - but I'm unaware of any hooks pterodactyl provides to do this, and I haven't gotten any great answers in their support discord.
I'll put the tail of one of the latest debug logs where this happened below, but before people jump on the fact that it references a Discord linking mod (sdlink) right before the hang, be aware that I've already tried removing that mod and it still will occasionally hang in roughly that same spot.
Any helps/scripts/workarounds folks have found for this would be a lifesaver, thanks!
2 replies
AAdmincraft
•Created by Einbrecher on 3/5/2025 in #questions
Server "Remembering" Deleted Datapack Dimension?
So this is a weird one. I've been trying to set up an extra "mining dimension" on my NeoForge 1.21 server with plans on wiping/resetting that dimension every week to keep the size of the "main" overworld dimension reasonable.
To do this, I went and made a datapack following the advice on the wiki (https://minecraft.wiki/w/Tutorial:Adding_a_new_dimension)
The dimension works, I'm able to teleport to it/etc. - that part is doing what I want.
However, when testing the whole "wiping it weekly" bit (which will be done manually), I went and deleted the folder ./root/world/dimensions/my_dimension
While this did cause the dimension to regenerate, it's the exact same seed, which isn't what I want. So I went in and added a "seed" entry to the datapack's *.json file. However, that didn't change anything on the next wipe attempt.
So I duplicated the my_dimension.json file and made my_dimension_2.json, and I changed the seed entry. That did create a my_dimension_2 in-game alongside the first one, and that works, but it's the same seed.
Further testing later, I've gone and deleted the datapack entirely from the world/datapacks/ folder, but I'm still able to teleport/regenerate those dimensions as is. So clearly I'm missing something that's saving these settings/etc., but I'm not sure what or where.
FWIW, I stopped/started the server in between all of these changes.
How do I fix this?
Thanks in advance!
9 replies
AAdmincraft
•Created by Einbrecher on 1/28/2025 in #questions
Shared Whitelist between multiple Servers/Modloaders
Per the title. I host several different Minecraft servers, including modded, using the Pterodactyl Panel (i.e., each server is in its own docker container) on my own machine out of my home. Some servers use Forge, some NeoForge, some Fabric. Each server is whitelist controlled.
All of the servers are played on by the same community. So, from a practical perspective, every whitelist is (supposed to be) the same.
However, when someone new joins, I have to go through each console and add them to every server. TL;DR, I'm getting tired of it and decided to take a look at this again.
Last time I looked into this, those solutions I found were limited in that modloader incompatibility, or "player not found" (despite said player ID absolutely existing) issues, made them non-starters.
However, I've realized that through Pterodactyl, it's possible to set up a shared mount between each of those docker containers.
Before I go through the effort of testing that out, I figured I'd ask here to see if there's any unforseen hurdles in saving a single whitelist in this shared mount and then linking the whitelist file in each server to the mounted whitelist.
Does Minecraft actively monitor the whitelist files, such that every client would pick up additions to the file, or do servers only update if you issue a whitelist command on them? etc.
Thanks!
8 replies
AAdmincraft
•Created by Einbrecher on 11/29/2024 in #questions
Donation Platform?
Any recommendations for a donation platform to help support a server? I know PayPal, Patreon, Kofi are options, but it's less clear what the differences between them are.
I run a few different servers and have been hosting them for free, and intend to and have the means to keep doing so, but folks have been asking me if I had a donation link set up to help out.
I really don't want to lock people into recurring charges or anything like that, and I also don't want to give up more of a cut than I have to, but I've never really interacted with these things before and am pretty green, so any help would be appreciated.
Thanks!
15 replies