config-version: 4
generated-by-version: "2.5.2"

# CoreDSC module: workflows
# Set enabled to false to keep this module completely inactive.
enabled: false
allow-console-actions: false
console-command-allow-prefixes:
- 'say '
- 'whitelist add '
definitions:
- enabled: false
  id: linked-welcome
  trigger: ACCOUNT_LINKED
  conditions: {}
  actions:
  - type: SEND_DISCORD_MESSAGE
    channel-id: ''
    message: Welcome linked player **%minecraft_name%**!
  - type: SEND_PLAYER_MESSAGE
    message: '&aYour Discord account is linked.'
- enabled: false
  id: first-join-linked-role
  trigger: PLAYER_FIRST_JOIN
  conditions:
    first-join: 'true'
  actions:
  - type: ADD_DISCORD_ROLE
    role-id: '0'
- enabled: false
  id: scheduled-announcement
  trigger: SCHEDULE
  interval-seconds: 3600
  conditions: {}
  actions:
  - type: SEND_DISCORD_MESSAGE
    channel-id: ''
    message: The server currently has %online_players% players online.
