ALL MODS FOR ALL GAMES

DiscordBridge

Mods

Description

DiscordBridge lets you link your server chat to a discord channel.

You can chat with players, as well as run commands to be executed on the server.

You will need to create a bot application in discord's developer portal, and input the bot token into the config file (see below).

!! IMPORTANT: to see messages from discord appear ingame, the bot needs to have the Message Content Intent enabled on the application dashboard !!

Currently you configure the bot via creating a .env file in the server directory with the following contents:

DISCORD_BOT_TOKEN=your bot token
DISCORD_DEVELOPMENT_GUILD=server id
DISCORD_NOTIFICATION_CHANNEL_ID=the channel ID to send chat messages in
SERVER_OPERATORS=a comma-separated list of role or user IDs that should be able to send commands via !console



Running commands can be done via !console <command> as long as you have configured at least one admin user or role in the config file.

Picture via ChatGPT
Jaquette
👁️ 42 vues | 💾 0 téléchargements
(0,0/5)
Avatar de Planet-Mods
Par Planet-Mods

Connectez-vous pour ajouter aux favoris ❤️

Connectez-vous pour noter ⭐

Dernière version :
1.0

Mods similaires