[{"data":1,"prerenderedAt":434},["ShallowReactive",2],{"/docs/scripts/activities/setup/configuration":3,"/docs/scripts/activities/setup/configuration-surround":422,"/docs/scripts/activities/setup/configuration-implemented-suggestions":433},{"id":4,"title":5,"body":6,"description":412,"extension":413,"head":414,"implementedSuggestions":414,"meta":415,"navigation":416,"path":417,"schemaOrg":414,"seo":418,"sitemap":419,"stem":420,"__hash__":421},"docs/1.docs/scripts/7.activities/2.setup/2.configuration.md","Configuration",{"type":7,"value":8,"toc":401},"minimark",[9,18,23,38,93,99,105,109,176,179,183,189,236,265,269,276,301,308,312,346,361,379,383,391],[10,11,12,13,17],"p",{},"Paths on this page are relative to the installed ",[14,15,16],"code",{},"sky_activities"," resource.",[19,20,22],"h2",{"id":21},"choose-the-settings-source","Choose the settings source",[10,24,25,28,29,32,33,37],{},[14,26,27],{},"Config.UseActivitiesConfig"," in ",[14,30,31],{},"config/config.lua"," selects the source of ",[34,35,36],"strong",{},"global operator settings",":",[39,40,41,57],"table",{},[42,43,44],"thead",{},[45,46,47,51,54],"tr",{},[48,49,50],"th",{},"Value",[48,52,53],{},"Effective settings",[48,55,56],{},"How to change them",[58,59,60,78],"tbody",{},[45,61,62,69,72],{},[63,64,65,68],"td",{},[14,66,67],{},"true"," — default",[63,70,71],{},"Saved database values over the shipped defaults",[63,73,74,77],{},[14,75,76],{},"/activitiesconfig"," → General settings",[45,79,80,85,90],{},[63,81,82],{},[14,83,84],{},"false",[63,86,87,88],{},"Operator values in ",[14,89,31],{},[63,91,92],{},"Edit Lua and restart the resource",[10,94,95,96,98],{},"In editor mode, the operator values lower down in ",[14,97,31],{}," are ignored. In Lua mode, global settings in the editor are read-only and stored global settings are left intact. Switching back to editor mode uses those stored values again. Restart after changing the source switch.",[10,100,101,104],{},[34,102,103],{},"The activity, arena and track editor remains available in both modes."," Each saved activity has its own rules. Changing defaults for new activities does not change existing definitions; edit those definitions directly.",[19,106,108],{"id":107},"configuration-files","Configuration files",[39,110,111,121],{},[42,112,113],{},[45,114,115,118],{},[48,116,117],{},"File",[48,119,120],{},"What to configure",[58,122,123,132,142,152,166],{},[45,124,125,129],{},[63,126,127],{},[14,128,31],{},[63,130,131],{},"Settings source, startup options and Lua-mode operator values",[45,133,134,139],{},[63,135,136],{},[14,137,138],{},"config/bowling.lua",[63,140,141],{},"Bowling venue geometry, required map resources and resource-name overrides",[45,143,144,149],{},[63,145,146],{},[14,147,148],{},"config/karting_server.lua",[63,150,151],{},"Optional server-only kart results Discord integration",[45,153,154,163],{},[63,155,156,159,160],{},[14,157,158],{},"config/locales/de.lua",", ",[14,161,162],{},"config/locales/en.lua",[63,164,165],{},"Player-facing text",[45,167,168,173],{},[63,169,170],{},[14,171,172],{},"editable-textures/signage/catalogue.csv",[63,174,175],{},"Sign text, texture names and the YTD files to edit",[10,177,178],{},"Keep Discord webhook credentials in the server-only configuration. Fixed Sky models and authored course data are part of the supplied implementation; use the editor or the documented bowling configuration for customer locations.",[19,180,182],{"id":181},"options-that-always-come-from-lua","Options that always come from Lua",[10,184,185,186,188],{},"These startup/integration options remain in ",[14,187,31],{}," regardless of the settings source:",[190,191,192,211,220,231],"ul",{},[193,194,195,159,198,159,201,159,204,159,207,210],"li",{},[14,196,197],{},"Locale",[14,199,200],{},"AdminCommand",[14,202,203],{},"PlayerCommand",[14,205,206],{},"LeaveCommand",[14,208,209],{},"TestCommand",".",[193,212,213,216,217,210],{},[14,214,215],{},"AdminGroups"," and ",[14,218,219],{},"AdminAce",[193,221,222,159,225,216,228,210],{},[14,223,224],{},"InventoryHooks",[14,226,227],{},"BucketStart",[14,229,230],{},"BucketCount",[193,232,233,210],{},[14,234,235],{},"VenueScreens.iceServers",[10,237,238,239,242,243,246,247,250,251,159,254,216,257,260,261,264],{},"Restart after editing them. ",[14,240,241],{},"InventoryHooks = \"auto\""," detects ",[14,244,245],{},"ox_inventory"," or ",[14,248,249],{},"qb-inventory","; explicit choices are ",[14,252,253],{},"\"ox\"",[14,255,256],{},"\"qb\"",[14,258,259],{},"\"none\"",". These hooks prevent inventory item use during activities. Choosing ",[14,262,263],{},"none"," disables this integration, so check the resulting interaction with your inventory.",[19,266,268],{"id":267},"global-operator-settings","Global operator settings",[10,270,271,272,275],{},"General settings include activity switches, default match rules, allowed arena props and kart models, weapon behavior, paint grenades, powerups, kart options, audio and venue screens. ",[14,273,274],{},"Sports.automatic"," controls discovery of supported existing billiard tables and dartboards.",[10,277,278,281,282,285,286,288,289,292,293,295,296,210],{},[14,279,280],{},"EnableBowling"," controls bowling as a whole. ",[14,283,284],{},"BowlingLocations.\u003Cid>"," controls each hall. In editor mode these are saved through the Bowling settings group; in Lua mode they come from ",[14,287,31],{},". The geometry and ",[14,290,291],{},"resources"," lists in ",[14,294,138],{}," are installation data in both modes. See ",[297,298,300],"a",{"href":299},"../mapping/bowling-mlos","Bowling MLOs",[10,302,303,304,307],{},"Most saved global settings apply after saving. ",[14,305,306],{},"InstallVenuePresets"," takes effect on the next resource start. Existing matches use their session rules; test changed rules in a newly started game.",[19,309,311],{"id":310},"weather-and-time","Weather and time",[10,313,314,315,28,318,321,322,242,325,328,329,159,332,159,335,246,338,341,342,210],{},"Sky Base owns the local weather/time integration. Select the provider with ",[14,316,317],{},"Config.weather",[14,319,320],{},"sky_base/config/config.lua",". ",[14,323,324],{},"\"auto\"",[14,326,327],{},"esx_weather",", Kibook's ",[14,330,331],{},"weathersync",[14,333,334],{},"Renewed-Weathersync",[14,336,337],{},"qb-weathersync",[14,339,340],{},"cd_easytime",", and uses natives when no supported provider is found. QB and CD need the provider changes in the ",[297,343,345],{"href":344},"/docs/base/weather-integrations","Sky Base weather tutorial",[10,347,348,349,352,353,356,357,360],{},"Activities keeps ",[14,350,351],{},"Environment.enabled"," in its operator settings. The center uses local ",[34,354,355],{},"12:00 / CLEAR","; lasertag, paintball, karting and blacklight minigolf use ",[34,358,359],{},"00:00 / CLEAR",". Leaving releases the override through Sky Base.",[10,362,363,364,367,368,370,371,374,375,378],{},"When updating, move the former Activities ",[14,365,366],{},"Environment.provider"," selection to Base's ",[14,369,317],{}," and any customer adapter to ",[14,372,373],{},"sky_base/config/integration/weather/custom.lua",". Activities no longer loads ",[14,376,377],{},"config/environment.lua",". Update Base and Activities together; check restoration as well as entry.",[19,380,382],{"id":381},"updates-and-backups","Updates and backups",[10,384,385,386,390],{},"Keep copies of your configuration, database tables, custom map resources, edited YTDs and any ",[297,387,389],{"href":388},"../mapping/bowling-mlos#replace-the-sky-del-perro-building","bowling map exclusions",". Merge configuration changes when updating instead of overwriting new fields with an old file.",[10,392,393,394,396,397,400],{},"Activities uses ",[14,395,76],{},"; there is no Activities ",[14,398,399],{},"/jobconfig"," section.",{"title":402,"searchDepth":403,"depth":404,"links":405},"",1,2,[406,407,408,409,410,411],{"id":21,"depth":404,"text":22},{"id":107,"depth":404,"text":108},{"id":181,"depth":404,"text":182},{"id":267,"depth":404,"text":268},{"id":310,"depth":404,"text":311},{"id":381,"depth":404,"text":382},"Choose the source of global settings, configure integrations, and understand which changes affect existing activities.","md",null,{},true,"/docs/scripts/activities/setup/configuration",{"title":5,"description":412},{"loc":417},"1.docs/scripts/7.activities/2.setup/2.configuration","cK-DCXAqzr26l6AqTQR2e4hl9Z5AgVQaQ0IxROGO2QM",[423,428],{"title":424,"path":425,"stem":426,"description":427,"children":-1},"Installation","/docs/scripts/activities/setup/installation","1.docs/scripts/7.activities/2.setup/1.installation","Install Sky Activities, configure its dependencies and permissions, and verify the included venues.",{"title":429,"path":430,"stem":431,"description":432,"children":-1},"Anticheat & resource protection","/docs/scripts/activities/setup/anticheat","1.docs/scripts/7.activities/2.setup/3.anticheat","Configure resource protection and exceptions for Activities props, NPCs, weapons, karts, cameras and scripted movement.",[],1792607509500]