How to Install | Support it on Patreon | Join the Discord | Website |
---|
Dishorde is a Discord bridge bot for 7 Days to Die. It integrates a dedicated game server's chat with Discord, granting players access to the server's chat through Discord.
Dishorde runs as a completely separate application, so no mods are required to run it.
See below for download links instructions on how to install the bot. Dedicated servers on PC only.
Dishorde works by connecting to your server's console and monitoring it for chat messages. Messages are relayed to and from the server using Discord, allowing for communication between in-game players and Discord users.
For support, questions, and comments, you can join the Discord server, or submit an issue for bugs and support.
For developers: If you are interested in helping out, GitHub pull requests are welcome and greatly appreciated.
For business inquiries, contact: contact@lakeys.net
Commands can be sent via DM or in the specified chat channel.
7d!info
7d!time
7d!version
7d!players
exit
The bot can be configured by editing config.json. Here's a list of the preferences:
allow-exec-command
- Enables a command called 7d!exec
. This allows anybody with the 'manage server' permission to execute commands on the server. The command works in any channel. WARNING: Enabling this may pose a security risk for your server.
allow-multiple-instances
- By default, the bot will not start if there is another copy of it already running. Enabling this will allow multiple instances of the bot to run on one system.
allow-links-from-game
- Allows players in-game to post links into Discord. When set to false, links will still show up, but will not be clickable. When enabled, links may include embeds in Discord unless you configure the bot's permissions otherwise.
disable-commands
- Disable Discord commands such as 7d!time. Does not disable 7d!info.
disable-chatmsgs
- Disable chat messages to and from the server. Does not disable other in-game messages such as join/leave and deaths.
disable-join-leave-gmsgs
- Disables player join/leave messages.
disable-misc-gmsgs
- Disables all other global messages (player deaths, etc.)
disable-non-player-chatmsgs
- Disables chat messages sent by non-players. (Including the "say" console command and mods)
disable-status-updates
- Disable the bot's presence and online status display.
hide-prefix
- Hides all chat messages that start with a forward slash. This may be useful if your server uses commands.
log-console
- Enables logging of the bot's console to a file, console.log.
log-messages
- Chat messages will show up in the terminal.
log-telnet
- All output from the connection will show up in the terminal.
prefix
- The prefix for bot commands. ('7d!' by default)
skip-discord-auth
- The bot will not log in to Discord.
https://discord.com/oauth2/authorize?client_id=APP_ID&scope=bot
C:\Program Files (x86)\Steam\steamapps\common\7 Days to Die Dedicated Server
.--ip=[your server's external ip]
(May require port forwarding if using an external IP. Make sure your Telnet password is secure.)Once you complete all of this, you will be able to run the bot by opening run.bat. If you've done all of this correctly, you will see the following in the terminal:
Connected to game. Connected to 1 Discord Servers.
To set the channel for your server's chat, open Discord and type 7d!setchannel #yourchannel
in your server. If the setchannel command doesn't work, try setting it manually. Once complete, the bot should be all set!
Note that if you close this terminal the bot will be disconnected. The bot can be run in the background with no terminal by opening run_silent.vbs.
You may want to create a shortcut to run.bat or run_silent.vbs in your Startup folder:
C:\Users\[YOURNAME]\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
curl -L https://github.com/LakeYS/Dishorde/releases/download/v2.2.0/Dishorde.tar.gz > 7dtdbot.tar.gz
to download the bot's files to an archive named 7dtdbot.tar.gz
.tar -xzf 7dtdbot.tar.gz
to extract the archive. This will create a directory named "7DTD-Discord-master". Navigate to the directory with cd 7DTD-Discord-master
.sudo chmod +x run.sh
. This gives you permission to execute run.sh. (If this does not work, try chmod +x run.sh
)npm install
to install the required packages for the bot to run.https://discord.com/oauth2/authorize?client_id=APP_ID&scope=bot
"password": "changeme",
and replace "changeme" with your server's telnet password.Once you complete all of this, you will be able to run the bot by executing run.sh (Navigate to the bot's directory and enter ./run.sh
). If you've done all of this correctly, you will see the following:
Connected to game. Connected to 1 Discord Servers.
To set the channel for your server's chat, open Discord and type 7d!setchannel #yourchannel
in your server. If the setchannel command doesn't work, try setting it manually. Once complete, the bot should be all set!