Architecture Overview

Understand how GameCord transforms your plugin configurations into working C++ code and Discord messages.

How GameCord Works

1. Configure Plugins in Dashboard

You install plugins from the shop and configure them: set Discord channel IDs, choose embed/text format, customize with placeholders. All done visually in your browser.

Example: "System Notification" plugin → Set channelId → Design embed → Save
↓

2. Code Generation

Your packet is generated and automatically added to your GameCord instance. You just have to integrate it into your source code.

Download your package → Extract to your project → Include headers → Ready to use
↓

3. Integration in Game Server

Include the headers in your project and create packets with the constructor. Send them using your network manager.

network::ClientManager::sendData(
  std::make_shared<packet::DropItemAnalytics>(user, &item)
);
↓

4. Secure Transmission

Packets are sent securely to GameCord's backend over an encrypted connection. Your instance key authenticates each request.

SSL/TLS encrypted connection → Authentication via instance key → Packet processing
↓

5. Discord Message Delivery

GameCord formats the embed using your configuration and posts the message in your Discord channel. Analytics data is stored for dashboard visualization.

Discord: Messages posted as a Discord bot in your configured channel
Analytics: Data stored and available in your dashboard
↓

6. View in Dashboard

Your GameCord dashboard shows instance status, packet logs, and analytics charts. Configure additional plugins, view Discord message history, and manage your subscription.

📈 Real-time status: See when packets arrive
🔍 Logs: Debug packet delivery issues
📊 Analytics: If enabled, view charts and player stats

Security & Privacy

Encryption

All WebSocket connections use SSL/TLS (wss:// protocol on port 443). Dashboard access requires HTTPS.

Authentication

Each instance has a unique API key used to authenticate WebSocket connections. User accounts use NextAuth.js with 2FA support.

Data Privacy

GDPR-compliant. You can export or delete your data anytime. Analytics data is scoped to your instances only — no cross-customer data sharing.

Learn More