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
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.
Install Plugins from the Shop
Browse the plugin shop and install the features you want. Common examples:
Send custom Discord embeds from your server
Track kills, drops, shop transactions
Automated daily login rewards
Log PvP kills to Discord
Configure Each Plugin
For each installed plugin, click "Configure" and set:
Discord Channel ID
Right-click a Discord channel β Copy ID
Message Type
Choose between Simple Text or Rich Embed:
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:
Auto-Generated Code: Each header is generated specifically for YOUR configuration (your channel IDs, your embeds, your placeholders).
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.
Use the Plugins in Your Code
Include the headers and use the generated packets anywhere in your game server code.
β That's it! The configured embed will appear in your Discord channel automatically.
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.