Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // 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's +1 +2 to gameport)
- // steamPort = 8766; // default 8766, needs to be unique if multiple servers are on the same box
- // steamQueryPort = 27016; // default 27016, needs to be unique if multiple servers are on the same box
- // GENERAL SETTINGS
- hostname = "omited"; // Name of the server displayed in the public server list
- password = "omitted"; // Password required to join the server (remove // at start of line to enable)
- passwordAdmin = "omited"; // Password to login as admin. Open the chat and type: #login password
- maxPlayers = 40; // 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
- // VOICE CHAT
- disableVoN = 1; // 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[] =
- {
- omited
- };
- motdInterval = 5; // Number of seconds between each message
- // MISSIONS CYCLE
- class Missions
- {
- class Mission1
- {
- template = "antistasi_plus_tanoa.Tanoa"; // Filename of pbo in MPMissions folder
- difficulty = "Custom"; // "Recruit", "Regular", "Veteran", "Custom"
- };
- };
- // Dificulty
- class DifficultyPresets
- {
- class CustomDifficulty
- {
- class Options
- {
- /* Simulation */
- reducedDamage = 0; // Reduced damage
- /* Situational awareness */
- groupIndicators = 0; // Group indicators (0 = never, 1 = limited distance, 2 = always)
- friendlyTags = 0; // Friendly name tags (0 = never, 1 = limited distance, 2 = always)
- enemyTags = 0; // Enemy name tags (0 = never, 1 = limited distance, 2 = always)
- detectedMines = 0; // Detected mines (0 = never, 1 = limited distance, 2 = always)
- commands = 1; // Commands (0 = never, 1 = fade out, 2 = always)
- waypoints = 1; // Waypoints (0 = never, 1 = fade out, 2 = always)
- tacticalPing = 0; // Tactical ping (0 = disable, 1 = enable)
- /* Personal awareness */
- weaponInfo = 2; // Weapon info (0 = never, 1 = fade out, 2 = always)
- stanceIndicator = 2; // Stance indicator (0 = never, 1 = fade out, 2 = always)
- staminaBar = 1; // Stamina bar
- weaponCrosshair = 0; // Weapon crosshair
- visionAid = 0; // Vision aid
- /* View */
- thirdPersonView = 0; // 3rd person view
- /* Multiplayer */
- scoreTable = 1; // Score table
- deathMessages = 1; // Killed by
- vonID = 1; // VoN ID
- /* Misc */
- mapContent = 0; // Extended map content
- autoReport = 0; // (former autoSpot) Automatic reporting of spotted enemied by players only. This doesn't have any effect on AIs.
- multipleSaves = 0; // Multiple saves
- };
- // aiLevelPreset defines AI skill level and is counted from 0 and can have following values: 0 (Low), 1 (Normal), 2 (High), 3 (Custom).
- // when 3 (Custom) is chosen, values of skill and precision are taken from the class CustomAILevel.
- aiLevelPreset = 3;
- };
- class CustomAILevel
- {
- skillAI = 0.3;
- precisionAI = 0.1;
- };
- };
- // 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 = 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)
- 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.19.124216)
- 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.19.124323)
- 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.27.126715)
- 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", "127.0.0.2", "127.0.0.3", "127.0.0.4"}; // list of IP addresses allowed to connect using headless clients; example: {"127.0.0.1", "192.168.1.100"};
- localClient[] = {"127.0.0.1", "127.0.0.2", "127.0.0.3", "127.0.0.4"}; // list of IP addresses to which are granted unlimited bandwidth; example: {"127.0.0.1", "192.168.1.100"};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement