CMI Staff Chat Additions 图标

CMI Staff Chat Additions

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/cmistaffchatadditions
资源信息

Minecraft 版本: 1.19.4

平台: paper

标签: management utility

资源介绍

Discontinued

Discontinued in favor of CMI's new event:
with discord srv, simply use that instead
if its still needed for its other uses, let me know through discord @The456gamer#3999 (324638236196601869)

REQUIREMENTS

Paper (NO Spigot compatibility)
CMI from Spigotmc.org

Features

  • hooks directly into CMI, so no messages are missed, and is comparable with bungee cord if installed on each server
  • multiple destinations, so you can send your messages to multiple channels at the same time
  • Works with staff message persistence, including ignoring subcommands to control it

Commands

Only /cmistaffchatadditionsreload
Staff chat itself uses CMI's native command

Permissions

cmistaffchatadditions.reloadconfig (given to /op by default)

Uses

  • an offline log file just for staff messages
  • a separate discord channel just for staff messages, staying in touch privately even when not in the game
  • custom actions through the power of console commands (NOTE: currently there is no attempt at escaping user messages. stick to simple placeholders, like UUID and time)
  • multiple locations for the same destination, each with their own settings means that different channels can contain different information

Default Config

# A list of handlers with their config options
#
# placeholders
# ${sendername}, ${senderuuid}, ${message}, ${isotime}

# Each handler can Appear multiple times
handlers:
  # Send a message to Console using the plugin's logger
  # CMI auto logs to console, so in most cases this is not needed
#  - type: consolemsg
#    format: "msgint: from:'${sendername}' msg:'${message}'"

  # Logs all messages to a file in the plugins folder
  - type: logfile
    # the format of each line in the log file
    logline-format: "${isotime} - ${senderuuid} \"${sendername}\": \"${message}\""
    # the file to save the log in
    filename-format: "staffmsglog.txt"

  # Sends all staffchat messages to a discord webhook
#  - type: discordwebhook
#    webhook-url: "[REPLACEME]"
#    msg-format: |
#      StaffMsg:
#      from:'${sendername}'
#      msg:'${message}'
#    name-format: "${sendername}"
#    avatarurl-format: "https://mc-heads.net/head/${sendername}/256"

  # Runs a command in console when a staffmsg occurs
#  - type: consolecommand
#    command: "say this command is run in console"

  # Sends the message to a discord SRV channel. another named channels needs to be setup in your discord srv config
#  - type: discordsrv
#    format: |
#      StaffMsg:
#      from:'${sendername}'
#      msg:'${message}'
#    # The Channel name, as in discord srv's config. !!NOT THE CHANNEL NAME ON DISCORD!!
#    channel: "staffchat"

  # Sends the message to a slack webhook
#  - type: slackwebhook
#    webhook-url: "[REPLACEME]"
#    msg-format: |
#      StaffMsg:
#      from:'${sendername}'
#      msg:'${message}'
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Перевод 24w14potato

价格:0 墨喵币
下载量:0

查看详情
Ender beetles

价格:0 墨喵币
下载量:0

查看详情
Net Music: Play List

价格:0 墨喵币
下载量:0

查看详情
Plummet

价格:0 墨喵币
下载量:0

查看详情