Server Config: Difference between revisions

From Vintage Story Wiki
m
Preparing for page translation
(Sample update)
m (Preparing for page translation)
Line 9: Line 9:
<div class="mw-collapsible mw-collapsed">
<div class="mw-collapsible mw-collapsed">
'''Defaults'''
'''Defaults'''
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
Windows paths:
Windows paths:
<syntaxhighlight lang="json">
<syntaxhighlight lang="json">
"ModPaths": [
"ModPaths": [
Line 23: Line 25:


Full serverconfig.json (Linux paths):
Full serverconfig.json (Linux paths):
<syntaxhighlight lang="json">
<syntaxhighlight lang="json">
{
{
Line 392: Line 395:
<div class="mw-collapsible">
<div class="mw-collapsible">
'''Sample with explanations'''
'''Sample with explanations'''
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
<!--T:4-->
<!--T:4-->
Line 456: Line 460:
   //
   //
   "AnalyzeMode": false,
   "AnalyzeMode": false,
 
 
   // Whether to compress data when sending it to the client.  
   // Whether to compress data when sending it to the client.  
   "CompressPackets": true,
   "CompressPackets": true,
Line 508: Line 512:
   //
   //
   "RegenerateCorruptChunks": false,
   "RegenerateCorruptChunks": false,
 
 
   //
   //
   "ChatRateLimitMs": 1000,
   "ChatRateLimitMs": 1000,
Line 515: Line 519:
   // Has no use currently.
   // Has no use currently.
   "GroupChatHistorySize": 20,
   "GroupChatHistorySize": 20,
 
 
   // Run a command when server starts. For example, players without access to the server console can op themselves. Can run multiple commands by separating them with linebreaks.
   // Run a command when server starts. For example, players without access to the server console can op themselves. Can run multiple commands by separating them with linebreaks.
   "StartupCommands": "/time \n /info seed",
   "StartupCommands": "/time \n /info seed",
Confirmedusers
1,783

edits