Skip to main content

Homepage Widgets

Widgets are configurable blocks in the storefront sidebar. The store owner adds them through the admin panel.

Path: Admin panel → Storefront Appearance → Widgets


Live Widgets (3 types)​

Three widgets are currently implemented:

Discord Widget (DISCORD_WIDGET)​

Embeds the official Discord server widget via iframe.

  • Requires: Guild ID or invite link (discord.gg/xxx)
  • Resolution: the invite link is resolved via the backend API
  • Parameters: theme (light/dark), width, height
Server Widget

The Discord server owner must enable "Server Widget" in server settings (Server Settings → Widget). Without this the widget will not load.

VK Group (VK_GROUP)​

VKontakte community widget.

  • Requires: Group ID
  • Render: standard VK iframe

VK Messages (VK_MESSAGES)​

VKontakte community messages widget — lets players message the group directly from the storefront.

  • Requires: Group ID
  • Render: VK Messages widget

Planned Widgets (15 types)​

These types are defined in the system but do not yet have a storefront renderer (they return an empty block):

TypeWhat it will show
top_donorsTop donors
online_counterServer online count
server_monitoringServer status
recent_purchasesRecent purchases
wipe_countdownCountdown to next wipe
bannerBanner / image
html_blockArbitrary HTML
text_blockText block
statsStore statistics
social_linksSocial links
categories_gridCategory grid
youtube_videoYouTube video
twitch_embedTwitch stream
flash_sale_bannerFlash sale banner
custom_widgetCustom widget
In development

These types appear in the admin panel dropdown but render nothing on the storefront. Implementation is planned for future phases.


Adding a Widget​

  1. Admin panel → Appearance → Widgets → "Add widget"
  2. Select a type (Discord / VK Group / VK Messages)
  3. Fill in the configuration fields
  4. Save

Widgets are sorted by position and displayed in the left rail of the storefront.


Permanent Blocks (not widgets)​

Two blocks are always shown and are not configurable through widgets:

  1. ServersBlock — list of servers with online status (automatic)
  2. WipeWidget — countdown to the nearest wipe (if a schedule exists)

These appear at the top of the left rail, above user-added widgets.


Next Steps​