diff --git a/roles/tes3mp/templates/config.lua b/roles/tes3mp/templates/config.lua index 7693341..112afb7 100644 --- a/roles/tes3mp/templates/config.lua +++ b/roles/tes3mp/templates/config.lua @@ -13,7 +13,7 @@ config.difficulty = 0 -- The world time used for a newly created world config.defaultTimeTable = { year = 427, month = 7, day = 16, hour = 9, - daysPassed = 1, timeScale = 30 } + daysPassed = 1, dayTimeScale = 30, nightTimeScale = 40 } -- The chat window instructions that show up when players join the server config.chatWindowInstructions = "Use " .. color.Yellow .. "Y" .. color.White .. " by default to chat or change it" .. @@ -23,6 +23,11 @@ config.chatWindowInstructions = "Use " .. color.Yellow .. "Y" .. color.White .. -- Whether the world time should continue passing when there are no players on the server config.passTimeWhenEmpty = false +-- The hours at which night is regarded as starting and ending, used to pass time differently +-- when it's night +config.nightStartHour = 20 +config.nightEndHour = 6 + -- Whether players should be allowed to use the ingame tilde (~) console by default config.allowConsole = false @@ -57,7 +62,7 @@ config.shareBounty = false config.shareReputation = false -- Whether map exploration should be shared across players on the server or not -config.shareMapExploration = true +config.shareMapExploration = false -- Whether ingame videos should be played for other players when triggered by one player config.shareVideos = true @@ -117,12 +122,12 @@ config.deathTime = 5 config.deathPenaltyJailDays = 5 -- Whether players' bounties are reset to 0 after dying -config.bountyResetOnDeath = false +config.bountyResetOnDeath = true -- Whether players spend time in jail proportional to their bounty after dying -- Note: If deathPenaltyJailDays is also enabled, that penalty will be added to -- this one -config.bountyDeathPenalty = false +config.bountyDeathPenalty = true -- Whether players should be allowed to use the /suicide command config.allowSuicideCommand = true @@ -274,12 +279,12 @@ config.cellPacketTypes = { "delete", "place", "spawn", "lock", "trap", "scale", "container", "equipment", "ai", "death", "actorList", "position", "statsDynamic", "cellChangeTo", "cellChangeFrom" } --- Whether the server should enforce that all clients connect with a specific list of plugins +-- Whether the server should enforce that all clients connect with a specific list of data files -- defined in data/requiredDataFiles.json -- Warning: Only set this to false if you trust the people connecting and are sure they know -- what they're doing. Otherwise, you risk getting corrupt server data from -- their usage of unshared plugins. -config.enforcePlugins = true +config.enforceDataFiles = true -- Whether the server should avoid crashing when Lua script errors occur -- Warning: Only set this to true if you want to have a highly experimental server where @@ -293,7 +298,7 @@ config.databaseType = "json" -- The location of the database file -- Note: Not applicable when using json -config.databasePath = tes3mp.GetModDir() .. "/database.db" -- Path where database is stored +config.databasePath = tes3mp.GetDataPath() .. "/database.db" -- Path where database is stored -- Disallow players from including the following in their own names or the names of their custom items -- Note: Unfortunately, these are based on real names that trolls have been using on servers