Jump to content

Recommended Posts

I dont know what im doing wrong here, i followed a video step by step and can't get it to read the CONFIG file, the .bat works and launches the server but thats as far as i can get. Heres the 2 files i have. (the mods that are there are just there for testing)

"arma 3 server.bat"

@echo off
"E:\SteamLibrary\steamapps\common\Arma 3 Server\arma3server_x64.exe"
"-profiles=E:\SteamLibrary\steamapps\common\Arma 3 Server"
"mod=@CBA_A3;@CUP Units;@CUP Weapons;"
-congfig="E:\SteamLibrary\steamapps\common\Arma 3 Server\CONFIG_server.cfg"
-port=2302
-world=empty

"CONFIG_server.cfg"

//
// server.cfg
//
// comments are written with "//" in front of them.

// NOTE: More parameters and details are available at http://community.bistudio.com/wiki/server.cfg

// STEAM PORTS (not needed anymore, it is +1 +2 to gameport)
// steamPort        = 8766;        // default  8766, needs to be unique if multiple servers are on the same box
// steamQueryPort    = 27015;    // default 27016, needs to be unique if multiple servers are on the same box

// GENERAL SETTINGS
hostname        = "Omega stuff";    // Name of the server displayed in the public server list
password        = "8520";        // Password required to join the server (remove // at start of line to enable)
passwordAdmin    = "Admin";        // Password to login as admin. Open the chat and type: #login password
maxPlayers        = 10;    // Maximum amount of players, including headless clients. Anybody who joins the server is considered a player, regardless of their role or team.
persistent        = 1;    // If set to 1, missions will continue to run after all players have disconnected; required if you want to use the -autoInit startup parameter
upnp            = 1;    // upnp
// VOICE CHAT
disableVoN        = 0;    // If set to 1, voice chat will be disabled
vonCodecQuality    = 10;    // Supports range 1-30, the higher the better sound quality, the more bandwidth consumption:
                        // 1-10 is 8kHz (narrowband)
                        // 11-20 is 16kHz (wideband)
                        // 21-30 is 32kHz (ultrawideband)

// VOTING
voteMissionPlayers    = 1;        // Minimum number of players required before displaying the mission selection screen, if you have not already selected a mission in this config
voteThreshold        = 0.33;        // Percentage (0.00 to 1.00) of players needed to vote something into effect, for example an admin or a new mission. Set to 9999 to disable voting.
allowedVoteCmds[] =                // Voting commands allowed to players
{
    // {command, preinit, postinit, threshold} - specifying a threshold value will override "voteThreshold" for that command
    {"admin", false, false},        // vote admin
    {"kick", false, true, 0.51},    // vote kick
    {"missions", false, false},        // mission change
    {"mission", false, false},        // mission selection
    {"restart", false, false},        // mission restart
    {"reassign", false, false}        // mission restart with roles unassigned
};

// WELCOME MESSAGE ("message of the day")
// It can be several lines, separated by comma
// Empty messages "" will not be displayed, but can be used to increase the delay before other messages
motd[] =
{
    "Welcome to My Arma 3 Server",
    "Discord: discord.somewhere.com",
    "TeamSpeak: ts.somewhere.com",
    "Website: www.example.com"
};
motdInterval = 5;    // Number of seconds between each message

// LOGGING
timeStampFormat    = "short";                // Timestamp format used in the server RPT logs. Possible values are "none" (default), "short", "full"
logFile            = "server_console.log";    // Server console output filename

// SECURITY
BattlEye                = 1;    // If set to 1, BattlEye Anti-Cheat will be enabled on the server (default: 1, recommended: 1)
verifySignatures        = 2;    // If set to 2, players with unknown or unsigned mods won't be allowed join (default: 0, recommended: 2)
kickDuplicate            = 1;    // If set to 1, players with an ID that is identical to another player will be kicked (recommended: 1)
allowedFilePatching        = 1;    // Prevents clients with filePatching enabled from joining the server
                                // (0 = block filePatching, 1 = allow headless clients, 2 = allow all) (default: 0, recommended: 1)

// FILE EXTENSIONS

// only allow files with those extensions to be loaded via loadFile command (since Arma 3 v1.20)
allowedLoadFileExtensions[] =        {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"};

// only allow files with those extensions to be loaded via preprocessFile / preprocessFileLineNumbers commands (since Arma 3 v1.20)
allowedPreprocessFileExtensions[] =    {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"};

// only allow files and URLs with those extensions to be loaded via htmlLoad command (since Arma 3 v1.28)
allowedHTMLLoadExtensions[] =        {"htm","html","php","xml","txt"};

// EVENT SCRIPTS - see http://community.bistudio.com/wiki/ArmA:_Server_Side_Scripting
onUserConnected        = "";    // command to run when a player connects
onUserDisconnected    = "";    // command to run when a player disconnects
doubleIdDetected    = "";    // command to run if a player has the same ID as another player in the server
onUnsignedData        = "kick (_this select 0)";    // command to run if a player has unsigned files
onHackedData        = "kick (_this select 0)";    // command to run if a player has tampered files

// HEADLESS CLIENT
headlessClients[]    = {"127.0.0.1"};    // list of IP addresses allowed to connect using headless clients; example: {"127.0.0.1", "192.168.1.100"};
localClient[]        = {"127.0.0.1"};    // list of IP addresses to which are granted unlimited bandwidth;  example: {"127.0.0.1", "192.168.1.100"};

Share this post


Link to post
Share on other sites
1 hour ago, Wackedprince said:

-congfig="E:\SteamLibrary\steamapps\common\Arma 3 Server\CONFIG_server.cfg"-

 Unless this is just a typo with your copy/paste, -config is spelt wrong. 

Share this post


Link to post
Share on other sites
2 minutes ago, EO said:

 Unless this is just a typo with your copy/paste, -config is spelt wrong. 

bro i swear to god, gimme like 5 min and i'll update

Share this post


Link to post
Share on other sites
5 minutes ago, EO said:

 Unless this is just a typo with your copy/paste, -config is spelt wrong. 

fixed the typo still doesn't read it, but i do appreciate pointing that out

Share this post


Link to post
Share on other sites

Would suggest to first remove the mods to be loaded in your commandline and focus on getting

Arma 3 itself up, then go from there, dont put the cart before the horse so to speak.

13 hours ago, Wackedprince said:

upnp            = 1;  

Your setting here set it to  upnp = 0;

by default its set to false as per the warning on the server.cfg (wiki)

When enabled then this setting may delay server start-up by 600s (standard UDP timeout of 10 minutes) if blocked on

firewall or bad routing etc. Thus in such case is recommended to disable it.

Try that without mods and see if it comes up, but also refer to the Arma 3 Dedicated server wiki page seen here

https://community.bistudio.com/wiki/Arma_3:_Dedicated_Server

 

If you need further help, references, tutorials, and or guides on servers, and port forwarding, see my compilation list here

which is also pinned in this section

 

  • 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

×