Skip to content

Scheduler Plugin

Runs configured actions (RCON commands or say messages) triggered by game events.

Plugin name: schedulerRequires config: Yes

Behavior

  • Executes tasks when specific game events occur
  • Each task maps an event trigger to an action
  • Supports "say" (public message) and "rcon" (RCON command) action types
  • Subscribes dynamically to whatever events are configured

Settings

toml
[[plugins]]
name = "scheduler"
enabled = true

[[plugins.settings.tasks]]
event_trigger = "EVT_GAME_ROUND_START"
action_type = "say"
action_value = "^7Round started! Good luck!"

[[plugins.settings.tasks]]
event_trigger = "EVT_GAME_MAP_CHANGE"
action_type = "rcon"
action_value = "set g_friendlyfire 1"
SettingTypeDefaultDescription
tasksarray of tables[]Each task has event_trigger, action_type, and action_value

Task Fields

FieldTypeDescription
event_triggerstringEvent name (e.g., "EVT_GAME_ROUND_START", "EVT_GAME_MAP_CHANGE")
action_typestring"say" for public message, "rcon" for RCON command
action_valuestringThe message or command to execute

Events

Dynamic — subscribes to whatever events are configured in tasks.

Released under the GPL-2.0 License.