Docs

Configuration

How to configure and create your Product Panels.

Configuration

The configuration for Product Panel allows you to create interactive panels where users can view and purchase products.

General Settings

  • LICENSE_KEY: Your plugin license key.
  • always_use_web_api_downloads: If set to true, the bot will provide download links via the Web API instead of as message attachments.

Creating Panels and Products

Panels are defined in the panel_linking section. Each panel can contain multiple products.

panel_linking: {
  panel1: {
    type: "SELECT_MENU", // "SELECT_MENU" or "BUTTON"
    id1: {
      role: "ROLE_ID",    // The role required to download
      name: "Product Name",
      emoji: "%custom_emoji_1%", // Optional emoji
    }
  }
}
  • Type: Choose between SELECT_MENU (dropdown) or BUTTON for the interaction style.
  • Products: Add product entries inside the panel. Each must have a role ID and a name.

Permissions

You can restrict who can use the /productpanel command or interact with buttons in the permissions section by setting them to a specific role name or everyone.

On this page