SimpleSync/Convars

From Lemon
Jump to navigation Jump to search

General

simplesync_debug

  • Type: int
  • Default: 0

Enables or Disables the debug logging. A value of 0 means disabled, while anything else means enabled.

Time

simplesync_modetime

  • Type: int
  • Default: 0 (Dynamic)

Sets the Synchronization Mode of the Time. The allowed values are -1 (Disabled), 0 (Dynamic), 1 (Static) and 2 (Real).

Don't change this convar directly when the script is running. Call getTimeSyncMode and setTimeSyncMode or use the /timemode <mode> command.

simplesync_scale

  • Type: int
  • Default: 2000

The delay between the bumps of game time (in milliseconds). Only used when the Time Mode is set to Dynamic.

simplesync_increase

  • Type: int
  • Default: 1

The minutes that will be added to the game timer. Only used when the Time Mode is set to Dynamic.

simplesync_timezone

  • Type: string
  • Default: Pacific Standard Time

The name of a Time Zone for the Real Time Synchronization. Use the /timezones command to get a list of timezones allowed on your server installation.

Weather

simplesync_modeweather

  • Type: int
  • Default: 0 (Dynamic)

Sets the Synchronization Mode of the Weather. The allowed values are -1 (Disabled), 0 (Dynamic), 1 (Static) and 2 (Real).

Do not change this convar directly when the script is running. Call getWeatherSyncMode and setWeatherSyncMode or use the /weathermode <mode> command.

simplesync_key

Your OpenWeatherMap API Key for Real Weather. Visit https://home.openweathermap.org/api_keys to get a free API Key. This is only used when the Weather Mode is set to Real.

simplesync_city

The name of a city on OpenWeatherMap. Please note that only the first result for that city will be used (you can run a search on https://openweathermap.org/find). Only used when the Weather Mode is set to Real.

simplesync_transition

  • Type: int
  • Default: 10000 (10 seconds)

The time that will take a weather switch to complete (in milliseconds). Only used when the Weather Mode is set to Dynamic.

simplesync_switchmin

  • Type: int
  • Default: 600000 (10 minutes)

The minimum amount of time between one weather change to another (in milliseconds). Only used when the Weather Mode is set to Dynamic.

simplesync_switchmax

  • Type: int
  • Default: 1800000 (30 minutes)

The maximum amount of time between one weather change to another (in milliseconds). Only used when the Weather Mode is set to Dynamic.

Lights

simplesync_modelights

  • Type: int
  • Default: 0 (Dynamic)

Sets the Synchronization Mode of the Lights. The allowed values are -1 (Disabled), 0 (Dynamic), 1 (Static) and 2 (Static).

Introduced in version 1.1.

Don't change this convar directly when the script is running. Call getLightsSyncMode and setLightsSyncMode or use the /lightsmode <mode> command.

simplesync_lights

  • Type: int
  • Default: 1 (Static)

Sets the activation of the Artificial lights. You can use 0 to disable the Lights and make a Blackout. Anything other than 0 enables the Lights.

Don't change this convar directly when the script is running. Call areLightsEnabled and setLights or use the /lights <activation> command.

simplesync_blackoutswitchmin

  • Type: int
  • Default: 600000 (10 minutes)

The minimum amount of time between blackouts. Only used when the Lights Mode is set to Dynamic.

Introduced in version 1.1.

simplesync_blackoutswitchmax

  • Type: int
  • Default: 180000 (3 minutes) on 1.1, 1800000 (30 minutes) on 1.2

The maximum amount of time between blackouts. Only used when the Lights Mode is set to Dynamic.

Introduced in version 1.1.

simplesync_blackoutdurationmin

  • Type: int
  • Default: 600000 (1 minute)

The minimum duration of the blackouts. Only used when the Lights Mode is set to Dynamic.

Introduced in version 1.1.

simplesync_blackoutdurationmax

  • Type: int
  • Default: 120000 (2 minutes)

The maximum duration of the blackouts. Only used when the Lights Mode is set to Dynamic.

Introduced in version 1.1.