Skip to main content

Notifications

GameCMS provides a unique feature for Discord Notifications that allows you to be your own Boss. With our Discord Notification feature, you can easily receive notifications for various website activities.

Types of Notifications

Here are some of the notification types you can receive:

  • Purchased product from the store
  • Balance Donation (Sidebar Module)
  • Purchased gift product from a store
  • Purchased resource from the website (Resources Module)
  • Paid subscription for a product from the web store
  • Submitted/Edited Forms (Forms Module)
  • Status change for Form (Forms Module)
  • Balance transfer between users
  • Balance Deposit (Via PayPal, Stripe, or SMS)
  • New website registration created
  • New Ticket Created
  • New Ticket Reply Created
  • User change ticket status
  • A subscription for a product has been cancelled

Best Practice

The best practice to get started with Discord Notifications is to use one of our examples for each type. These examples can be easily customized to suit your needs.

How to Create a New Notification

  1. Navigate to the GameCMS Dashboard
  2. Go to Integrations > Discord
  3. Select Notifications from the menu
    1. You will have two options:
      • New notification
      • Use example (Recommended)
  4. If you press Use example, you will only need to set your Discord Webhook address and select the notification type.
  5. If you select New Notification, you will need to fill in all the details on the notification page.
Use One of the Examples

Using one of our examples will save you time and help you better understand what each option does.

Options

Here are the options you can configure for your notifications:

  1. Name: The name of the notification, for your use so you can select it where you need.
  2. Notification Type: The type of notification, such as Purchased product from the store or Balance Donation (Sidebar Module).
  3. Webhook Address: The Webhook URL generated for the specified Discord channel.
  4. Username: The username for the webhook.
  5. Avatar: The avatar for the webhook.
  6. Content: The message content, up to 2000 characters.
  7. Embed Options:
    • Author: The author of the Discord Embed.
    • Author URL: The URL of the author.
    • Author Icon URL: The avatar of the author.
    • Title: The title of the Discord Embed.
    • Title URL: The URL linked to the title.
    • Embed Color: The color of the Discord Embed bar.
    • Embed Description: The description of the Discord Embed, up to 4096 characters.
    • Thumbnail URL: The URL of the thumbnail image.
    • Image URL: The URL of the main image.
    • Footer Text: The text for the footer of the embed.
    • Footer Avatar: The avatar for the footer.
    • Embed Fields: Fields within the embed, each with a name, value, and inline display option.

Variables

Basic

  • %date% - Today's date in format (DAY-MONTH-YEAR HOUR:MINUTES:SECONDS)
  • %website.name% - Website name
  • %website.logo% - Website logo
  • %website.url% - Website URL
  • %user.id% - User ID
  • %user.avatar% - User avatar
  • %user.username% - Username
  • %user.total_balance% - User balance
  • %user.paid_balance% - User paid balance
  • %user.virtual_balance% - Virtual balance
  • %user.discord.id% - User's Discord ID (if verified)
  • %user.discord.username% - User's Discord username (if verified)
  • %user.discord.discriminator% - User's Discord tag (#123) (if verified)
  • %user.discord.avatar% - User's Discord avatar (if verified)
  • %user.steam.steamid% - User's Steam ID 64 (if verified)
  • %user.steam.steam_id% - User's Steam ID (if verified)
  • %user.steam.username% - User's Steam username (if verified)
  • %user.steam.avatar% - User's Steam avatar (if verified)

Additional Variables

For specific Discord notification types, additional variables are available and will be shown when you select a notification type.