Installation Guide

Integrate GameCord into your game server in under 15 minutes. Follow this step-by-step guide to get started.

Prerequisites

Before you begin:

  • Game Server: Access to your game server code
  • GameCord Account: Create one at gamecord.app
  • Discord Server: Where you want to receive notifications

Installation Steps

1

Create an Instance

Log in to your GameCord dashboard and create a new instance. Give it a name (e.g., "My Game Server") and select your game type.

πŸ“ Instance Key: After creation, you'll get an instance key (looks like a long UUID). You'll need this later for the configuration.

2

Install Plugins from the Shop

Browse the plugin shop and install the features you want. Common examples:

πŸ“’ System Notification

Send custom Discord embeds from your server

πŸ“Š Player Analytics

Track kills, drops, shop transactions

🎁 Daily Gift

Automated daily login rewards

βš”οΈ Kill Logger

Log PvP kills to Discord

3

Configure Each Plugin

For each installed plugin, click "Configure" and set:

Discord Channel ID

Right-click a Discord channel β†’ Copy ID

1234567890123456789

Message Type

Choose between Simple Text or Rich Embed:

Simple Text
Player {name} just logged in!
Rich Embed
Title, description, color, fields, images β€” fully customizable
4

Download the Generated Package

Once you've configured all your plugins, go to your instance page and click "Download Full Package". This will give you a ZIP file containing:

// Package contents
GameCord/
β”œβ”€β”€ Packets/
β”‚ β”œβ”€β”€ SystemNotification.h
β”‚ β”œβ”€β”€ PlayerAnalytics.h
β”‚ └── DailyGift.h
β”œβ”€β”€ Commands/
β”‚ └── LinkAccountCommand.h
β”œβ”€β”€ BasePacket.h
└── RegisterAllPackets.h

Auto-Generated Code: Each header is generated specifically for YOUR configuration (your channel IDs, your embeds, your placeholders).

5

Integrate into Your Game Server

Extract the downloaded package to your preferred location (e.g., in your project's include directory or dependencies folder).

πŸ“ Installation Location: The exact location depends on your project structure. Common locations include includes/, deps/, or third-party/.

Next Step: Configure your build system to include the GameCord headers in your project's include path.

6

Use the Plugins in Your Code

Include the headers and use the generated packets anywhere in your game server code.

// In your game server code
#include <Packets/SystemNotification.h>
// Send a notification (pass values in constructor)
auto notif = std::make_shared<packet::SystemNotification>(
"Boss Defeated!", // title
"The guild defeated the raid boss!", // description
0x00ff00, // color
"https://example.com/boss.png" // imageUrl
);
network::ClientManager::sendData(notif);

βœ… That's it! The configured embed will appear in your Discord channel automatically.

7

Build & Test

Rebuild your game server project and start your server. Check your Discord channel to verify messages are being sent correctly.

πŸ” Troubleshooting: Check the GameCord dashboard logs to see incoming packets and any errors.

Common Issues

Cannot find Packet headers

Solution: Make sure you extracted the GameCord package to your project root.

Verify the include path is correctly configured in your build system.

Discord messages not appearing

Solution: Verify your Discord channel ID is correct (right-click channel β†’ Copy ID).

Check that your instance is showing as Online in the dashboard.

View the dashboard logs to see incoming packets and any processing errors.

Placeholders not being replaced

Solution: Ensure you're passing the correct values to the packet constructor.

Check that all required parameters are provided when creating the packet.

Next Steps