Server Config: Difference between revisions

From Vintage Story Wiki
https://discordapp.com/channels/302152934249070593/406473219239968768/688092626276188209
mNo edit summary
(https://discordapp.com/channels/302152934249070593/406473219239968768/688092626276188209)
Line 16: Line 16:
   "MasterserverUrl": "http://masterserver.vintagestory.at/api/v1/servers/",
   "MasterserverUrl": "http://masterserver.vintagestory.at/api/v1/servers/",


   #  
   # Makes clients time out after that amount of seconds have passed
   "ClientConnectionTimeout": 600,
   "ClientConnectionTimeout": 600,


   #  
   # Seems to have no use
   "ClientPlayingTimeout": 60,
   "ClientPlayingTimeout": 60,


   #  
   # Has no use
   "BuildLogging": false,
   "BuildLogging": false,


Line 40: Line 40:
   "ServerLanguage": "en",
   "ServerLanguage": "en",


   #  
   # This tells the world generator to skip stripes of chunks. Useful for testing ore deposit generation.
  # i.e. if you set SkipEveryChunkRow to 3 and SkipEveryChunkRowWidth to 2, then every 3rd chunk strip there'll be 2 chunk strips missing
   "SkipEveryChunkRow": 0,
   "SkipEveryChunkRow": 0,
  #
   "SkipEveryChunkRowWidth": 0,
   "SkipEveryChunkRowWidth": 0,


Line 52: Line 51:
   ],
   ],


   # can be used for set up parameters of new world
   # Can be used for set up parameters of new world
   "WorldConfig": {
   "WorldConfig": {
      
      
Line 58: Line 57:
     "Seed": "1234567890",
     "Seed": "1234567890",


     # point to world file which should be loaded on server start (or created if not exists)
     # Point to world file which should be loaded on server start (or created if not exists)
     "SaveFileLocation": "/absolute/path/to/Save/wold_file.vcdbs",
     "SaveFileLocation": "/absolute/path/to/Save/wold_file.vcdbs",


     # defines a world name for new world
     # Defines a world name for new world
     "WorldName": "Sample World Name",
     "WorldName": "Sample World Name",


     #  
     # 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: "surviveandbuild", ... [need to be filled]
     # Defines preset of parameters for new world. Possible values: "creativebuilding","surviveandbuild", "exploration" and "wildernesssurvival" (theoretically - any string value)
     "PlayStyle": "surviveandbuild",
     "PlayStyle": "surviveandbuild",


     # defines preset of parameters for new world. Possible values: "surviveandbuild-bands", ... [need to be filled]
     # 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"
     "PlayStyleLangCode": "surviveandbuild",
     "PlayStyleLangCode": "surviveandbuild",


     # Possible values: "standard", ... [need to be filled]
     # World generation type. Possible values: "standard", "superflat"
     "WorldType": "standard",
     "WorldType": "standard",


     #  
     # Settings of new world. Basically can use the same properties as with /worldconfig
     "WorldConfiguration": null,
     "WorldConfiguration": {
      "worldClimate": "realistic",
      "gameMode": "survival",
      "temporalStability": true,
      "temporalStorms": "sometimes",
      "graceTimer": "0"
    },


     # Height of the world
     # Height of the world
Line 101: Line 106:
   "ServerName": "Name of your Vintage Story Server",
   "ServerName": "Name of your Vintage Story Server",


   #  
   # Has no use yet. It's supposed to be used for another piece of information in the public server detail page
   "ServerUrl": "https://www.vintagestory.at/",
   "ServerUrl": "https://www.vintagestory.at/",


Line 110: Line 115:
   "WelcomeMessage": "Welcome, {0}. Don't forget to follow our rules.",
   "WelcomeMessage": "Welcome, {0}. Don't forget to follow our rules.",


   #  
   # What interface server should listen. If you don't specify one, it'll listen on all interfaces
   "Ip": null,
   "Ip": null,


Line 116: Line 121:
   "Port": 42420,
   "Port": 42420,


   #  
   # If server should try to use upnp for port forwarding
   "Upnp": false,
   "Upnp": false,


Line 197: Line 202:
       "LandClaimMaxAreas": 3,
       "LandClaimMaxAreas": 3,


       #  
       # "Super admin" parameter. If true, any privilege that has been registered by the game engine or any mod is automatically granted to this role
       "AutoGrant": false
       "AutoGrant": false
     },
     },
Line 212: Line 217:
   "OnlyWhitelisted": false,
   "OnlyWhitelisted": false,


   #  
   # If true, every time a player joins the server verifies if that player is a valid, logged in, registered buyer of the game.
   "VerifyPlayerAuth": true,
   "VerifyPlayerAuth": true,


Line 231: Line 236:
   "AllowFireSpread": true,
   "AllowFireSpread": true,


   #  
   # Completely disables any falling block behavior
   "AllowFallingBlocks": true,
   "AllowFallingBlocks": true,


   #  
   # Run a command when server starts. For example, players without access to the server console can op themselves. [probably can run multiple commands by separating them with linebreaks(\n), need to test]
   "StartupCommands": null
   "StartupCommands": "/op Tyron"
    
    
   #  
   #  
8

edits