Skip to content
FoxWorn3365 edited this page Oct 13, 2024 · 2 revisions

Welcome to the official UncomplicatedDiscordIntegration wiki!

Note

This wiki is based on the v1.0.0 of UncomplicatedDiscordIntegration

Configuration

The config should look something like that:

UncomplicatedDiscordIntegration:
# Indicates whether the plugin is enabled or not
  is_enabled: true
  # Indicates whether the debug is enabled or not
  debug: false
  # Bot-related config
  bot:
    token: ''
    # The status that the bot will have
    presence: '%current%/%total% players online'
    # The presence that the bot will show (es: Playing <game>)
    presence_activity: Watching
    # If true every log will be sent inside an embed
    should_use_embeds: false
    # Choose how many log entries can be held inside the same message to avoid Discord ratelimit
    bucket_size: 25
    # Insert the webhook url for the error logger
    error_webhook_url: ''
  # Configure whether a message should go, based on it's ChannelType
  channels:
    commands: 0
    game_events: 0
    bans: 0
    reports: 0
    staff_channel: 0
    errors: 0
    watchlist: 0
  # The guild Id
  guild: 0
  # Indicates events that should be logged or not
  events_to_log:
    sending_remote_admin_commands: true
    // lots of other events
  # Indicates events that should be logged to the staff-only channel. These logs always ignore DNT, and will always show the player's UserID.
  staff_only_events_to_log:
    sending_remote_admin_commands: true
    // lots of other events
  # Indicates whether players' IP Addresses should be logged or not
  should_log_i_p_addresses: true
  # Indicates whether players' user ids should be logged or not
  should_log_user_ids: true
  # Indicates whether server errors should be logged or not.
  log_errors: true
  # Indicates whether players' with the "Do not track" enabled, should be logged or not
  should_respect_do_not_track: true
  # Indicates whether only friendly fire for damage should be logged or not
  should_log_friendly_fire_damage_only: false
  # Indicates whether only friendly fire for kills should be logged or not
  should_log_friendly_fire_kills_only: false
  # Indicates what damage types aren't allowed to be logged for hurting events. These filters will not apply to death logs.
  blacklisted_damage_types:
  - Scp207
  - PocketDimension
  # Indicates whether or not only player-dealt damage should be logged in hurting events.
  only_log_player_damage: false
  # The date format that will be used throughout the plugin (es. dd/MM/yy HH:mm:ss or MM/dd/yy HH:mm:ss)
  date_format: 'dd/MM/yy HH:mm:ss'
  # The list of trusted admins, whos command usage will not be logged.
  trusted_admins: []
  # Indicates whether the player watchlist feature can be used.
  use_watchlist: true
  # The key of the online database that handle the watchlist - please DO NOT TOUCH IT IF YOU DO NOT KNOW WHAT ARE YOU DOING!
  u_c_d_internal_watchlist_id_access: 'HP724LS07B5yN0wTSpAIep8A7NssvuEmpFoQgpzvPrOInRhjFO67082c1334d79'

To have the plugin work property you HAVE to configure at least the following params:

  • token
  • guild
  • every channel in channels (you can also avoid some of them if you want)