Jump to content
  • Announcement

    Welcome to M1GC

  • M1GC

How to configure a Squad Dedicated Server (Windows)


M1GC

Recommended Posts

REQUIREMENTS for WINDOWS

WINDOWS
1. Download SteamCmd and extract to your preferred directory.

2. Open SteamCmd or create a file called "update server.bat" with the following contents.

SET STEAMCMD="C:\steamcmd\steamcmd.exe"
%STEAMCMD% +login anonymous +force_install_dir "C:\servers\squad_server" +app_update 403240 validate

3. Run the .bat file to install the server files. When the installation is complete, you can close the window.
4. Go to the server folder ("C:\servers\squad_server"), and create a new file called "start.bat" with the following contents.

This is the file you will use to start the server.

start SquadServer.exe Port=7787 QueryPort=27165 FIXEDMAXPLAYERS=80 RANDOM=ALWAYS -log

Your server is now installed, however you must still configure your network to allow players to connect to your server from the internet. You can find Squad's connection ports in the "Ports to Open" section below. Directions for port forwarding will be dependent on your model router / network setup.

Further info on server setup and configuration can be found in their respective sections on this page.

Server configuration Settings in  Server.cfg

This is the general server config file. Each variable should be on its own line. New additions will be added to this wiki. Since we do not overwrite config files you will need to manually add them to your existing server config if you wish to alter the default value.

ServerName="Squad Dedicated Server"

IsLANMatch=false 

ShouldAdvertise=true 

MaxPlayers=40 

NumReservedSlots=0 

NumPlayersDiffForTeamChanges=3 

AllowTeamChanges=true 

PreventTeamChangeIfUnbalanced=true 

EnforceTeamBalance=true 

RejoinSquadDelayAfterKick=180 

ServerMessageInterval=300 

ServerPassword=Password 

AutoTkBanTime=1209600 

RecordDemos=false 

VehicleClaimingDisabled=false 

VehicleKitRequirementDisabled=false 

AllowQA=false // Forced on for Licensed servers (Only OWI staff & qa are admins) 

AllowCommunityAdminAccess=false // Forced on for Licensed servers (Only OWI devs) 

AllowDevProfiling=false

PORTS TO OPEN

Port = Game port = UDP (Default 7787, 7788 UDP) Need to be open on Windows firewall and router.
QueryPort = Steam query port = UDP (Default 27165 UDP)
QueryPort+1 = Second Steam query port = UDP and TCP (Default 27165, 27166, 27167 UDP and TCP)

FILES

Configuration files are located in C:\servers\squad_server\Squad\ServerConfig\ Configuration files located in this directory are:

Admins.cfg
Bans.cfg
License.cfg
MapRotation.cfg
Rcon.cfg
RemoteAdminListHosts.cfg
RemoteBanListHosts.cfg
Server.cfg
ServerMessages.cfg

ADDING ADMINS IN ADMIN.CFG

Admins are now created by groups and groups are assigned to admins. You can create as many groups as you want with any types of permissions. All the permissions will be in the config file commented out. These files will not be over writeable so when we add new permissions you will need to check here or the wiki for updates. The below are just examples. Please note that it needs to be SteamId64. You can convert your ID at steamid.io/lookup/

Group=SuperAdmin:changemap,cheat,private,balance,chat,kick,ban,config,cameraman,debug,pause
Group=Admin:changemap,balance,chat,kick,ban,cameraman,pause
Group=Moderator:changemap,chat,kick,ban
Admin=76561115695178:Moderator //Player 5
Admin=8915618948911:Moderator //Player 4
Admin=7894591951519:Admin //Player 3
Admin=7984591565611:SuperAdmin //Player 2
Admin=917236241624:SuperAdmin //Player 1
Admin=45365435431:Admin //Player 8792 

Map Rotation in MapRotation.cfg

Logar 
Kohat 
OP First Light 
Chora 
Fool's Road 
Sumari 
Gorodok 
Yehorivka 
Mestia 
Kokan 
Narva 
Al Basrah 
Belaya

If you want a specifc map version you can add the below into the rotation file

Al Basrah 

Al Basrah AAS v1 

Al Basrah Conquest v1 

Al Basrah INS v1 

Al Basrah Invasion v1 

Al Basrah Invasion v2 

Al Basrah PAAS v1 

Al Basrah PAAS v2 

Belaya Belaya AAS v1 

Belaya AAS v2 

Belaya AAS v3 

Belaya Invasion v1 

Belaya Invasion v2 

Belaya PAAS v1 

Chora 

Chora AAS v1 

Chora AAS v1 INF 

Night Chora AAS v2 

Chora Conquest v1 

Chora INS v1 

Chora Invasion v1 

Night Chora PAAS v1 

Fool's Road Fool's 

Road AAS v1 

Fool's Road AAS v1 

INF Fool's Road AAS v2 

Fool's Road AAS v3 

Fool's Road AAS v4 

Fool's Road Conquest v1 

Fool's Road Skirmish 

Gorodok 

Gorodok AAS v1 

Gorodok AAS v1 INF 

Gorodok AAS v2 

Gorodok AAS v3 

Gorodok AAS v4 

Gorodok Invasion v1 

Gorodok Invasion v2 

Jensen's Range 

Kamdesh 

Kamdesh AAS v1 

Kamdesh AAS v1 

INF Kamdesh INS v1 

Kamdesh Invasion v1 

Kamdesh Invasion v2 

Kamdesh PAAS v1 

Kohat Kohat AAS v1 

Kohat AAS v1 INF 

Kohat AAS v2 

Kohat INS v1 

Kohat Invasion v1 

Kokan 

Kokan AAS v1 

Kokan AAS v2 

Kokan INS v1 

Kokan PAAS v1 

Logar 

Logar PAAS V1 

Logar Valley AAS v1 

Logar Valley AAS v1 INF 

Logar Valley INS v1 

Logar Valley INS v1 

Night Mestia 

Mestia AAS v1 

Mestia AAS v2 

Mestia Invasion v1 

Mestia Invasion v2 

Mestia PAAS v1 

Narva 

Narva AAS v1 

Narva AAS v2 

Narva AAS v3

Narva Invasion v1 

Narva PAAS v1 

Narva PAAS v2 

OP First Light 

OP First Light AAS v1 

Sumari Sumari AAS v1 

Sumari AAS v1 INF 

Sumari AAS v2 

Sumari AAS v3 

Sumari INS v1 

Sumari ITC v1 

Yehorivka 

Yehorivka AAS v1 

Yehorivka AAS v1 INF

Yehorivka AAS v2 

Yehorivka AAS v3

Yehorivka Invasion v1 

Yehorivka Invasion v2
Link to comment
Share on other sites

  • M1GC locked this topic
Guest
This topic is now closed to further replies.
  • M1GC

  • Welcome to M1GC

    tenor.gif

    We accept players of all skill levels and help members grow at their own pace.

    We are respectful, determined, and proud to be M1GC members..

  • twitch-logo.gif.6e366685b5d45bf948dad544bc71f521.gif

    Check out M1GC on Twitch

  • Sign up to Restream.io

    M1-Gaming Is Inviting you to Join Restream. The best way to stream video live to 30+ platforms simultaneously for free.

MuRdeR1 GaMinG CReW

We are a community of mature gamers who value character, honor, and professionalism

We are one of the newest active teams in online gaming.

We are diverse and open, with members from all across the world in multiple games.

M1GC Crew Gamers

We are organized and stable, with opportunities for both competitive and casual.
We accept players of all skill levels and help members grow at their own pace.

M1GC Crew Websites

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.