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
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
👁️ 42 vues | 💾 0 téléchargements
(0,0/5)
Par Planet-Mods
Connectez-vous pour ajouter aux favoris ❤️
Dernière version :
1.0
1.0