208 Commits

Author SHA1 Message Date
Ben Peddell
e2f8a3e9c5 Check Query port when determining if server is up 2015-10-09 06:39:45 +10:00
Fez Vrasta
51b5e5c6e7 Merge pull request #226 from klightspeed/1.4-dev#checkonline2
Query Steam API for server status
2015-10-08 16:47:40 +02:00
Ben Peddell
9cdd7e3939 Query Steam API for server status 2015-10-08 08:37:13 +10:00
Ben Peddell
c97ed485f5 useconfig now does nothing when useconfig main is used 2015-10-06 17:16:28 +10:00
Ben Peddell
7b5d8b60f2 Add run command to arkmanager 2015-10-06 17:16:28 +10:00
Ben Peddell
1efb536c13 Fix hotfix detection; don't downgrade 2015-10-03 09:24:20 +10:00
Ben Peddell
23efbf8d0d Abort upgrade is arkstChannel is invalid 2015-10-01 08:29:11 +10:00
Ben Peddell
fa7649d92b Allow user to specify arkflag_log="" 2015-09-29 23:31:57 +10:00
Ben Peddell
d27eff2861 Log the command used to launch the server 2015-09-29 11:13:46 +10:00
Ben Peddell
17dd16a830 Add support for -opt=val options using arkopt_opt=val 2015-09-29 10:44:23 +10:00
Ben Peddell
167781e34f Allow non-anonymous steamcmd login 2015-09-29 10:44:23 +10:00
Ben Peddell
e4d42183e3 Default to Windows mod; record mod branch 2015-09-29 10:44:15 +10:00
Ben Peddell
14b82cc7eb Fix autorestart 2015-09-28 13:11:07 +10:00
Fez Vrasta
1ed472ac6d Merge pull request #197 from klightspeed/1.4-dev#fixmodupdate
Fix error in mod file update time comparison
2015-09-26 15:06:55 +02:00
Fez Vrasta
5d1a5d3cb5 Merge pull request #193 from klightspeed/1.4-dev#fixrootcmd
Fix error in running as root
2015-09-26 15:06:27 +02:00
Ben Peddell
098f19d147 Add option to select mod OS
The Linux version of some mods don't work at all with the dedicated
server.  Allow the administrator to configure which mod branch
to grab (Windows or Linux).
2015-09-25 10:50:04 +10:00
Ben Peddell
18e91c07ae Fix error in mod file update time comparison 2015-09-25 10:32:57 +10:00
Ben Peddell
1505aa85ab Automatically su to steamcmd_user if run as root 2015-09-24 17:19:23 +10:00
Ben Peddell
a307643e90 Fix config variable fetching 2015-09-24 17:19:06 +10:00
Marius Linge
c9ddb5c87d Merge pull request #184 from Atriusftw/feature/BackupPreUpdate
Allow backing up prior to updating the server
2015-09-23 05:36:29 +02:00
Marius Linge
47c070a21c Adds the new command to arkmanager help 2015-09-23 02:35:12 +02:00
Marius Linge
cd69429405 Fixes typo from last commit 2015-09-22 21:40:03 +02:00
Marius Linge
e58ad46797 Actually displays seconds instead of spamming 1 minute 2015-09-22 21:24:38 +02:00
Marius Linge
115f0c3ce7 Improves the backup on-request feature 2015-09-22 19:42:50 +02:00
Marius Linge
fee2e3040f Prevents version conflicts 2015-09-22 01:17:38 +02:00
Ben Peddell
034b84b2d0 Merge branch '1.3#flags' into 1.4-dev#flags 2015-09-21 04:49:33 +10:00
Ben Peddell
b977dc21bd Allow empty options
The config option e.g. ark_bRawSockets="" should result in the
...?bRawSockets
2015-09-21 04:45:33 +10:00
Fez Vrasta
2ebb9ed6a9 Merge pull request #179 from klightspeed/1.4-dev#rootupgrade
Allow upgrade / uninstall when running as root
2015-09-20 17:20:35 +02:00
Marius Linge
cb7ab15f69 Checks if user wants to perform a backup prior to updating if a new version is available 2015-09-20 08:19:24 +02:00
Ben Peddell
12c95477cb Merge branch '1.3#fixupdatewarn' into 1.4-dev#fixupdatewarn 2015-09-19 17:59:34 +10:00
Ben Peddell
5c69404551 Fix "infinite" update warn 2015-09-19 17:53:29 +10:00
Ben Peddell
235ee824cc Allow upgrade-tools and uninstall-tools when running as root 2015-09-19 08:31:32 +10:00
Ben Peddell
938c031c73 Move script version above root check 2015-09-19 08:29:23 +10:00
Ben Peddell
4b23b0846f Don't use sudo if uid is 0 2015-09-19 08:28:24 +10:00
Ben Peddell
54872744fa Move doUpgradeTools and doUninstallTools above root check 2015-09-19 08:26:32 +10:00
Ben Peddell
2d305755be Rename doUpgrade to doUpgradeTools 2015-09-19 08:25:28 +10:00
Ben Peddell
c31946525a Make it more obvious that update command takes multiple options 2015-09-19 00:09:00 +10:00
Ben Peddell
4e7fc8f0b1 Add --saveworld option to update 2015-09-19 00:05:14 +10:00
Ben Peddell
f60556c317 Merge branch '1.3#savebeforeupdate' into 1.4-dev 2015-09-19 00:02:25 +10:00
Ben Peddell
38d9b4e977 Save world before update
Not using isTheServerUp, as doSaveWorld should return immediately
if the server is not up.
2015-09-18 23:56:30 +10:00
Ben Peddell
ee32f7c86a Add uninstall-tools command to arkmanager 2015-09-18 20:00:25 +10:00
Ben Peddell
0a09613c3e Rename upgrade command to upgrade-tools 2015-09-18 20:00:18 +10:00
Ben Peddell
f8789764dc Add datadir and dataprefix arguments to install 2015-09-18 19:37:12 +10:00
Ben Peddell
283c04dd81 Add install_bindir and install_libexecdir to config 2015-09-18 19:34:07 +10:00
Ben Peddell
dc9fe449e6 Merge branch 'master' into 1.4-dev 2015-09-18 17:41:28 +10:00
Ben Peddell
4a50d29324 Add server auto-restart 2015-09-17 20:22:03 +10:00
Ben Peddell
e9b987f19a Add update --update-mods option 2015-09-16 19:48:52 +10:00
Ben Peddell
b5819d517d Only copy changed files when extracting a mod 2015-09-16 19:36:06 +10:00
Ben Peddell
4bd9da569a Move mod extraction to out of doInstallMod 2015-09-16 19:29:01 +10:00
Ben Peddell
2207ff160a Move Mod download out of doInstallMod 2015-09-16 19:20:43 +10:00