Server Config: Difference between revisions

From Vintage Story Wiki
m
is this page even up to date? no GameVersion, marking as Outdated even though ConfigVersion didn't change so it should be mostly fine?
No edit summary
m (is this page even up to date? no GameVersion, marking as Outdated even though ConfigVersion didn't change so it should be mostly fine?)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/><translate>
<languages/>
<!--T:1-->
 
{{Outdated|Page unmarked with GameVersion template — even though ConfigVersion hasn't changed, please verify if information is up to date and mark it properly}}
__TOC__
__TOC__
<translate>


== serverconfig.json == <!--T:3-->
== serverconfig.json == <!--T:3-->
You can learn more about some values on [[List of server commands]] and [[Setting up a Multiplayer Server]] pages.
 
<!--T:120-->
You can learn more about some values on {{ll|List of server commands|List of server commands}} and {{ll|Setting up a Multiplayer Server|Setting up a Multiplayer Server}} pages.


<!--T:95-->
<!--T:95-->
Line 592: Line 596:
     // There used to be a "Allow cheats" toggle in the create world screen that forbids the use of /gamemode creative even if you are an admin. The config for it is still there.
     // There used to be a "Allow cheats" toggle in the create world screen that forbids the use of /gamemode creative even if you are an admin. The config for it is still there.
     "AllowCreativeMode": false,
     "AllowCreativeMode": false,
     // Defines preset of parameters for new world. Possible values: "creativebuilding","surviveandbuild", "exploration" and "wildernesssurvival" (theoretically - any string value).
     // Defines preset of parameters for new world. Possible values: "creativebuilding","surviveandbuild", "exploration", "homosapiens" and "wildernesssurvival" (theoretically - any string value).
     "PlayStyle": "surviveandbuild",
     "PlayStyle": "surviveandbuild",
     // A reference to an entry in the en.json. Basically, id for human-readable names for PlayStyle.  
     // A reference to an entry in the en.json. Basically, id for human-readable names for PlayStyle.  
     // Possible values: "preset-surviveandbuild", "preset-exploration", "preset-wildernesssurvival" and "creativebuilding".
     // Possible values: "preset-surviveandbuild", "preset-exploration", "preset-wildernesssurvival", "preset-homosapiens" and "creativebuilding".
     "PlayStyleLangCode": "surviveandbuild",
     "PlayStyleLangCode": "surviveandbuild",
     // World generation type. Possible values: "standard", "superflat".
     // World generation type. Possible values: "standard", "superflat".
Line 632: Line 636:
<!--T:74-->
<!--T:74-->
{
{
   #The range an entity has to be in order for clients to receive regular updates for it. May be overriden by entities. The value is the max chunk distance. (e.g. 2 => update all entities not further away than 2 chunks in x/y any dir from a player)
   #The range an entity has to be in order for clients to receive regular updates for it. May be overriden by entities. The value is the max chunk distance. (e.g. 2 => update all entities not further away than 2 chunks in x/z any dir from a player)
   #This value is capped by each players max chunk range.
   #This value is capped by each players max chunk range.
   "DefaultEntityTrackingRange": 4,
   "DefaultEntityTrackingRange": 4,
Line 713: Line 717:
   <!--T:93-->
   <!--T:93-->
#How often the chunk generator should run in ms (thread sleep time)
#How often the chunk generator should run in ms (thread sleep time)
   "ChunkThreadTickTime": 10
   "ChunkThreadTickTime": 10,
 
  #The maximum number of blocks a player can walk per 200ms to ensure they are not hacking
  "AntiAbuseMaxWalkBlocksPer200ms": 3,
 
#A counter that provides more/less leniency for suspicion of fly hacking
  "AntiAbuseMaxFlySuspicions": 3,
 
#A counter that provides more/less leniency for suspicious teleportations
  "AntiAbuseMaxTeleSuspicions": 8,
 
#The CPU threads dedicated to physics calculations on the server
  "MaxPhysicsThreads": 1,
#The CPU threads dedicated to world gen on the server, numbers in the range 1-6
  "MaxWorldgenThreads": 1,
 
#The maximum number of entities than can be spawned per game tick. (Removing this can result in severe lag)
  "MaxEntitySpawnsPerTick": 8
 
}
}


Line 720: Line 742:


</translate>
</translate>
{{Game navbox}}
Confirmedusers
463

edits