ChatEx

提供:pkki鯖公式wiki

ChatExプラグインは、Minecraft内のチャットのスパム対策などしたり、特定の単語をブロックしたりすることができるプラグインです。

ChatEx
制作者 thejeterlp
最新バージョン(2023/11/17) 3.1.0
対応バージョン 1.13~
リリース日 2019/09/05
SpigotMC SpigotMC-chatex
Github Github-ChatEx

サポートプラグイン

コマンド

/chatex reload

ChatExプラグインのリロード

/chatex clear

チャットをクリアする。

権限

  • chatex.allowchat - チャットを打つことができる権限です。デフォルトでこの権限は付与されています。
  • chatex.chat.global - グローバルサーバーまたはクロスサーバーでチャットをするのに必要な権限です。
  • chatex.chat.color - チャットでカラーコードを使用することができる権限です。
  • chatex.antispam.bypass - スパム判定を回避することができる権限です。
  • chatex.bypassads - 広告判定を回避することができる権限です。
  • chatex.notifyad - プレーヤーが広告を出そうとしたときにメッセージを送る必要がある権限です。
  • chatex.notifyupdate - サーバー参加時に、このプラグインのアップデート情報を受け取ることができる権限です。
  • chatex.clear - チャットをクリアすることができる権限です。
  • chatex.reload - ChatExプラグインをリロードすることができる権限です。

Configファイル

# check-for-updates: Should the plugin check for updates by itself?
# bungeecord: If you use bungeecord, players can chat cross-server wide with the range mode (! in front of the message).
# message-format: The standard message-format.
# global-message-format: The message-format if ranged-mode is enabled.
# multi-prefixes: Should the multi-prefixes be enabled?
# multi-suffixes: Should the multi-suffixes be enabled?
# ranged-mode: Should the ranged-mode be enabled?
# ranged-prefix: The Prefix to use for Range Mode
# show-no-players-near: Should we check if any player would receiver your chat message?
# chat-range: The range to talk to other players. Set to -1 to enable world-wide-chat
# logChat: Should the chat be logged?
# debug: Should the debug log be enabled?
# Locale: Which language do you want? (You can choose betwenn de-DE, fr-FR, pt-BR and en-EN by default.)
# Ads.Enabled: Should we check for ads?
# Ads.Bypass: A list with allowed ips or domains.
# Ads.Log: Should the ads be logged in a file?
# Ads.SmartManager: Should the "Smart Manager" be used? (For more information read: https://github.com/TheJeterLP/ChatEx/wiki/Ad-Manager)
# Ads.SmartConfig.DomainEndings: The endings the SmartManager applies the multiplier to.
# Ads.ReplaceCommas: Should commas be replaced with "." for the add test?
# Ads.SmartConfig.Multiplier: If a domain pattern contains an ending from Ads.SmartConfig.DomainEndings the score get multiplied by this number.
# Ads.SmartConfig.UnMultiplier: If a domain pattern contains NOT an ending from Ads.SmartConfig.DomainEndings the score get multiplied by this number.
# Ads.Threshold.Block: The threshold required to cancel a message.
# Ads.Threshold.ReduceThreshold: How much threshold is removed per message
# Ads.Threshold.MaxLinkLength: What the max detected link length is (For more information read: https://github.com/TheJeterLP/ChatEx/wiki/Ad-Manager)
# AntiSpam.Seconds: The delay between player messages to prevent spam
# AntiSpam.Enable: Should antispam be enabled?
# BlockedWords: A list of words that should be blocked.
# Tablist.Change: Do you want to have the prefixes and suffixes in the tablist?
# Tablist.format: The format of the tablist name
# Messages.JoinAndQuit.Enabled: Do you want to change the join and the quit messages?

check-for-updates: true
bungeecord: false
message-format: '%prefix%player%suffix: %message'
global-message-format: '&9[%world] %prefix%player%suffix: &e%message'
multi-prefixes: false
multi-suffixes: false
ranged-mode: false
ranged-prefix: '!'
show-no-players-near: true
chat-range: 100
logChat: false
debug: false
Locale: en-EN
Ads:
  Enabled: true
  Bypass:
  - 127.0.0.1
  - my-domain.com
  Log: true
  SmartManager: true
  SmartConfig:
    DomainEndings:
    - com
    - net
    - org
    - de
    - icu
    - uk
    - ru
    - me
    - info
    - top
    - xyz
    - tk
    - cn
    - ga
    - cf
    - nl
    - eu
    Multiplier: 4
    UnMultiplier: 1
  ReplaceCommas: false
  Threshold:
    Block: 0.3
    ReduceThreshold: 0.1
    MaxLinkLength: 10
AntiSpam:
  Seconds: 5
  Enable: true
BlockedWords:
- shit
- '@everyone'
Tablist:
  Change: true
  format: '%prefix%player%suffix'
Messages:
  JoinAndQuit:
    Enabled: false‎

configファイルでは、ChatEx自動アップデートチェック,バンジーコードの設定,広告ブロックなどの設定を行えます。

AntiSpamのSecondの値は10人~40人規模のサーバーでは1でよいと思います。この設定はチャットを打った後の待機時間の設定です。