SHA256
first commit
This commit is contained in:
commit
21788ba270
643 files changed
+45536
No files matched your search
@@ -0,0 +1,59 @@
|
||||
// ****************************************************************************
|
||||
// *
|
||||
// ArmA 3 Basic Network Config File - basic.cfg *
|
||||
// *
|
||||
// More info about parameters: *
|
||||
// https://community.bistudio.com/wiki/basic.cfg *
|
||||
// *
|
||||
// ****************************************************************************
|
||||
|
||||
// Defines network tuning parameters.
|
||||
//
|
||||
// This file is to be passed to the -cfg parameter on the command line for the server.
|
||||
// The following settings are the suggested settings.
|
||||
// Some settings are disabled (commented out) by default. Remove the // behind a setting to activate it.
|
||||
|
||||
// BANDWIDTH SETTINGS
|
||||
|
||||
// Bandwidth the server is guaranteed to have (in bps)
|
||||
// General guideline is NumberOfPlayers * 256kb
|
||||
// Default: 131072
|
||||
//MinBandwidth=5120000;
|
||||
// Bandwidth the server can never go above (in bps)
|
||||
// For a single server, use full network speed; decrease when running multiple servers
|
||||
//MaxBandwidth=10240000;
|
||||
|
||||
// PACKET SETTINGS
|
||||
|
||||
// Maximum number of packets per frame.
|
||||
// Increasing the value potentially decreases lag, but increases desync
|
||||
// Default: 128
|
||||
//MaxMsgSend=2048;
|
||||
// Maximum payload of guaranteed packet (in b)
|
||||
// Small messages are packed to larger packets
|
||||
// Guaranteed packets are used for non-repetitive events, like shooting
|
||||
// Lower value means more packets are sent, so less events will get combined
|
||||
// Default: 512
|
||||
MaxSizeGuaranteed=512;
|
||||
// Maximum payload of non-guaranteed packet (in b)
|
||||
// Increasing this value may improve bandwidth requirement, but may also increase lag
|
||||
// Largest factor in desync
|
||||
// Guidance is half of MaxSizeGuaranteed
|
||||
// Default: 256
|
||||
MaxSizeNonguaranteed=256;
|
||||
// Maximal size of a packet sent over the network
|
||||
// Only necessary if ISP forces lower packet size and there are connectivity issues
|
||||
// Default: 1400
|
||||
//class sockets{maxPacketSize=1400};
|
||||
|
||||
// SMOOTHNESS SETTINGS
|
||||
|
||||
// Minimal error required to send network updates for far units
|
||||
// Smaller values will make for smoother movement at long ranges, but will increase network traffic
|
||||
// Default: 0.003
|
||||
//MinErrorToSend=0.01;
|
||||
// Minimal error required to send network updates for near units
|
||||
// Using larger value can reduce traffic sent for near units
|
||||
// Also controls client to server traffic
|
||||
// Default: 0.01
|
||||
//MinErrorToSendNear=0.02;
|
||||
@@ -0,0 +1,166 @@
|
||||
// ****************************************************************************
|
||||
// *
|
||||
// ArmA 3 Server Config File - server.cfg *
|
||||
// *
|
||||
// More info about parameters: *
|
||||
// https://community.bistudio.com/wiki/server.cfg *
|
||||
// *
|
||||
// ****************************************************************************
|
||||
|
||||
// Some settings are not listed here; see link above for extensive list.
|
||||
// Some settings are disabled (commented out). Remove the // to enable them.
|
||||
|
||||
// === GLOBAL SETTINGS ===
|
||||
|
||||
// Hostname for server.
|
||||
hostname = "Arma 3 Server";
|
||||
|
||||
// Server password - for private servers.
|
||||
password = "";
|
||||
|
||||
// Admin Password
|
||||
//passwordAdmin = "ADMINPASSWORD";
|
||||
|
||||
// Whitelisted Admins - Clients that do not need a password to login.
|
||||
//admins[] = { "UID OR steamID64", "0123456789", "9876543210" };
|
||||
|
||||
// Server Command Password - for scripting and certain mods.
|
||||
//serverCommandPassword = "COMMANDPASSWORD";
|
||||
|
||||
// Log File
|
||||
logFile = "server_console.log";
|
||||
// RPT File Timestamp Format - none | short | full
|
||||
timeStampFormat = "short";
|
||||
|
||||
// Message of the Day (MOTD)
|
||||
motd[] = {
|
||||
"Welcome to My Arma 3 Server",
|
||||
"TS3 Server: teamspeak.somewhere.com",
|
||||
"Web: www.example.com"
|
||||
};
|
||||
// MOTD Interval - Seconds between each message.
|
||||
motdInterval = 5;
|
||||
|
||||
// Missions Cycle
|
||||
class Missions
|
||||
{
|
||||
class Mission1
|
||||
{
|
||||
template = MP_ZGM_m11.Altis;
|
||||
difficulty = "Regular";
|
||||
class Params {};
|
||||
};
|
||||
class Mission2
|
||||
{
|
||||
template = MP_ZGM_m12.Stratis;
|
||||
difficulty = "Recruit";
|
||||
class Params {};
|
||||
};
|
||||
};
|
||||
// Whitelisted Missions - Only these missions can be selected on the mission select screen.
|
||||
//missionWhitelist[] = { "MP_ZGM_m11.Altis", "MP_ZGM_m12.Stratis" };
|
||||
|
||||
|
||||
// === JOINING RULES ===
|
||||
|
||||
// Server Slots
|
||||
maxPlayers = 32;
|
||||
|
||||
// Enable BattlEye
|
||||
BattlEye = 1;
|
||||
|
||||
// Addon Signature Verification - Verifies .pbos against .bisign files - 0 = Disabled | 2 = Enabled (v2)
|
||||
verifySignatures = 2;
|
||||
|
||||
// Kick Duplicate Player IDs - 0 = No | 1 = Yes
|
||||
kickDuplicate = 1;
|
||||
// Allow File Patching - 0 = No Clients | 1 = Headless Clients only | 2 = All Clients
|
||||
allowedFilePatching = 0;
|
||||
// Minimum Required Client Version
|
||||
//requiredBuild = 999999999;
|
||||
// LAN Mode
|
||||
loopback = 0;
|
||||
// UPNP Router Mode
|
||||
upnp = 0;
|
||||
|
||||
// Headless Client IP Whitelists
|
||||
headlessClients[] = { "127.0.0.1" };
|
||||
localClient[] = { "127.0.0.1" };
|
||||
|
||||
|
||||
// === INGAME SETTINGS ===
|
||||
|
||||
// Advanced Flight Model Enforcement - 0 = Up to player | 1 = Advanced model enforced | 2 = Simple model enforced
|
||||
forceRotorLibSimulation = 0;
|
||||
|
||||
// Disable In-Game Voice Chat (Voice over Network)
|
||||
disableVoN = 0;
|
||||
// VoN Codec - 0 = older SPEEX codec | 1 = newer IETF standard OPUS codec
|
||||
vonCodec = 1;
|
||||
// VoN Codec Quality
|
||||
// 0-10 = 8kHz (narrowband).
|
||||
// 11-20 = 16kHz (wideband).
|
||||
// 21-30 = 32kHz (ultrawideband).
|
||||
vonCodecQuality = 10;
|
||||
|
||||
// Persistent Mission - Keeps mission running when all players disconnect.
|
||||
persistent = 0;
|
||||
|
||||
// Allow Drawing in Map
|
||||
drawingInMap = 1;
|
||||
|
||||
// Enforce Difficulty - Use "Custom" for ServerProfile-defined custom difficulty
|
||||
forcedDifficulty = "regular";
|
||||
|
||||
|
||||
// === VOTING ===
|
||||
|
||||
// Allowed Vote Commands - Un-comment this to prevent voted commands (like vote-kick)
|
||||
//allowedVoteCmds[] = {};
|
||||
|
||||
// Start mission-voting when X number of players connect.
|
||||
voteMissionPlayers = 1;
|
||||
|
||||
// Vote Threshold - Percentage of votes needed to confirm a vote.
|
||||
voteThreshold = 0.33;
|
||||
|
||||
|
||||
// === CLIENT NETWORK HEALTH ===
|
||||
|
||||
// Seconds to wait before disconnecting a user which temporarily lost connection.
|
||||
disconnectTimeout = 90;
|
||||
// Max Desync Value
|
||||
maxdesync = 150;
|
||||
// Max Ping (ms)
|
||||
maxping = 200;
|
||||
// Max Packet Loss
|
||||
maxpacketloss = 50;
|
||||
|
||||
// Action to Take on Slow Network (defined above)
|
||||
// Defines if {<MaxPing>, <MaxPacketLoss>, <MaxDesync>, <DisconnectTimeout>} will be logged (0) or kicked (1)
|
||||
kickClientsOnSlowNetwork[] = { 1, 1, 0, 1 };
|
||||
|
||||
// Kick Duration (temp-ban) on Network Kick
|
||||
// Options {<manual kick>, <connectivity kick>, <BattlEye kick>, <harmless kick>} -- Timeout {>0 seconds; -1 until missionEnd; -2 until serverRestart}
|
||||
kickTimeout[] = { {0, -1},{1, 1},{2, 5},{3, 1} };
|
||||
|
||||
|
||||
// === SERVER SIDE SCRIPTING ===
|
||||
// See https://community.bistudio.com/wiki/ArmA:_Server_Side_Scripting
|
||||
|
||||
onUserConnected = "";
|
||||
onUserDisconnected = "";
|
||||
doubleIdDetected = "";
|
||||
|
||||
onUnsignedData = "kick (_this select 0)";
|
||||
onHackedData = "kick (_this select 0)";
|
||||
onDifferentData = "";
|
||||
|
||||
// Only allow files with these extensions to be loaded via loadFile command
|
||||
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 these extensions to be loaded via preprocessFile/preprocessFileLineNumber commands
|
||||
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 with these extensions to be loaded via HTMLLoad command
|
||||
allowedHTMLLoadExtensions[] = {"htm","html","xml","txt"};
|
||||
// Leave commented to let missions/campaigns/addons decide what URIs are supported. Un-comment to define server-level restrictions for URIs
|
||||
//allowedHTMLLoadURIs = {};
|
||||
Reference in new issue
Block a user