工作人员哨兵

工作人员哨兵

每个聊天都有discord系统的员工聊天

Staff-Sentinel 模组支持 Discord 与 Minecraft 之间的双向通信,通过两个频道进行。

命令

/staffchat

Description: Toggles staff chat for the player or console. Sends messages to the staff chat and Discord channel.
Usage:
    /staff or /stc - Toggles the staff chat mode for the player or console.
    /staff or /stc [message] - Sends a message to the staff chat.

/adminchat

Description: Toggles admin chat for the player or console. Sends messages to the admin chat and Discord channel.
Usage:
    /admin or /ac - Toggles the admin chat mode for the player or console.
    /admin or /ac [message] - Sends a message to the admin chat.

/staffchatreload

Description: Reloads the staff chat configuration.
Usage: /staffchatreload 

配置设置文件

{
  "settingConfig": {
    "admin_chat_message": "<red>Moved into Admin chat.</red>",
    "staff_chat_message": "<green>Moved into staff chat.</green>",
    "global_chat_message": "<blue>Meved back to Global chat.</blue>",
    "admin_chat_color": "<red>",
    "staff_chat_color": "<#589bff>",
    "admin_channel_tag": "<white>[<red>AC</red><white>]</white> ",
    "staff_channel_tag": "<white>[<red>SC</red><white>]</white> ",
    "discord_bot_token": "[BOT TOKEN]",
    "ADMIN_DISCORD_CHANNEL_ID": "[CHANNEL ID]",
    "STAFF_DISCORD_CHANNEL_ID": "[CHANNEL ID]",
    "DC_admin_channel_tag": "<white>[<red>DC AC</red><white>]</white> ",
    "DC_staff_channel_tag": "<white>[<red>DC SC</red><white>]</white> ",
    "discord_enable": false,
    "DEBUG": false
  }
}