📄Channels Config

The channels.conf file configures the in-game channel system and RagnaSync integration settings. This file is located in your rAthena server's conf/channels.conf.

RagnaSync Discord Integration

The discord block contains all RagnaSync-specific settings for connecting your Ragnarok server to Discord.

Connection Settings

discord: {
    // Discord Server Settings
    ragnasync_discord_id: ""        // Your Discord server ID
    ragnasync_discord_guid: ""      // Discord server GUID from RagnaSync

    // Ragnarok Server Client Settings
    ragnasync_client_guid: ""       // Your RagnaSync client GUID

    // RagnaSync Service Host
    ragnasync_host_name: "ragnasync.com"  // RagnaSync service hostname

    // Connection Retry Settings
    ragnasync_retry_first: 300      // First retry delay in seconds (default: 5 minutes)
    ragnasync_retry_delay: 1800     // Delay between retries (default: 30 minutes)
    ragnasync_retry_max: 3          // Max retry attempts, 0 = infinite
    ragnasync_enabled: true         // Auto-connect on server boot
}
Setting
Default
Description

ragnasync_discord_id

""

The Discord server ID where messages will be sent

ragnasync_discord_guid

""

GUID assigned to your Discord server by RagnaSync

ragnasync_client_guid

""

Your Ragnarok client's unique identifier in RagnaSync

ragnasync_host_name

"ragnasync.com"

Hostname of the RagnaSync service

ragnasync_retry_first

300

Seconds before first reconnection attempt (5 min)

ragnasync_retry_delay

1800

Seconds between subsequent retries (30 min)

ragnasync_retry_max

3

Maximum connection attempts (0 = unlimited)

ragnasync_enabled

true

Whether to auto-connect when server starts

@Command Logging

Log GM commands to a Discord channel for moderation and audit purposes.

Setting
Default
Description

ragnasync_at_command_log_enabled

false

Enable @command logging

ragnasync_at_command_log_group_min

99

Minimum group ID to log (99 = GM only)

ragnasync_at_command_log_channel_id

""

Discord channel ID for command logs

Mob Item Drop Logging

Log rare item drops from monsters to Discord.

Setting
Default
Description

ragnasync_mob_item_drop_log_enabled

false

Enable drop logging

ragnasync_mob_item_drop_log_min_rate

500

Minimum rate to log (500 = 5%)

ragnasync_mob_item_drop_log_channel_id

""

Discord channel for drop logs

Drop Rate Values:

  • 10000 = 100%

  • 1000 = 10%

  • 500 = 5%

  • 100 = 1%

  • 10 = 0.1%

Homunculus Item Drop Logging

Log item drops from Homunculus kills.

Mercenary Item Drop Logging

Log item drops from Mercenary kills.

Mob Death Logging

Log when specific mob types are killed (MVP, Mini-boss, or normal mobs).

Setting
Default
Description

ragnasync_mob_death_log_enabled

false

Enable death logging

ragnasync_mob_death_log_type

"mvp"

Type: "mvp", "miniboss", or "normal"

ragnasync_mob_death_log_channel_id

""

Discord channel for death logs

@request Command Logging

Log player support requests to Discord for staff monitoring.

Channel Discord Linking

Any in-game channel can be linked to Discord by adding the discord_channel_id property to its configuration.

Public Channel Example

Private Channel Default

Private channels can also have a default Discord link:

Channel Types

Type
Description

CHAN_TYPE_PUBLIC

Open channels anyone can join

CHAN_TYPE_ALLY

Guild alliance channels

CHAN_TYPE_MAP

Map-specific local channels

Available Colors

Getting Your Discord IDs

See Installation for instructions on obtaining your Discord Server ID and Channel IDs.

The ragnasync_discord_guid and ragnasync_client_guid are provided by RagnaSync during installation.

Last updated