Configuration
All settings are in config.lua. Weather zones and quick presets are in the same file.
Admin Permissions
Any one of these methods gives access to the admin panel and commands:
Admin = {}
Admin.WithAce = true
Admin.WithLicense = {
['license:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'] = true,
}
Admin.WithIdentifier = {
['xxxxxxxx'] = true,
}
Admin.WithGroup = {
['superadmin'] = true,
['god'] = true,
['admin'] = true,
}Time
| Option | Default | Description |
|---|---|---|
Config.DefaultTime |
12:00:00 | Time at server start. |
Config.MinuteDuration |
2000 |
Milliseconds per game minute. 2000 is 48 real minutes per game day, 1000 is 24 minutes, 60000 is 1:1 real time. |
Config.DefaultTimeTransitionSpeed |
5 |
Seconds to slide the clock to a new time. |
Config.FreezeTime |
false |
Freeze time by default. |
Weather
| Option | Default | Description |
|---|---|---|
Config.DefaultWeather |
'CLEAR' |
Weather at server start. |
Config.DefaultWeatherTransitionSpeed |
10 |
Seconds to blend between weather types. |
Config.FreezeWeather |
false |
Freeze weather by default. |
Config.Blackout |
false |
Blackout mode at server start. |
Config.SnowOnGround |
false |
Vehicle tracks and snow footprints. |
Config.DynamicWeather |
true |
Automatic weather cycling. |
Config.NewWeatherTimer |
10 |
Minutes between automatic weather changes. |
Config.DefaultWindSpeed |
0.0 |
Wind speed, 0 to 12. |
Config.DefaultWindDirection |
0.0 |
Wind direction, 0 to 360. |
Config.DefaultRainLevel |
-1.0 |
-1.0 is automatic, 0.0 to 1.0 is a manual override. |
Zone Weather
Config.ZoneWeather splits the map into 7 zones, each with its own weather:
LS_SOUTHLS_NORTHEAST_COASTWEST_VALLEYSDESERTGRAPESEED_ALAMOPALETO_WILDERNESS
| Option | Default | Description |
|---|---|---|
Enabled |
true |
Zone weather mode at server start. Can be toggled in the admin panel. |
TransitionDuration |
12 |
Seconds to blend when crossing a zone border. |
CheckInterval |
750 |
Milliseconds between client zone checks. |
Debug |
false |
Draw zone boundaries for testing. |
MountChiliad adds three height tiers: Alpine Mist (350 to 550), Sub-Zero Snow (550 to 700), and Everest Summit Blizzard (700 to 1200).
Discord Webhook
Set it in webhooks.lua:
Webhooks = {
enabled = true,
url = 'https://discord.com/api/webhooks/...',
botName = 'AK47 Time & Weather Sync',
avatar = 'https://i.imgur.com/8Q9j9sZ.png',
}On this page