Renegade-Master / zomboid-dedicated-server

Linux based Docker image containing a Dedicated Server for Project Zomboid.
https://hub.docker.com/r/renegademaster/zomboid-dedicated-server
Other
147 stars 57 forks source link

Hey, buddy, can you build a docker container for pterodactyl panel? #49

Open Shuazijun opened 1 year ago

Shuazijun commented 1 year ago

Like this。 https://github.com/pterodactyl/panel temp eggs。 https://github.com/parkervcp/eggs/tree/master/game_eggs/steamcmd_servers/project_zomboid

Renegade-Master commented 1 year ago

That sounds like it would be pretty far outside of the scope of this project.

By the looks of the Pterodactyl project, the expectation is on you to configure an "egg" to use this Docker image. The JSON file you sent seems to pretty much cover it; you would only need to change some of the parameters. 🙂

However, I would like to create some K8S configuration files to support installation that way (once the current issues with permissions are dealt with). While creating those files, I may consider also creating an "egg" so that Pterodactyl can be used to deploy the image.

Shuazijun commented 1 year ago

pterodactyl panel ,There is already an egg, but it seems to have some problems. For example, a server that cannot run normally after some mods are enabled. check link https://github.com/parkervcp/eggs/issues/1958#issuecomment-1312540060

---Original--- From: @.> Date: Sun, Nov 13, 2022 02:24 AM To: @.>; Cc: @.**@.>; Subject: Re: [Renegade-Master/zomboid-dedicated-server] Hey, buddy, can youbuild a docker container for pterodactyl panel? (Issue #49)

That sounds like it would be pretty far outside of the scope of this project.

By the looks of the Pterodactyl project, the expectation is on you to configure an "egg" to use this Docker image. The JSON file you sent seems to pretty much cover it; you would only need to change some of the parameters. 🙂

However, I would like to create some K8S configuration files to support installation that way (once the current issues with permissions are dealt with). While creating those files, I may consider also creating an "egg" so that Pterodactyl can be used to deploy the image.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Shuazijun commented 1 year ago

The author of this egg told me that the problem can only be solved by oneself at present, and pterosaur officials have no plans to update or maintain it. plan

---Original--- From: @.> Date: Sun, Nov 13, 2022 02:24 AM To: @.>; Cc: @.**@.>; Subject: Re: [Renegade-Master/zomboid-dedicated-server] Hey, buddy, can youbuild a docker container for pterodactyl panel? (Issue #49)

That sounds like it would be pretty far outside of the scope of this project.

By the looks of the Pterodactyl project, the expectation is on you to configure an "egg" to use this Docker image. The JSON file you sent seems to pretty much cover it; you would only need to change some of the parameters. 🙂

However, I would like to create some K8S configuration files to support installation that way (once the current issues with permissions are dealt with). While creating those files, I may consider also creating an "egg" so that Pterodactyl can be used to deploy the image.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Renegade-Master commented 1 year ago

Best thing I can suggest is to modify that egg file to use my image instead: https://github.com/parkervcp/eggs/blob/master/game_eggs/steamcmd_servers/project_zomboid/egg-project-zomboid.json#L15

I don't really understand what this section is for. Maybe you can delete it? https://github.com/parkervcp/eggs/blob/master/game_eggs/steamcmd_servers/project_zomboid/egg-project-zomboid.json#L25

Then just modify the variables here to match the ones I expose in this image: https://github.com/parkervcp/eggs/blob/master/game_eggs/steamcmd_servers/project_zomboid/egg-project-zomboid.json#L32

My variables are laid out in tables in the README of this project.

If you edit it correctly, maybe Pterodactyl can just import the file.

Shuazijun commented 1 year ago

For #L25 , This is the script that needs to be executed when the server defined by the pterosaur panel is started for the first time after a new installation. The current script is used to install steamcmd and the server.
For #32 ,For variables, these variables are only used at startup, and most variables do not need to be modified.

In addition, the server installation path cannot be modified. It seems that you can only use the directory in the egg, otherwise the folder contents cannot be displayed in the panel after the container is started.

Renegade-Master commented 1 year ago

Sounds like you already know what needs to be done 🙂

What is stopping you from contributing your changes to the repository you linked?

Shuazijun commented 1 year ago

How do you solve the problem that the Docker container cannot run mod? i will rebuild docker image,But ,not suppout mod,The error message is consistent with the above。

https://github.com/Shuazijun/ProjectZomboidEgg

Renegade-Master commented 1 year ago

Well, this image definitely supports mods, so once you change the target image to this one, you should be able to use the environment variables to configure mods.

Shuazijun commented 1 year ago

maybe ,you can test this config. https://github.com/parkervcp/eggs/issues/1958#issuecomment-1312540060 I guess this may be caused by the container using an account with non root permissions, and the official support personnel did not give specific instructions.

Shuazijun commented 1 year ago

i will test root acces docker container,but still crash with my mod config。