ARK: Survival Evolved
[Linux] ARK Server Tools
Hello! Some of the guys of this community and me are working on a set of tools to manage ARK servers on Linux.
This is an open source (MIT) project and I hope it will be useful for you!

Features

We have already a lot of features ready:

  • One line ARK Server Tools installer
  • ARK server installation
  • Start server
  • Stop server
  • Restart server
  • Update server
  • Daemon
  • Status command to see the status of your server
  • Command to check for new updates
  • Automatic updates
  • And much more!

Install ARK Server Tools

First of all, satisfy the requirements of ARK Server as described in our README file:

https://github.com/FezVrasta/ark-server-tools#pre-requisites

Then configure the server to allow ARK Server to work:

https://github.com/FezVrasta/ark-server-tools#requirements

And finally, run this command to install ARK Server Tools:

curl -s {ССЫЛКА УДАЛЕНА} | sudo bash -s steam


Source code

The entire source code, along with the development branch, are available on GitHub:

https://github.com/FezVrasta/ark-server-tools
Отредактировано Fez Vrasta (ITA); 24 июн. 2015 г. в 3:54
< >
Сообщения 4660 из 107
Would be great if you could create an issue on github about this - that way we can track it faster.
I have everything working on my own Ubuntu server in my closet, lol. I haven't tested the latest fixes, though, but so far so good. I could definitely help with set up if you want.
Here is a copy of my /etc/arkmanager/arkmanager.cfg I'm using only 1 mod right now, and it's a total conversion, but you can see the lines that need to be edited for normal mods. I believe this .cfg is correct, but as I said, I haven't tested the latest fixes with it. ark_GameModIds is what you would want to change, and update the paths to point to the right places, and the other variables. You *should* be good to go.

arkstVersion="1.3" # used to print the version when needed and to check for updates
arkstChannel="1.4-dev" # change it to a different branch to get non-stable versions

# config SteamCMD
steamcmdroot="/home/steam/Steam/steamcmd" # path of your steamcmd instance
steamcmdexec="steamcmd.sh" # name of steamcmd executable
steamcmd_user="" # name of the system user who own steamcmd folder
steamcmd_appinfocache="/home/steam/Steam/appcache/appinfo.vdf" # cache of the appinfo command

# config environment
arkserverroot="/home/steam/Steam/ArkServer" # path of your ARK server files (default ~/ARK)
arkserverexec="ShooterGame/Binaries/Linux/ShooterGameServer" # name of ARK server executable
arkbackupdir="/media/Raid/Steam/Backup" # path to backup directory

# ARK server options - use ark_<optionname>=<value>
# 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 (<fileid> in http://steamcommunity.com/sharedfiles/filedetails/?id=<fileid>)
ark_RCONEnabled="True" # Enable RCON Protocol
ark_SessionName="Mike's Hell Hole" # if your session name needs special characters please use the .ini instead
#ark_Port="7777" # ARK server port (default 7778)
#ark_QueryPort="27015" # ARK query port (default 27016)
ark_ServerPassword="password" # ARK server password, empty: no password required to login
ark_ServerAdminPassword="password2" # 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
mod_appid=346110
#ark_GameModIds="510854250,507648142,509799928"
ark_TotalConversionMod="508249924"

# config Service
servicename="arkserv" # Name of the service (don't change if you don't know what are you doing)
logdir="/var/log/arktools" # Logs path (default /var/log/arktools)

# steamdb specific
appid=376030 # Linux server App ID

# alternate configs
# example for config name "ark1":
#config_ark1="/path/to/config/file"
Отредактировано techrev; 23 сен. 2015 г. в 18:14
So far everything seems to work. I haven't directly tested a mod update, but I did delete the mod everywhere then ran arkmanager update --update-mods and it worked. On the latest 1.4 dev version I get some errors on the install. I'll open a ticket. They aren't related to the overall functionality, though.
Ok, if I install a mod using ASL, it works, but installing the mod using AST, or if it updates, arkmanager is crashing. There's no log, so I can't find out what is crashing.
Отредактировано techrev; 24 сен. 2015 г. в 11:17
there's:

arkmanager installmod <modId>

and:

arkmanager update --update-mods

The first one seems to work best, to be honest. The second one doesn't seem to copy the mod over. However, there seems to be some compression or something in some of the asset files that arkmanager isn't currently processing, I don't know. I'm downloading the ark dev kit right now to try and see what's going on. If they don't figure it out first, I'll eventually work it out - for sure.

One thing, if the mods weren't compressed, it would be pretty easy to do a diff on the files after they are downloaded, see if they're the same, then copy over the files and restart if they are not. I don't know where the devs are on this, but I do know that I can work it out if need be. When I do, I'll contribute whatever I find or do to the project, for sure.
(If I'm wrong, and it's my side, I'll admit that, too. Sometimes I go off and it's some dumb setting. Whatever...)
Автор сообщения: Tactical_Shrimp
How would I compleatly remove the ark manager from my system I have five versions of it I have removed anything that has the name ark in it but when I type ark manager it still gives me the promo as if I have no cfg file I want to try reinstalling the server with ark tools rather then manually so first I need to delete ark manager

What version are you on?

New as of 1.4-dev:

arkmanager uninstall-tools

If you're on stable 1.3 you'll have to manually delete the files, and remove the init scripts.

(Path depends on your distro)

* /etc/init.d/arkmanager
update-rc.d -f arkmanager remove

* /etc/systemd/system/arkmanager.service
systemtcl disable arkmanager.service
Отредактировано Atrius; 27 сен. 2015 г. в 19:27
You can download the .zip from the site. Then make sure your account running the server has sudo priviledges. Unzip the zip, go to the tools directory as root. Run ./install.sh <name of user running the server>. It should clear up all other installs and work.
I'm having a weird problem where the mods I download with the tool are causing the server to crash a few seconds after I run it. If I download the mods with ASL, it works fine. I'm not sure if I'm the only one having the problem. There's supposed to be a fix, but it didn't work for me either. I plan to test it more thoroughly when I get a chance.
For now i recommend installing and upgrading mods manually - until we get a working version.
< >
Сообщения 4660 из 107
Показывать на странице: 1530 50

Дата создания: 23 июн. 2015 г. в 2:06
Сообщений: 107