Commit graph

119 commits

Author SHA1 Message Date
Daniel Ceregatti
401d857a7f Implement more mod handling. 2022-07-22 22:19:33 -07:00
Daniel Ceregatti
1ba6a057c0 First working implementation of mod support. 2022-07-22 21:12:36 -07:00
Daniel Ceregatti
9d0cb5f7bf Make core file handling be part of docker compose.
Remove the shutdown handling hack when the server was crashing on exit.
Add a proper stop option now that seinding SIGTERM will properly shut the server down.
2022-07-22 18:12:50 -07:00
Daniel Ceregatti
f6153d02b5 Refactor to allow cleanup to happen in an exit trap.
Remove loop to allow docker to handle restarts on crashes. Hacks exist for now to force exit 0 because the server always crashes on exit.
Rework how the config is loaded. It need not always happen.
2022-07-10 11:26:16 -07:00
Daniel Ceregatti
13f3cda4cb Bring in all the settings from the documentation. The last two are not from there, though. 2022-07-10 11:24:46 -07:00
Daniel Ceregatti
b9aee3d824 Add RCON file handling.
Add RCON client.
Add many comments.
2022-07-09 14:23:43 -07:00
Daniel Ceregatti
56aa713151 Fix yet more conflicts. 2022-07-08 22:45:06 -07:00
Daniel Ceregatti
c2ca3ce46b Fix conflict. 2022-07-08 22:41:42 -07:00
Daniel Ceregatti
9edfcae0c9 More checking, less calling of the config function. 2022-03-31 01:34:10 -07:00
Daniel Ceregatti
f2987ebe1e Use proper recommendation message. 2022-03-31 01:06:55 -07:00
Daniel Ceregatti
cb1ab78db8 Prevent the config from happening if the server files aren't installed yet. 2022-03-31 00:50:56 -07:00
Daniel Ceregatti
368ec600f7 Remove all the Battle Eye rcon crap. Let the game manage that.
Remove the default.cfg file as that's just been incorporated into the dayzserver script.
Set some saner defaults in serverDZ.cfg.
Remove the faking of the install.
Integrate steamcmd from Debian.
Updated docs.
2022-03-31 00:34:57 -07:00
Daniel Ceregatti
ccc9302a3e Add more dependency checking to make sure things don't run when they're not met. 2022-03-26 18:04:04 -07:00
Daniel Ceregatti
618488224f Add the ability to fake the DayZ install while developing, as it's very large and takes a lot of time.
Remove actions that will not become part of the set of features.
Update usage output.
2022-03-26 17:36:08 -07:00
Daniel Ceregatti
164d5b41d6 Add more interactive functionality: Login, update, rcon, etc. All WIPs.
Simplify things by consolidating all the bash stuff into dayzserver and removing files where the content has become managed interactively.
Make sure steamcmd has proper permissions in the container.
More updated documentation.
2022-03-26 16:37:39 -07:00
Daniel Ceregatti
d87c5fad0e Create a dedicated means by which we can run interactive prompts to effect tasks such as (all WIP):
Logging into to Steam, accounting for Steam Guard. These credentials persist throughout the lifetime of the docker volume storing the data.
  Adding/removing/managing workshop items. The goal is to also manage the "=mod=" parameter.
  Listing the auto-generated RCON password.
  Backing up.
Further refine the original dayzserver script. In docker, a lot of the other stuff wasn't necessary so a lot is just being removed.
Install steamcmd into the container in Dockerfile and adjust paths.
Vastly updated docs!
2022-03-26 13:02:54 -07:00
Daniel Ceregatti
e7ba76acf7 Added Steam login step, which is done interactively.
Factor out all the unused stuff from dayzserver. Rework the logic.
Started support for workshop items.
Updated docs.
2022-03-26 03:16:04 -07:00
Daniel Ceregatti
6be82b1adc Make configuration changes come from changes to the files rather than setting environment variables.
Updated documentation.
2022-03-25 23:52:06 -07:00
Daniel Ceregatti
b141d2b0da Refactor to use only one volume, one for the entire contents of the user's home directory. This simplifies a lot.
Make all bash changes to the dayzserver script instead of creating a wrapper.
Handle the server config and Battle Eye string substitution.
Add the default.cfg from upstream and handle it locally.
2022-03-25 23:17:55 -07:00