serverDZ.cfg 6.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. hostname = "DayZ Server Powered By DcrClub"; // Server name
  2. password = ""; // Password to connect to the server
  3. passwordAdmin = ""; // Password to become a server admin
  4. BattlEye = 1;
  5. enableCfgGameplayFile = 1; //使用json配置文件的配置
  6. enableWhitelist = 0; // Enable/disable whitelist (value 0-1)
  7. maxPlayers = 10; // Maximum amount of players
  8. verifySignatures = 0; // Verifies .pbos against .bisign files. (only 2 is supported)
  9. forceSameBuild = 1; // When enabled, the server will allow the connection only to clients with same the .exe revision as the server (value 0-1)
  10. disableVoN = 0; // Enable/disable voice over network (value 0-1)
  11. vonCodecQuality = 20; // Voice over network codec quality, the higher the better (values 0-30)
  12. disable3rdPerson=0; // Toggles the 3rd person view for players (value 0-1)
  13. disableCrosshair=0; // Toggles the cross-hair (value 0-1)
  14. disablePersonalLight = 1; // Disables personal light for all clients connected to server
  15. lightingConfig = 0; // 0 for brighter night setup, 1 for darker night setup
  16. serverTime="2022/3/15/08/00"; // Initial in-game time of the server. "SystemTime" means the local time of the machine. Another possibility is to set the time to some value in "YYYY/MM/DD/HH/MM" format, f.e. "2015/4/8/17/23" .
  17. serverTimeAcceleration=1; // Accelerated Time (value 0-24)// This is a time multiplier for in-game time. In this case, the time would move 24 times faster than normal, so an entire day would pass in one hour.
  18. serverNightTimeAcceleration=1; // Accelerated Nigh Time - The numerical value being a multiplier (0.1-64) and also multiplied by serverTimeAcceleration value. Thus, in case it is set to 4 and serverTimeAcceleration is set to 2, night time would move 8 times faster than normal. An entire night would pass in 3 hours.
  19. serverTimePersistent=1; // Persistent Time (value 0-1)// The actual server time is saved to storage, so when active, the next server start will use the saved time value.
  20. guaranteedUpdates=1; // Communication protocol used with game server (use only number 1)
  21. loginQueueConcurrentPlayers=2; // The number of players concurrently processed during the login process. Should prevent massive performance drop during connection when a lot of people are connecting at the same time.
  22. loginQueueMaxPlayers=10; // The maximum number of players that can wait in login queue
  23. instanceId = 3; // DayZ server instance id, to identify the number of instances per box and their storage folders with persistence files
  24. lootHistory = 1; // How many persistence history files should be kept by instance, number is looped over during save
  25. storeHouseStateDisabled = false; // Disable houses/doors persistence (value true/false), usable in case of problems with persistence
  26. storageAutoFix = 1; // Checks if the persistence files are corrupted and replaces corrupted ones with empty ones (value 0-1)
  27. respawnTime = 3; // Sets the respawn delay (in seconds) before the player is able to get a new character on the server, when the previous one is dead
  28. maxPing= 200; // Max ping value until server kick the user (value in milliseconds)
  29. timeStampFormat = "Short"; // Format for timestamps in the .rpt file (value Full/Short)
  30. logAverageFps = 0; // Logs the average server FPS (value in seconds), needs to have ''-doLogs'' launch parameter active
  31. logMemory = 0; // Logs the server memory usage (value in seconds), needs to have the ''-doLogs'' launch parameter active
  32. logPlayers = 0; // Logs the count of currently connected players (value in seconds), needs to have the ''-doLogs'' launch parameter active
  33. logFile = "ServerLogs\server_console.log"; // Saves the server console log to a file in the folder with the other server logs
  34. adminLogPlayerHitsOnly = 1; // 1 - log player hits only / 0 - log all hits ( animals/infected )
  35. adminLogPlacement = 1; // 1 - log placement action ( traps, tents )
  36. adminLogBuildActions = 1; // 1 - log basebuilding actions ( build, dismantle, destroy )
  37. adminLogPlayerList = 1; // 1 - log periodic player list with position every 5 minutes
  38. enableDebugMonitor = 0; // shows info about the character using a debug window in a corner of the screen (value 0-1)
  39. steamQueryPort = 2305; // defines Steam query port, should fix the issue with server not being visible in client server browser
  40. allowFilePatching = 0; // if set to 1 it will enable connection of clients with "-filePatching" launch parameter enabled
  41. simulatedPlayersBatch = 10; // 20, Set limit of how much players can be simulated per frame (for server performance gain)
  42. multithreadedReplication = 1; // enables multi-threaded processing of server's replication system
  43. // number of worker threads is derived by settings of jobsystem in dayzSettings.xml by "maxcores" and "reservedcores" parameters (value 0-1)
  44. speedhackDetection = 3; // enable speedhack detection, values 1-10 (1 strict, 10 benevolent, can be float)
  45. networkRangeClose = 20; // network bubble distance for spawn of close objects with items in them (f.i. backpacks), set in meters, default value if not set is 20
  46. networkRangeNear = 150; // network bubble distance for spawn (despawn +10%) of near inventory items objects, set in meters, default value if not set is 150
  47. networkRangeFar = 500; // network bubble distance for spawn (despawn +10%) of far objects (other than inventory items), set in meters, default value if not set is 1000
  48. networkRangeDistantEffect = 2500; // network bubble distance for spawn of effects (currently only sound effects), set in meters, default value if not set is 4000
  49. defaultVisibility=1375; // highest terrain render distance on server (if higher than "viewDistance=" in DayZ client profile, clientside parameter applies)
  50. defaultObjectViewDistance=1375; // highest object render distance on server (if higher than "preferredObjectViewDistance=" in DayZ client profile, clientside parameter applies)
  51. disableBaseDamage = 0; // set to 1 to disable damage/destruction of fence and watchtower
  52. disableContainerDamage = 0; // set to 1 to disable damage/destruction of tents, barrels, wooden crate and seachest
  53. disableRespawnDialog = 1; // set to 1 to disable the respawn dialog (new characters will be spawning as random)
  54. class Missions
  55. {
  56. class DayZ
  57. {
  58. template="dayzOffline.chernarusplus"; // Mission to load on server startup. <MissionName>.<TerrainName>
  59. // Vanilla mission: dayzOffline.chernarusplus
  60. // DLC mission: dayzOffline.enoch
  61. };
  62. };