DiscordSRV-Staff-Chat is an
addon for
DiscordSRV that allows in-game staff to easily communicate with staff on Discord.
In other words, it's a standard staff-chat plugin with Discord integration!
Installation
- Prerequisite: your server must be running on at least Java 11 or later.
- Add DiscordSRV and DiscordSRV-Staff-Chat to your plugins/ directory.
- Restart the server.
- Add a staff-chat channel to DiscordSRV's config (see below).
- Execute: /discord reload or restart the server again.
Adding a staff-chat channel
• Step 1:
Add a
"staff-chat" entry to
DiscordSRV's config
@
plugins/DiscordSRV/config.yml
Note: it's
very important that this entry is called "staff-chat".
- - - Example: - - -
Code (YAML):
# Channel links from game to Discord
# syntax is Channels: {"in-game channel name from Minecraft": "numerical channel ID from Discord", "another in-game channel name from Minecraft": "another numerical channel ID from Discord"}
#
Channels
:
{
"global"
:
"000000000000000000",
"staff-chat"
:
"000000000000000000"
}
• Step 2:
Replace all those zeros with your staff chat's channel ID.
Code (YAML):
Channels
:
{
"global"
:
"000000000000000000",
"staff-chat"
:
"337769984539361281"
}
• Step 3:
Finally, execute
/discord reload
or restart the server!
Commands & Permissions
/staffchat
Permission:
staffchat.access
Aliases:
/adminchat, /schat, /achat, /sc, /ac, and /a
Usage:
- /staffchat - Toggle automatic staff chat.
- /staffchat <message> - Send a message to the staff chat.
/leavestaffchat
Permission:
staffchat.access
Aliases:
/leaveadminchat
Usage:
- /leavestaffchat - Stop receiving staff chat messages.
- Useful to avoid leaking staff chat messages if a staff member is filming or streaming.
- This can be disabled in the config if you don't want staff members to turn off their staff chat.
/joinstaffchat
Permission:
staffchat.access
Aliases:
/joinadminchat
Usage:
- /joinstaffchat - Start receiving staff chat messages again if you previously left.
/togglestaffchatsounds
Permission:
staffchat.access
Aliases:
/toggleadminchatsounds
Usage:
- /togglestaffchatsounds - Mute or unmute staff chat sounds for yourself.
/managestaffchat
Permission:
staffchat.manage
Aliases:
/discordsrv-staff-chat, /discrodsrvstaffchat, /discordstaffchat, /discordadminchat, /manageadminchat
Usage:
- /managestaffchat - Display plugin information and command usage.
- /managestaffchat reload - Reload configs.
- /managestaffchat debug - Enable or disable debugging.