Add basic config files
Rename config according to official docs
This commit is contained in:
		
							parent
							
								
									dc3d03316d
								
							
						
					
					
						commit
						5e5b17948e
					
				
							
								
								
									
										83
									
								
								arma/arma3/egg-arma3-config/basic.cfg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										83
									
								
								arma/arma3/egg-arma3-config/basic.cfg
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,83 @@ | |||||||
|  | // **************************************************************************** | ||||||
|  | //                                                                            * | ||||||
|  | //     Arma 3 - basic.cfg                                                   * | ||||||
|  | //     Version 060116                                                         * | ||||||
|  | //                                                                            * | ||||||
|  | // **************************************************************************** | ||||||
|  | 
 | ||||||
|  | // Defines network tuning parameters | ||||||
|  | // | ||||||
|  | // This file is to be passed to the -cfg parameter on the command line for the server | ||||||
|  | // See http://community.bistudio.com/wiki/basic.cfg | ||||||
|  | // The following settings are the suggested settings | ||||||
|  | 
 | ||||||
|  | // 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; | ||||||
|  | 
 | ||||||
|  | // GEOLOCATION SETTINGS | ||||||
|  | 
 | ||||||
|  | // Server latitude | ||||||
|  | serverLatitude=52; | ||||||
|  | serverLatitudeAuto=52; | ||||||
|  | 
 | ||||||
|  | // Server Longitude | ||||||
|  | serverLongitude=0; | ||||||
|  | serverLongitudeAuto=0; | ||||||
|  | // MISC | ||||||
|  | // View Distance (not sure if this actually works) | ||||||
|  | viewDistance=10000; | ||||||
|  | 
 | ||||||
|  | // Maximum size (in b) for custom face or sound files | ||||||
|  | // Default: 0 | ||||||
|  | MaxCustomFileSize=65536; | ||||||
|  | // Server language | ||||||
|  | language="English"; | ||||||
|  | steamLanguage="English"; | ||||||
|  | // Adapter | ||||||
|  | adapter=-1; | ||||||
|  | // Windowed mode | ||||||
|  | Windowed=0; | ||||||
|  | 
 | ||||||
|  | 3D_Performance=1.000000; | ||||||
							
								
								
									
										130
									
								
								arma/arma3/egg-arma3-config/server.cfg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										130
									
								
								arma/arma3/egg-arma3-config/server.cfg
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,130 @@ | |||||||
|  | // **************************************************************************** | ||||||
|  | //                                                                            * | ||||||
|  | //     Arma 3 - server.cfg                                                    * | ||||||
|  | //     Version 060117                                                         * | ||||||
|  | //                                                                            * | ||||||
|  | // **************************************************************************** | ||||||
|  | 
 | ||||||
|  | // ArmA 3 Server Config File | ||||||
|  | // | ||||||
|  | // More info about parameters: | ||||||
|  | // https://community.bistudio.com/wiki/server.cfg | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | // GENERAL SETTINGS | ||||||
|  | 
 | ||||||
|  | // Hostname for server. | ||||||
|  | hostname = "Arma 3 Server" | ||||||
|  | 
 | ||||||
|  | // Server password - for private servers. | ||||||
|  | //password = "arma3pass"; | ||||||
|  | 
 | ||||||
|  | // Admin Password | ||||||
|  | //passwordAdmin = "ADMINPASSWORD"; | ||||||
|  | 
 | ||||||
|  | // Auto-admin | ||||||
|  | admins[] = {"<UID>"}; | ||||||
|  | 
 | ||||||
|  | // Server Slots | ||||||
|  | maxPlayers = 32; | ||||||
|  | 
 | ||||||
|  | // Logfile | ||||||
|  | logFile = "arma3server.log"; | ||||||
|  | 
 | ||||||
|  | // Minimum Required Client Build | ||||||
|  | //requiredBuild = 95691 | ||||||
|  | 
 | ||||||
|  | // Message of the Day (MOTD) | ||||||
|  | motd[] = { | ||||||
|  |     "Welcome to My Arma 3 Server", | ||||||
|  |     "TS3 Server:     teamspeak.somewhere.com", | ||||||
|  |     "Web:            www.example.com" | ||||||
|  | }; | ||||||
|  | 
 | ||||||
|  | // MOTD Interval (Seconds) | ||||||
|  | motdInterval = 30; | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | // VOTING | ||||||
|  | 
 | ||||||
|  | // Server Mission Start | ||||||
|  | //  minimum number of clients before server starts mission | ||||||
|  | voteMissionPlayers = 1; | ||||||
|  | 
 | ||||||
|  | // Accepted Vote Threshold | ||||||
|  | //  0.33 = 33% clients. | ||||||
|  | voteThreshold = 0.33; | ||||||
|  | 
 | ||||||
|  | // INGAME SETTINGS | ||||||
|  | 
 | ||||||
|  | // Disable Voice over Net (VoN) | ||||||
|  | //  0 = voice enabled. | ||||||
|  | //  1 = voice disabled. | ||||||
|  | disableVoN = 0; | ||||||
|  | 
 | ||||||
|  | // VoN Codec Quality | ||||||
|  | //  0-10 = 8kHz (narrowband). | ||||||
|  | //  11-20 = 16kHz (wideband). | ||||||
|  | //  21-30 = 32kHz (ultrawideband). | ||||||
|  | vonCodecQuality = 3; | ||||||
|  | 
 | ||||||
|  | // Persistent Battlefield | ||||||
|  | //  0 = disable. | ||||||
|  | //  1 = enable. | ||||||
|  | persistent = 1; | ||||||
|  | 
 | ||||||
|  | // Time Stamp Format | ||||||
|  | //  none, short, full | ||||||
|  | timeStampFormat = "short"; | ||||||
|  | 
 | ||||||
|  | // Server Statistics | ||||||
|  | //  Set this to 0 to opt-out! More info: https://community.bistudio.com/wiki/Arma_3_Analytics | ||||||
|  | statisticsEnabled = 1; | ||||||
|  | 
 | ||||||
|  | // SERVER SECURITY/ANTI HACK | ||||||
|  | 
 | ||||||
|  | // Verify Signitures for Client Addons | ||||||
|  | //  0 = off. | ||||||
|  | //  1 = weak protection (depricated). | ||||||
|  | //  2 = full protection. | ||||||
|  | verifySignatures = 2; | ||||||
|  | 
 | ||||||
|  | // Secure Player ID | ||||||
|  | //  1 = Server warning message. | ||||||
|  | //  2 = Kick client. | ||||||
|  | requiredSecureId = 2; | ||||||
|  | 
 | ||||||
|  | // Kick Duplicate Player IDs | ||||||
|  | kickDuplicate = 1; | ||||||
|  | 
 | ||||||
|  | // BattlEye Anti-Cheat | ||||||
|  | //  0 = disable | ||||||
|  | //  1 = enable | ||||||
|  | BattlEye = 1; | ||||||
|  | 
 | ||||||
|  | // Allowed File Extentions | ||||||
|  | allowedLoadFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"}; | ||||||
|  | allowedPreprocessFileExtensions[] = {"hpp","sqs","sqf","fsm","cpp","paa","txt","xml","inc","ext","sqm","ods","fxy","lip","csv","kb","bik","bikb","html","htm","biedi"}; | ||||||
|  | allowedHTMLLoadExtensions[] = {"htm","html","xml","txt"}; | ||||||
|  | 
 | ||||||
|  | // SCRIPTING ISSUES | ||||||
|  | onUserConnected = ""; | ||||||
|  | onUserDisconnected = ""; | ||||||
|  | doubleIdDetected = ""; | ||||||
|  | 
 | ||||||
|  | // SIGNATURE VERIFICATION | ||||||
|  | // kick = kick (_this select 0) | ||||||
|  | // ban = ban (_this select 0) | ||||||
|  | onUnsignedData = "kick (_this select 0)"; | ||||||
|  | onHackedData = "kick (_this select 0)"; | ||||||
|  | onDifferentData = ""; | ||||||
|  | 
 | ||||||
|  | // HEADLESS CLIENT SUPPORT | ||||||
|  | // specify ip-adresses of allowed headless clients | ||||||
|  | headlessClients[] = {"127.0.0.1", "172.18.0.1"}; | ||||||
|  | localClient[] = {"127.0.0.1", "172.18.0.1"}; | ||||||
|  | 
 | ||||||
|  | // BattlEye Anti-Cheat License | ||||||
|  | //  0 = decline | ||||||
|  | //  1 = accept | ||||||
|  | battleyeLicense = 1; | ||||||
| @ -8,7 +8,7 @@ | |||||||
|     "author": "daave@aaathats3as.com", |     "author": "daave@aaathats3as.com", | ||||||
|     "description": "Experience true combat gameplay in a massive military sandbox. Deploying a wide variety of single- and multiplayer content, over 20 vehicles and 40 weapons, and limitless opportunities for content creation, this is the PC's premier military game. Authentic, diverse, open - Arma 3 sends you to war.", |     "description": "Experience true combat gameplay in a massive military sandbox. Deploying a wide variety of single- and multiplayer content, over 20 vehicles and 40 weapons, and limitless opportunities for content creation, this is the PC's premier military game. Authentic, diverse, open - Arma 3 sends you to war.", | ||||||
|     "image": "quay.io\/parkervcp\/pterodactyl-images:game_arma3", |     "image": "quay.io\/parkervcp\/pterodactyl-images:game_arma3", | ||||||
|     "startup": ".\/arma3server -ip=0.0.0.0 -port={{SERVER_PORT}} -cfg={{CFG}} -config={{CONFIG}} {{CUSTOM}} -mod=\"{{MODS}}\" -serverMod=\"{{SERVERMODS}}\"", |     "startup": ".\/arma3server -ip=0.0.0.0 -port={{SERVER_PORT}} -cfg={{BASIC}} -config={{CONFIG}} {{CUSTOM}} -mod=\"{{MODS}}\" -serverMod=\"{{SERVERMODS}}\"", | ||||||
|     "config": { |     "config": { | ||||||
|         "files": "{}", |         "files": "{}", | ||||||
|         "startup": "{\r\n    \"done\": \"Connected to Steam servers\",\r\n    \"userInteraction\": []\r\n}", |         "startup": "{\r\n    \"done\": \"Connected to Steam servers\",\r\n    \"userInteraction\": []\r\n}", | ||||||
| @ -33,19 +33,19 @@ | |||||||
|             "rules": "required|alpha_dash|between:1,100" |             "rules": "required|alpha_dash|between:1,100" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             "name": "Config CFG", |             "name": "Basic", | ||||||
|             "description": "Config CFG", |             "description": "Basic network config", | ||||||
|             "env_variable": "CFG", |             "env_variable": "BASIC", | ||||||
|             "default_value": "cfg.cfg", |             "default_value": "basic.cfg", | ||||||
|             "user_viewable": 1, |             "user_viewable": 1, | ||||||
|             "user_editable": 1, |             "user_editable": 1, | ||||||
|             "rules": "string|nullable" |             "rules": "string|nullable" | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|             "name": "Config", |             "name": "Config", | ||||||
|             "description": "Config", |             "description": "Server config", | ||||||
|             "env_variable": "CONFIG", |             "env_variable": "CONFIG", | ||||||
|             "default_value": "config.cfg", |             "default_value": "server.cfg", | ||||||
|             "user_viewable": 1, |             "user_viewable": 1, | ||||||
|             "user_editable": 1, |             "user_editable": 1, | ||||||
|             "rules": "string|nullable" |             "rules": "string|nullable" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user