Closed cicatrice74 closed 2 years ago
A quick fix is to use the j9 version.
I´ll ask on the pterodactyl discord why this could be. Thanks.
Any news on the issue ? I would like to test it.
No, they didn't reply. I'll ask again later.
It doesn't function anymore, tried clean installations, but nothing... please try to finally fix this, i would like to test it out on my system but cannot use it anymore... i'm trying to setup a velocity proxy to turn on a mc server but settings are all fixed... not good at all at this point. old version was functioning but i need a functional configurable version with ports configurables, messages. please fix asap. I really love this project
Did you try the J9 egg i toled you? https://github.com/gekware/minecraft-server-hibernation-pterodactyl-egg/blob/main/egg-paper-on-demand-j9.json
Yes, that have more problems, cannot regularly start it by proxy, it doesn't start when you try connecting if you don't cancel the connection first.. it then disconnects if the server finally starts... i think u should fix something there too, old version was functioning, can u tell how the msh_server.bin is created, can u let it be edited somehow ? There is this strange machine-id error... why ?
Yes, that have more problems, cannot regularly start it by proxy, it doesn't start when you try connecting if you don't cancel the connection first.. it then disconnects if the server finally starts...
This only happens because the Client thinks its a diffrent Version, you can just set the config manualy. msh-config.json
"Version": "Paper 1.18.2",
"Protocol": 758
But once you joined, the config is updated and from then it will perfectly: (Screenshot)
i think u should fix something there too, old version was functioning
Maybe @gekigek99 can do that. Current issue: You join with 1.18.2 client to MSH beeing 1.17.2 and you won´t get the "Starting" kick. You just timeout. MSH only starts when you click "Cancel" in the client.
can u tell how the msh_server.bin is created
Its downloaded from a server (URL in EGG Variables)
curl -o msh_server.bin ${MSH_D_URL}
can u let it be edited somehow
Sure you can edit it, just fork our repo and make your modifications. MSH then build it, upload it to a webserver where the egg can then download it from.
There is this strange machine-id error... why ?
This error dosn´t exists in J9. MSH generates a id thats required to check the version of msh (Dev, Release, Depricated). The machine-id file is on every linux system at the same location with a unique value. For some reason it dosn´t exist in the pterodactyl hotspot java egg :/ So far nobody of the devs toled me why, or even responded to it.
I made a issue. Pterodactyl
So i would sugest to follow his advice and add another startup parameter to msh for maschine-id, if this is given msh should not try to read the ID. @gekigek99
i think u should fix something there too, old version was functioning
@cicatrice74 can you tell me what version/commit you are using? and what was the one that was functioning?
So i would sugest to follow his https://github.com/pterodactyl/panel/issues/4043#issuecomment-1094122884 and add another startup parameter to msh for maschine-id, if this is given msh should not try to read the ID. @gekigek99
@BolverBlitz isn't it possible, when an egg is installed to generate a file with a randomized sha1 in /etc/machine-id
of the container? so that the container generates it's own id (even better if keeps it after reinstallation)
(otherwise i'll leave it empty in config by default and try to get it with machineid... if it fails i generate a random one and write that to config)
I had the 2.4.0 version, it was almost ok, needed some custom or pterodactyl parameters' related issue... I am trying to have this finally fully working but with no success, it would be great to have start parameters directly tanken from the pterodactyl server section... maybe some sort of plugin support for the "waiting" server (tcpshield remember?), and fix the needing of cancel connection for the server to start. There are lot of problems in this latest version... I don't like the config section inside the msh_config file... i do not underrstand the 2555 port inside of it. Make it more simple like Server_Name: name Server_sleeping_port: 25568 Server_port: {get it from the pterodactyl panel server created} Memory_for_sleeping: 256M Memory: {get it from the pterodactyl panel server created}
The egg currently isnt nstalling 2.4.0 of MSH, its installing 2.4.6 For 2.4.0 you need the legacy egg.
@cicatrice74
maybe some sort of plugin support for the "waiting" server (tcpshield remember?), and fix the needing of cancel connection for the server to start. There are lot of problems in this latest version... I don't like the config section inside the msh_config file... i do not underrstand the 2555 port inside of it. Make it more simple like Server_Name: name Server_sleeping_port: 25568 Server_port: {get it from the pterodactyl panel server created} Memory_for_sleeping: 256M Memory: {get it from the pterodactyl panel server created}
Feel free to pr ;)
I don't like the config section inside the msh_config file...
Luckily, you don´t need open it at all. I can currently not see any problem, thats not in the readme already.
Full, clean install of the Egg. https://www.youtube.com/watch?v=vd_kPn1mf8s
@cicatrice74 i won't delete this issue for future reference but if you have any concern you are welcome to contact me on discord to have a clear explanation on the matter.
i have this error after clean install