mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-07 06:41:17 +00:00
Updated usage.
This commit is contained in:
parent
e71ed82871
commit
4359cdb163
1 changed files with 8 additions and 9 deletions
|
@ -89,18 +89,18 @@ Usage: ${green}$(basename $0)${yellow} option [ arg1 [ arg2 ] ]
|
||||||
|
|
||||||
Options and arguments:
|
Options and arguments:
|
||||||
|
|
||||||
|
activate id [id...] - Activate one or many installed DayZ Workshop items by id
|
||||||
|
add id [id...] - Add one or many DayZ Workshop items by id. Added items become active by default
|
||||||
|
config - Update the internal serverDZ.cfg file from files/serverDZ.cfg on the host. Presents a unified diff if the internal file doesn't match the host file.
|
||||||
|
deactivate id [id...] - Deactivate one or many installed DayZ Workshop items by id - Keeps the addon files but excludes from -mod=
|
||||||
install - Install the DayZ server files
|
install - Install the DayZ server files
|
||||||
|
list - List Workshop items and if they are active or not
|
||||||
login - Login to Steam
|
login - Login to Steam
|
||||||
rcon - Connect to the server using a python RCON client
|
rcon - Connect to the server using a python RCON client
|
||||||
|
remove id [id...] - Remove all vestiges of one or many Workshop items by id.
|
||||||
status - Shows the server's status as well as the state of the server files and mods (Needs install, update, etc.)
|
status - Shows the server's status as well as the state of the server files and mods (Needs install, update, etc.)
|
||||||
stop - Stop the server
|
stop - Stop the server
|
||||||
update - Update the DayZ server and configuration files
|
update - Update the server files
|
||||||
workshop - Workshop Features
|
|
||||||
activate id [id...] - Activate one or many installed DayZ Workshop item by id
|
|
||||||
add id [id...] - Add one or many DayZ Workshop items by id. Added items are become active by default.
|
|
||||||
deactivate id [id...] - Deactivate one or many installed DayZ Workshop items by id - Keeps the addon files but excludes from -mod=
|
|
||||||
list - List Workshop items and their states (Active vs. Non)
|
|
||||||
remove id [id...] - Remove one or many Workshop items by id
|
|
||||||
${default}"
|
${default}"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
@ -109,12 +109,11 @@ fn_prompt_yn(){
|
||||||
echo -n "${1} (y|N) " >&2
|
echo -n "${1} (y|N) " >&2
|
||||||
read -s -n 1 a
|
read -s -n 1 a
|
||||||
a=$(echo ${a} | tr A-Z a-z)
|
a=$(echo ${a} | tr A-Z a-z)
|
||||||
|
echo
|
||||||
if [[ "${a}" = "y" ]]
|
if [[ "${a}" = "y" ]]
|
||||||
then
|
then
|
||||||
echo
|
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
echo
|
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue