diff --git a/tools/arkmanager.cfg b/tools/arkmanager.cfg index 96c8c05..7210555 100644 --- a/tools/arkmanager.cfg +++ b/tools/arkmanager.cfg @@ -11,7 +11,6 @@ steamcmd_appinfocache="/home/steam/Steam/appcache/appinfo.vdf" # cache of t #steamlogin="anonymous" # Uncomment this to specify steam login instead of using anonymous login # config environment -arkserverroot="/home/steam/ARK" # path of your ARK server files (default ~/ARK) arkserverexec="ShooterGame/Binaries/Linux/ShooterGameServer" # name of ARK server executable arkbackupdir="/home/steam/ARK-Backups" # path to backup directory arkwarnminutes="60" # number of minutes to warn players when using update --warn @@ -29,17 +28,13 @@ msgWarnRestartSeconds="This ARK server will shutdown for a restart in %d seconds msgWarnShutdownMinutes="This ARK server will shutdown in %d minutes" msgWarnShutdownSeconds="This ARK server will shutdown in %d seconds" -# ARK server options - use ark_= +# ARK server common options - use ark_= # comment out these values if you want to define them # inside your GameUserSettings.ini file serverMap="TheIsland" # server map (default TheIsland) #serverMapModId="469987622" # Uncomment this to specify the Map Mod Id ( in http://steamcommunity.com/sharedfiles/filedetails/?id=) #ark_TotalConversionMod="496735411" # Uncomment this to specify a total-conversion mod ark_RCONEnabled="True" # Enable RCON Protocol -ark_RCONPort="32330" # RCON Port -ark_SessionName="ARK Server Tools" # if your session name needs special characters please use the .ini instead -ark_Port="7778" # ARK server port (default 7778) -ark_QueryPort="27015" # ARK query port (default 27015) ark_ServerPassword="" # ARK server password, empty: no password required to login ark_ServerAdminPassword="keyboardcat" # ARK server admin password, KEEP IT SAFE! ark_MaxPlayers="70" @@ -69,3 +64,5 @@ mod_branch=Windows # alternate configs # example for config name "ark1": #configfile_ark1="/path/to/config/file" + +#defaultinstance="main" diff --git a/tools/install.sh b/tools/install.sh index 99696dd..c28e712 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -158,6 +158,9 @@ if [ "$userinstall" == "yes" ]; then # Create a folder in ~/.config/arkamanger to hold instance configs mkdir -p "${INSTALL_ROOT}${PREFIX}/.config/arkmanager/instances" + # Copy example instance config + cp instance.cfg.example "${INSTALL_ROOT}/${PREFIX}/.config/arkamanger/instances/instance.cfg.example" + # Copy arkmanager.cfg to ~/.arkmanager.cfg.NEW cp arkmanager.cfg "${INSTALL_ROOT}${PREFIX}/.arkmanager.cfg.NEW" # Change the defaults in the new config file @@ -280,6 +283,9 @@ else mkdir -p "${INSTALL_ROOT}/etc/arkmanager/instances" chown "$steamcmd_user" "${INSTALL_ROOT}/etc/arkmanager/instances" + # Copy example instance config + cp instance.cfg.example "${INSTALL_ROOT}/etc/arkamanger/instances/instance.cfg.example" + # Copy arkmanager.cfg inside linux configuation folder if it doesn't already exists mkdir -p "${INSTALL_ROOT}/etc/arkmanager" cp arkmanager.cfg "${INSTALL_ROOT}/etc/arkmanager/arkmanager.cfg.NEW" diff --git a/tools/instance.cfg.example b/tools/instance.cfg.example new file mode 100644 index 0000000..0513b44 --- /dev/null +++ b/tools/instance.cfg.example @@ -0,0 +1,28 @@ +# config environment +arkserverroot="/home/steam/ARK" # path of your ARK server files (default ~/ARK) + +# ARK server options - use ark_= +# comment out these values if you want to define them +# inside your GameUserSettings.ini file +serverMap="TheIsland" # server map (default TheIsland) +#serverMapModId="469987622" # Uncomment this to specify the Map Mod Id ( in http://steamcommunity.com/sharedfiles/filedetails/?id=) +#ark_TotalConversionMod="496735411" # Uncomment this to specify a total-conversion mod +ark_RCONEnabled="True" # Enable RCON Protocol +ark_RCONPort="32330" # RCON Port +ark_SessionName="ARK Server Tools" # if your session name needs special characters please use the .ini instead +ark_Port="7778" # ARK server port (default 7778) +ark_QueryPort="27015" # ARK query port (default 27015) +ark_ServerPassword="" # ARK server password, empty: no password required to login +ark_ServerAdminPassword="keyboardcat" # ARK server admin password, KEEP IT SAFE! +ark_MaxPlayers="70" +#ark_GameModIds="487516323,487516324,487516325" # Uncomment to specify additional mods by Mod Id separated by commas +#ark_AltSaveDirectoryName="SotF" # Uncomment to specify a different save directory name + +# ARK server flags - use arkflag_=true +#arkflag_OnlyAdminRejoinAsSpectator=true # Uncomment to only allow admins to rejoin as spectator +#arkflag_DisableDeathSpectator=true # Uncomment to disable players from becoming spectators when they die + +# ARK server options - i.e. for -optname=val, use arkopt_optname=val +#arkopt_StructureDestructionTag=DestroySwampSnowStructures + +