Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*/
- File: server.cfg
- Author:
- Quiksilver
- Last Modified:
- 5/12/2018 A3 1.86 by Quiksilver
- Description:
- http://community.bistudio.com/wiki/server.cfg
- Instructions:
- 0. set hostname, under GENERAL SETTINGS
- 1. set password, under GENERAL SETTINGS
- 2. set passwordAdmin, under GENERAL SETTINGS
- 3. set maxPlayers, under GENERAL SETTINGS
- 4. set steamPort + steamQueryPort if necessary
- 5. set Mission Template, under MISSION WHITELIST
- 6. set missionWhitelist[], make sure correct pbo is added with given format
- 7. set forcedDifficulty = "Custom";
- 8. set serverCommandPassword under SECURITY. Note, this must match up with serverCommandPassword function in mod file.
- ____________________________________________________________/*/
- //======================================================= GENERAL SETTINGS
- hostname = "Department of Justice Invade and Annex"; // Name of the server displayed in the public server list
- maxPlayers = 64; // 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
- statisticsEnabled = 1; // BIS Analytics
- //======================================================= GAMEPLAY
- forceRotorLibSimulation = 0; // Enforces the Advanced Flight Model on the server. Default = 0 (up to the player). 1 - forced AFM, 2 - forced SFM.
- drawingInMap = 1; // Enables or disables the ability to draw lines in map. Default = 1 (since Arma 3 1.63+).
- //======================================================= CLIENT STABILITY
- kickClientsOnSlowNetwork[] = {0,0,0,0}; // Defines if {<MaxPing>, <MaxPacketLoss>, <MaxDesync>, <DisconnectTimeout>} will be logged (0) or kicked (1) (since Arma 3 1.56+)
- maxPing = 350; // Max ping value until server kick the user (since Arma 3 1.56+)
- maxPacketLoss = 50; // Max packetloss value until server kick the user (since Arma 3 1.56+)
- maxDesync = 150; // Max desync value until server kick the user (since Arma 3 1.56+)
- disconnectTimeout = 90; // Server wait time before disconnecting client, default 90 seconds, range 5 to 90 seconds. (since Arma 3 1.56+)
- //======================================================= VOICE CHAT
- disableVoN = 0; // If set to 1, voice chat will be disabled
- disableChannels[]={{0,TRUE,TRUE},{1,TRUE,TRUE},{2,FALSE,FALSE},{3,FALSE,FALSE},{4,FALSE,FALSE},{5,FALSE,FALSE}};
- vonCodecQuality = 10; // Supports range 1-30; 1-10 is 8kHz (narrowband), 11-20 is 16kHz (wideband), 21-30 is 32kHz (ultrawideband); higher = better sound quality, more bandwidth consumption
- vonCodec = 1; // Experimental Opus VON codec
- //======================================================= 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 = 9999; // 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 prevent random players being voted as admins.
- allowedVoteCmds[] = {}; // https://community.bistudio.com/wiki/Arma_3:_Mission_voting
- allowedVotedAdminCmds[] = {}; // https://community.bistudio.com/wiki/Arma_3:_Mission_voting
- //======================================================= STEAM PORTS
- steamPort = 2313; // default 8766, needs to be unique if multiple serves on same box
- steamQueryPort = 2314; // default 27016, needs to be unique if multiple servers on same box
- //======================================================= HEADLESS CLIENT https://community.bistudio.com/wiki/Arma_3_Headless_Client
- headlessClients[] = {"127.0.0.1"}; // Valid Headless Client IPs
- localClient[] = {"127.0.0.1"}; // Client IPs to assign unlimited bandwidth
- //======================================================= WELCOME MESSAGE ("message of the day")
- motd[] = {}; // Use "chatMessages.sqf" instead
- motdInterval = 20; // Number of seconds between each message
- //======================================================= MISSION WHITELIST
- class Missions {
- class apex_framework {
- template = "Apex_framework_DOJRP.Altis";
- difficulty = "Custom";
- };
- };
- missionWhitelist[] = {
- "Apex_framework_DOJRP.Altis"
- };
- forcedDifficulty = "Custom";
- //======================================================= LOGGING
- timeStampFormat = "full"; // Timestamp format used in the server RPT logs. Possible values are "none" (default), "short", "full"
- logFile = "server_console.log"; // Server console output filename
- //======================================================= SECURITY https://community.bistudio.com/wiki/Arma_3:_Server_Security
- BattlEye = 0; // 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)
- regularCheck = "";
- battleyeLicense = 1;
- allowedFilePatching = 2; // Prevent or allow file patching for the clients (including the HC) (since Arma 3 1.49+). 0 = no clients, 1 = headless client only, 2 = all clients.
- serverCommandPassword = "Ki23Bl2isS21Mnbds"; // Password required by server to execute commands
- allowedLoadFileExtensions[] = {"wav"}; // only allow files with those extensions to be loaded via loadFile command (since Arma 3 v1.19.124216)
- allowedPreprocessFileExtensions[] = {"sqf"}; // only allow files with those extensions to be loaded via preprocessFile/preprocessFileLineNumber commands (since Arma 3 v1.19.124323)
- allowedHTMLLoadExtensions[] = {}; // only allow files with those extensions to be loaded via HTMLLoad command (since Arma 3 v1.27.126715)
- allowedHTMLLoadURIs[] = {}; // Uncomment to define server-level restrictions for URIs
- //======================================================= EVENT SCRIPTS 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
- onDifferentData = "kick (_this select 0)"; // data with a valid signature, but different version than the one present on server detected
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement