RoodyProxy
Discord
modules.discord is a Discord bot inside the proxy (with several proxies, turn it on in one of them only):
- Create a bot in the Discord Developer Portal, turn on its Message Content intent and invite it to your server.
- Put its
token, your server's id inguild, and the channel ids inchats.staffchat.channel,chats.adminchat.channelandtickets.channels. Setenabled: trueand restart the proxy.
- Staff and admin chat: what is written in the game shows in the channel (through a webhook, with the player's head) and what is written in the channel reaches the game.
- Requests: each helpop and report is a message with Handle and Close buttons and its own thread; what the staff writes in the thread reaches the player.
staff-rolelimits who can handle them andmention-roleis pinged when one comes in. - Slash commands:
/staff(who is online and where),/link <code>(with the code of/ticket linkin the game, so what someone handles from Discord counts for their Minecraft name in/stafftop) and/stafftop.
Its texts are in the lang file under discord.*; with per-player-language, answers to slash commands and buttons use each user's Discord language.