VEIN has built in Discord integration that allows your server to send in game chat and admin messages directly to a Discord channel using webhooks. This is a great way to keep your community active and monitor server activity in real time. This guide explains exactly how to set up Discord chat integration on your HostByte VEIN server.
Works on all HostByte VEIN servers. Updated for VEIN v0.022h8
Step 1 Create a Discord Webhook
You need a webhook URL from your Discord server.
- Right click the Discord channel where you want chat to appear
- Choose Edit Channel
- Select Integrations
- Click Create Webhook
- Copy the webhook URL
You can create two separate webhooks if you want one for normal chat and one for admin messages.
Step 2 Open Your Game.ini File
The Discord webhook CVars belong inside Game.ini under the VEIN ServerSettings section.
Navigate to:
Vein/Saved/Config/LinuxServer/Game.ini
Find or add this header:
[/Script/Vein.ServerSettings]
Step 3 Add Your Discord Webhooks
Paste your webhook URLs like this:
[/Script/Vein.ServerSettings]
DiscordChatWebhookURL="https://discord.com/api/webhooks/XXXXX/XXXX"
DiscordChatAdminWebhookURL="https://discord.com/api/webhooks/YYYYY/YYYY"
- DiscordChatWebhookURL sends public in game chat
- DiscordChatAdminWebhookURL sends admin commands and logs
You can use only one or both. Both are optional.
Step 4 Restart Your Server
Changes only apply after a restart. Use the Restart button in the HostByte panel.
After restarting, send a message in game. It should appear in your Discord channel instantly.
Step 5 Optional Formatting Tips
- Do not wrap the URL in extra quotes
- Avoid trailing spaces after the URL
- If using both webhooks, keep them on separate lines
- If chat is not posting, double check the webhook permissions
Troubleshooting
- No messages appear in Discord: Check the webhook URL for typos.
- Only admin messages appear: Make sure the correct URL is in DiscordChatWebhookURL.
- Messages delayed: Discord rate limiting can briefly slow message posting.
- Webhook deleted by accident: Create a new webhook and paste it into Game.ini.
Next Steps
- How to Change Loot Respawn Time in VEIN
- How to Add Admins to Your VEIN Server
- Full VEIN Server Configuration Guide
Getting Help
- Knowledge Base: Explore more VEIN hosting guides for configuration, gameplay settings and troubleshooting.
- Support Ticket: Open a ticket from your HostByte account if you need assistance.
- Discord: Join our community below.
- Status Page: Check live updates at status.hostbyte.net.