Jump to content
4

a3ss.sh -- more conveniently choose what mods you want to load!

Recommended Posts

Link:  https://github.com/wanderrful/Arma-Server-Tool-Scripts/blob/master/a3ss.sh

 

Like a lot of Linux server admin people, I started out by using that one tutorial that exists:  https://medium.com/arma-3-server-administration/installation-and-configuration-of-an-arma-3-linux-dedicated-server-7875c9030b7

 

Yesterday, I decided that I wanted to make things a little bit easier on myself now that I know how to do Bash Shell Scripting a little bit better than when I started out.  So I wrote a script that allows me to start my server with only the specific mods I want!

 

Personally, I have this script symlinked to /usr/local/bin so that I can just say "a3ss" in the Terminal.  To make things even easier, I made some aliases in my ~/.bashrc so that I can say "a3ss-config1" to start my server with only CBA and TFR. 

 

To add mods to this script, simply add more to the ModDict[] array, using the array keys to represent your mod names.  The mod ID numbers correspond to the Steam Workshop IDs of the mods you want.  If you aren't using the Steam Workshop for your server/group, all you have to do is change the location of your mod folder in the ModFolder variable near the top of the script and then specify the specific mod folder names that you're using.  So if you're using "@cba_a3", just use that instead of the Workshop ID number.

 

You'll also probably want to change the extraneous launch parameters near the bottom of the script so that they're better suited to your server's specific basic.cfg, profileName, and config.cfg file locations.  Just edit the actual ./arma3server call near the bottom of the script!

 

Hope this helps somebody else!

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×