DiscordSRV / Staff-Chat

A staff-chat plugin that hooks into DiscordSRV
MIT License
29 stars 11 forks source link
bukkit discord minecraft plugin spigot staff-chat
# ![](https://i.imgur.com/DZwTm1u.png "DiscordSRV-Staff-Chat Logo") [![](https://img.shields.io/badge/License-MIT-blue)](./LICENSE "Project License: MIT") [![](https://img.shields.io/badge/Java-11-orange)](# "Java Version: 11") [![](https://img.shields.io/github/v/release/DiscordSRV/Staff-Chat.svg?label=Release&color=ok)](https://github.com/DiscordSRV/Staff-Chat/releases/latest "Latest Release") [![](https://img.shields.io/spiget/downloads/44245?color=yellow&label=Spigot%20Downloads)](https://www.spigotmc.org/resources/discordsrv-staff-chat.44245/ "Spigot Resource Page") [![](https://img.shields.io/modrinth/dt/uD7Bzf5q?color=%2300af5c&label=Modrinth%20Downloads&logo=modrinth)](https://modrinth.com/plugin/uD7Bzf5q "Modrinth Project Page")

DiscordSRV-Staff-Chat is a staff chat plugin that connects to a Discord channel (via DiscordSRV), allowing in-game staff to communicate with staff on Discord.

Installation

Adding a staff-chat channel

Add a "staff-chat" entry to DiscordSRV's config. Note: it's very important that this entry is called "staff-chat".

# 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"}

Replace all those zeros with your staff chat's channel ID.

Channels: {"global": "000000000000000000", "staff-chat": "337769984539361281"}

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, /discordsrvstaffchat, /discordstaffchat, /discordadminchat, /manageadminchat

Usage:

  • /managestaffchat - Display plugin information and command usage.
  • /managestaffchat reload - Reload configs.
  • /managestaffchat debug - Enable or disable debugging.