Staff++
latest
latest
  • Staff++
  • General information
    • Quick start
    • Reload Configuration
    • Multi Server Setup
    • General Configuration
    • Other
      • Text parsing
      • Styling the GUIs
        • Gui structure
        • Selectors
      • Configuring command hooks
  • Permissions & Commands
    • Commands
    • Permissions
      • Legacy permissions
  • Features
    • Alerts
      • X-Ray
    • Alt account detection
    • Authentication
    • Banning
      • IP Banning
        • Messages
      • Fixed Ban Reason
      • Templates
    • Blacklist
    • Broadcasting
    • Chat module
    • Chest/Inventory Interaction
    • Command detection
    • Examine players
    • Freezing
      • Command hooks
      • Luckperms integration
      • Chat channels
    • Infractions
    • Investigate
      • Command hooks
    • Join messages
    • Player IPs
    • Kicking
    • Muting
      • Appealing
    • Protection
    • Player information
    • Player notes
    • Reporting
      • Command hooks
      • Messages
      • Finding reports
      • Report types & Reasons
      • Chat channels
    • Staff Chat
    • Staff Mode
      • Multiple modes
      • Staff Modules
      • Custom Staff Modules
        • State dependent modules
      • Command hooks
      • Luckperms integration
    • Staff Locations
    • Teleporting
    • Vanish
      • Luckperms integration
    • Warnings
      • Quick start
      • Severity levels
      • Thresholds
      • Actions (punishments)
      • Appealing
      • Warning workflow
  • Web Platform
    • Register Players
    • Setup Web Platform
    • Architecture
  • Integrations
    • Discord Integration
      • Staff Chat
      • Template Packs
      • Customize Discord Templates
    • Trello Integration
    • PAPI expansion
      • PAPI Examples
  • Migration guides
    • Staff+ migration guide
    • Migrating to >=V1.16.43
    • Upgrading Discord Integration to 1.16.51
  • Developers
    • API guide
Powered by GitBook
On this page
  • Discord setup
  • DiscordSRV Configuration
  • Staff++ Discord Configuration
  • Example messages

Was this helpful?

  1. Integrations
  2. Discord Integration

Staff Chat

PreviousDiscord IntegrationNextTemplate Packs

Last updated 1 year ago

Was this helpful?

This functionality requires the DiscordSRV plugin

You can use the discord integration plugin to setup a staff-chat channel and synchronize messages between in-game and discord chat. To do so you must have the DiscordSRV bot configured as described here: Once this is setup you can start setting up Staff++ Discord.

Discord setup

Go into Discord and create a new channel. The channel name can be whatever you want.

Go ahead an grab the channel id by right clicking on the channel name and selecting copy id:

DiscordSRV Configuration

Open the config.yml file of the DiscordSRV plugin. Add your channel id to the channels array. The identifier inside the array must be "staffplusplus-<channelname>" . By default staff++ only has one staffchat channel, name "staffchat". So in this case I will configure "staffplusplus-staffchat". If you have for example another channel configured in staff++ called "adminchat", you can add another channel in the discordsrv config called "staffplusplus-adminchat".

Channels: { "global": "000000000000000000", "staffplusplus-staffchat": "xxxxxxxxxxxxxxxxxxxxx"}

Channel custom formatting

In DiscordSRV you can have custom formatting for every channel differently. To have custom formatting inside DiscordSRV open up the language file inside the messages folder of DiscordSRV

MinecraftChatToDiscordMessageFormat: "**%primarygroup%** %displayname% » %message%"
MinecraftChatToDiscordMessageFormatNoPrimaryGroup: "%displayname% » %message%"

MinecraftChatToDiscordMessageFormat_staffplusplus-staffchat: "**(STAFFCHAT)** %displayname% » %message%"
MinecraftChatToDiscordMessageFormatNoPrimaryGroup_staffplusplus-staffchat: "**(STAFFCHAT)** %displayname% » %message%"

You can set a format for your specific channel by adding MinecraftChatToDiscordMessageFormat_staffplusplus-staffchat

Staff++ Discord Configuration

Open the config.yml of the Staff++ plugin. And enable staffchat sync.

StaffPlusPlusDiscord:
  staffchat:
    sync: true

That's it! Restart your server and you will be see that message in game get displayed inside your discord channel and vice versa.

Example messages

https://docs.dedicatedmc.io/plugins-mods/how-to-install-discordsrv/