mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-06 22:31:18 +00:00
Remove TL;DR, as we no longer have a release.
Remove the two shared objects that were necessary for running the release. Restore the merging of XML at server start. Adjust layout of list output to accommodate longer mod names.
This commit is contained in:
parent
f755b6fe6d
commit
fb3a575662
5 changed files with 3 additions and 21 deletions
18
README.md
18
README.md
|
@ -18,24 +18,6 @@ This volume can get quite large. It will require at least 2G of disk space for t
|
|||
Some map mods are as large as 10G. Make sure you have that much disk space in the location where docker stores its
|
||||
volumes, usually `/var/lib/docker/volumes`.
|
||||
|
||||
## TL;DR for this branch and release DayZ server
|
||||
|
||||
```shell
|
||||
git clone https://ceregatti.org/git/daniel/dayzdockerserver.git
|
||||
cd dayzdockerserver
|
||||
git checkout volume-refactor
|
||||
docker compose up -d --build
|
||||
docker compose exec main bash
|
||||
dz login # Use a real login, as anonymous cannot download mods
|
||||
dz install
|
||||
cd /serverfiles
|
||||
mv DayZServer DayZServer.release
|
||||
wget https://cdn.discordapp.com/attachments/491622000935305217/1105089599983853698/DayZServer
|
||||
chmod 755 DayZServer
|
||||
cp /files/tmp/* .
|
||||
exit
|
||||
docker compose exec server bash
|
||||
dz start # Will start a vanilla Chernarus map
|
||||
```
|
||||
## Configure and Build
|
||||
|
||||
|
|
|
@ -118,7 +118,7 @@ get_mod_name(){
|
|||
list(){
|
||||
X=1
|
||||
C="${green}"
|
||||
spaces=" "
|
||||
spaces=" "
|
||||
echo "Installed mods:"
|
||||
echo -e " ID Name URL Size"
|
||||
echo "------------------------------------------------------------------------------------------------------------------------"
|
||||
|
@ -127,7 +127,7 @@ list(){
|
|||
ID=${dir}
|
||||
NAME=$(grep name "${WORKSHOP_DIR}/${dir}/meta.cpp" | cut -d '"' -f2 | sed -r 's/\s+//g')
|
||||
SIZE=$(du -sh "${WORKSHOP_DIR}/${dir}" | awk '{print $1}')
|
||||
printf "${C}%.3d %s %.23s %s https://steamcommunity.com/sharedfiles/filedetails/?id=%s %s${default}\n" ${X} ${ID} "${NAME}" "${spaces:${#NAME}+1}" ${ID} ${SIZE}
|
||||
printf "${C}%.3d %s %.30s %s https://steamcommunity.com/sharedfiles/filedetails/?id=%s %s${default}\n" ${X} ${ID} "${NAME}" "${spaces:${#NAME}+1}" ${ID} ${SIZE}
|
||||
X=$((X+1))
|
||||
done
|
||||
echo
|
||||
|
|
|
@ -202,7 +202,7 @@ start(){
|
|||
report
|
||||
' EXIT
|
||||
get_mods
|
||||
# mergexml
|
||||
mergexml
|
||||
cd ${SERVER_FILES}
|
||||
# Run the server. Allow docker to restart the container if the script exits with a code other than 0. This is so we can
|
||||
# safely shut the container down without killing the server within.
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue