Server.cfg ไฟล์ตั้งค่าเซิร์ฟเวอร์ The Forest
Server.cfg ไฟล์ตั้งค่าเซิร์ฟเวอร์ The Forest
Server.cfg ไฟล์ตั้งค่าเซิร์ฟเวอร์ The Forest
Server.cfg คืออะไร?
Server.cfg เป็นไฟล์ตั้งค่าเซิร์ฟเวอร์ ซึ่งจะถูกสร้างขึ้นมาพร้อมกับค่าเริ่มต้น เมื่อเซิร์ฟเวอร์ทำงานขึ้นมาเป็นครั้งแรก หรือเมื่อไม่มีไฟล์นี้ขณะที่ทำงานอยู่
Server.cfg อยู่ที่ไหน?
| Server.cfg |
ตัวอย่างไฟล์ Server.cfg
// Dedicated Server Settings.
// Server IP address - Note: If you have a router, this address is the internal address, and you need to configure ports forwarding
serverIP 192.168.1.47
// Steam Communication Port - Note: If you have a router you will need to open this port.
serverSteamPort 8766
// Game Communication Port - Note: If you have a router you will need to open this port.
serverGamePort 27015
// Query Communication Port - Note: If you have a router you will need to open this port.
serverQueryPort 27016
// Server display name
serverName The Forest Game
// Maximum number of players
serverPlayers 4
// Enable VAC (Valve Anti-cheat System at the server. Must be set off or on
enableVAC off
// Server password. blank means no password
serverPassword
// Server administration password. blank means no password
serverPasswordAdmin
// Your Steam account name. blank means anonymous
serverSteamAccount
// Time between server auto saves in minutes - The minumum time is 15 minutes, the default time is 30
serverAutoSaveInterval 30
// Game difficulty mode. Must be set to Peaceful Normal or Hard
difficulty Normal
// New or continue a game. Must be set to New or Continue
initType Continue
// Slot to save the game. Must be set 1 2 3 4 or 5
slot 1
// Show event log. Must be set off or on
showLogs off
// Contact email for server admin
serverContact email@gmail.com
// No enemies
veganMode off
// No enemies during day time
vegetarianMode off
// Reset all structure holes when loading a save
resetHolesMode off
// Regrow 10% of cut down trees when sleeping
treeRegrowMode off
// Allow building destruction
allowBuildingDestruction on
// Allow enemies in creative games
allowEnemiesCreativeMode off
// Allow clients to use the built in debug console
allowCheats off
// Use full weapon damage values when attacking other players
realisticPlayerDamage off
// Allows defining a custom folder for save slots, leave empty to use the default location
saveFolderPath
// Target FPS when no client is connected
targetFpsIdle 5
// Target FPS when there is at least one client connected
targetFpsActive 60