This is a simple mod that uses a Discord bot to send Discord messages when a player joins/leaves your server. It also
adds a /list
Discord command that lists online players.
This is probably most useful for small multiplayer servers, alerting other players when the boys are online.
discord-bot-token=none
guild-id=none
message-channel-id=none
send-join-messages=true
send-leave-messages=true
join-message-format=๐ข %s is online!
leave-message-format=๐ด %s is offline.
The first three should be replaced with strings. You can get the token by creating a Discord bot, and the second two by enabling Developer Mode and right-clicking.
The middle two determine whether or not the join/leave messages are sent.
The final two allow you to customize the join/leave message formats.
When creating the application/bot, make sure to enable these commands.
OAuth2:
applications.commands
Bot:
Send Messages
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.