📩@Requests

Sends @request support messages to Discord for staff response

The SupportMessageScript handles the @request command, forwarding player support requests to a Discord channel where staff can respond.

Action

support_message

When It's Used

This script is triggered when:

  • A player uses the @request command in-game

  • The @request feature is enabled in the server configuration

  • A Discord channel is configured to receive support messages

Why Use It

  • Centralize support by routing all @request messages to Discord

  • Enable staff response from Discord without logging into the game

  • Track support requests with Discord's message history

  • Faster response times with Discord notifications

Server Configuration

In conf/channels.conf:

Setting
Description
Default

enabled

Enable/disable @request forwarding

false

channel_id

Discord channel ID for support messages

-

Message Format

Messages appear in Discord with the player's character name:

Data Fields

Field
Type
Description

name

string

Character name of the player requesting support

message

string

Support request message (max 255 chars)

account_id

int

Player's account ID

char_id

int

Player's character ID

channel

string

Discord channel ID

Example Use Cases

Staff Support Channel

Create a private channel for staff to handle requests:

With Role Pings

Configure Discord to ping support staff when messages arrive in the channel using Discord's notification settings or a bot.

In-Game Usage

Players use the command like this:

Staff Response

Staff members can:

  1. See the request in Discord immediately

  2. Use Discord to coordinate with other staff

  3. Log into the game to respond directly to the player

  4. Use @whisper or other commands to contact the player

Best Practices

  • Configure Discord notifications for the support channel

  • Set up a role ping for urgent requests

  • Create a thread per request for organized tracking

  • Use Discord's reaction system to mark requests as handled

Last updated