GithubHelp home page GithubHelp logo

dannydorito / arma-3-startup-and-restart-script Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 14.0 82 KB

.bat file for all your ARMA 3 Server startup needs!

Home Page: http://csgcommunity.com/projects/arma3restart

License: The Unlicense

Batchfile 100.00%
arma arma3 restart exile server-startup arma-server mysql-backup backup client-mods steamcmd

arma-3-startup-and-restart-script's Introduction

ARMA 3 (Exile) Startup & Restart Script

Originally created for the Exile Mod, but can be used for any ARMA 3 Server

This is .bat file for all your ARMA 3 Server startup needs!

Created by: Jstrow and DannyDorito originally for CSG Exile

Forking this repo will be public, do not put sensitive information such as passwords into your public repo. A better alternative is a private repo, which GitHub now offers free for all users, so download a copy of this one and create your own!

Click Here for the DayZ Version!

Check out our Twitter

@JohnAllis0n

@CSG_Exile

Features

  • Server startup - parameters, mods, server mods, optional arguments for potential performance increase
  • Crash/Restart monitor - this uses the Task Manager and not address pinging
  • The last start date & time of the server
  • Support for 64bit servers
  • Optional Profile.vars.Arma3Profile delete with potential performance increase
  • Optional Database backup script, with option to move to another cloud synced directory
  • Optional Steam Automatic updater for ARMA 3

Features to be added

  • Optional Steam automatic updater for mods
  • Optional A3Launcher automatic updater for mods
  • Automatic PBO packer with Mikero's tools support

FAQ

How do I use this

  1. Forking this repo will be public, do not put sensitive information such as passwords into your public repo. A better alternative is a private repo, which GitHub now offers free for all users, so download a copy of this one and create your own!
  2. Download the latest version
  3. Place in a suitable directory, for example your Desktop
  4. Replace all of the variables that you require, e.g. set path_to_ServervarsArma3Profile=changeme to: set path_to_ServervarsArma3Profile=C:\arma\CSG\Users\CSG\CSG.vars.Arma3Profile
  5. Enabling some features, for example to enable Steam auto updates find: set use_steam_updater=false and change it to: set use_steam_updater=true Some features require more variables to be set, if unsure run the ARMAServerStart.bat file and see if there are any errors if so, repeat step 3 and 4.
  6. Run the ARMAServerStart.bat fill and see if there are any errors, if so, repeat step 3 and 4.
  7. To shutdown the server, close the console window first (and all other windows e.g BattleEye or MissionPrefetchServer), then shutdown the server or it will automatically restart.

How do I add x mod

If it is a server side mod, then add it to your mod folder and goto the 'Start the ARMA Server' section in ARMAServerStart.bat

Please check the mod page before installing all mods!

Add the mod to modlist for example adding Mod3 to set modlist=@Mod1; @Mod2;

You would do: set modlist=@Mod1; @Mod2; @Mod3;

If it is a client mod (e.g. JSRS or Blastcore) then there is no need to add it to startup! However, this is not always the case, please check the mod page before installing all mods!

How do I backup my server with this

  • Head to MySQL Backup linked below
  • Follow the installation instructions on the website carefully!
  • Fill in the: path_to_sql_backup=changeme with the full directory of your .bat location. e.g. path_to_sql_backup=C:arma\backup.bat
  • This will create a backup of your database every time you start the server.

It is strongly advised to move these off the system your server runs on.

Google Drive Sync can be used to automatically upload the files to a external cloud, but other solutions are available!

Where do I download x

Exile Mod client & server files

Exile Mod Download

SteamCMD

SteamCMD Wiki

ARMA Mods

Steam Workshop

ModDB Link

Bohemia's Forum

Nexus Mods

MySQL Backup

MySQL Backup

arma-3-startup-and-restart-script's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.