Adding Missions to your Arma 3 Server
Find the Missions
To add missions to your Arma 3 server, first find the missions (or "scenarios") you want to use and download them to your local computer.
Upload the Files to your Server
Upload the mission files to the mpmissions
folder in the main directory of your server.
Editing the server.cfg
File
We have a separate article in our Arma 3 Knowledgebase about how to create a server.cfg
file for your Arma 3 server. This config file does not normally exist at start up, and you must create one manually if you want to change any setting beyond default (which include things like which missions to load). Then you need to set a startup parameter on the server control panel to tell the game which file name to actually load. See the related article at the bottom of this page for more info.
In the server.cfg file, look for the following section if it already exists, or add it if it does not.
class Missions {};
Expand the brackets, like this
class Missions {
};
and then for each mission, include the follow block of text, between the brackets.
class Missions
{
class TestMission01
{
template = MP_Marksmen_01.Altis;
difficulty = "veteran";
class Params {};
};
};
Of course, that's just a stock example.
On the template=
line, change the following text to be the name of the actual mission file.
Note: a mission file might end in .pbo
, but it's not necessary to include the .pbo
part of the filename in this config file. For example, that sample mission shown above would have been named MP_Marksmen_01.Altis.pbo
in reality. Only the MP_Marksmen_01.Altis
part of the file name need to be set in this config file.
Adding multiple missions to the config is as simple as including more blocks, one after another to this section of the config file, like the example below. Make sure you don't clip off that last trailing closing bracket/semi-colon, which is for the entire "class" block as a whole.
class Missions
{
class TestMission01
{
template = MP_Marksmen_01.Altis;
difficulty = "veteran";
class Params {};
};
class TestMission02
{
template = MP_End_Game_01.Altis;
difficulty = "veteran";
class Params {};
};
class TestMission03
{
template = MP_End_Game_02.Altis;
difficulty = "veteran";
class Params {};
};
class TestMission04
{
template = MP_End_Game_03.Altis;
difficulty = "veteran";
class Params {};
};
};
Activating the Config File:
Once a server file has been created on the server (or uploaded), the next step is to direct the server to actually use the file, and that is done by using a startup parameter.
You can enter startup parameters by clicking on the "Game Settings" tab of the Nodecraft Arma 3 server control panel. You will see a white box labelled "Params:"
In the box, enter the command:
-config=(filename)
Then click the "Save" button. If you have more then one startup parameter, each should be added to it's own "params" box. Click the plus sign in a circle at the right end of the box to add more boxes for parameters.
Multiple Config Files:
Arma 3 allows multiple server.cfg
files to be used, and you can switch between configs by changing a startup parameter each time the server is restarted. Because of this, you can upload many missions to the server, and control which if any of them are actually loaded by changing the config file used at startup.