「ChatEx」の版間の差分

提供:pkki鯖公式wiki
編集の要約なし
編集の要約なし
 
(同じ利用者による、間の6版が非表示)
33行目: 33行目:
チャットをクリアする。
チャットをクリアする。


== Configファイル ==
== 権限 ==
<nowiki><syntaxhighlight lang="yml" line># check-for-updates: Should the plugin check for updates by itself?</nowiki>


<nowiki>#</nowiki> bungeecord: If you use bungeecord, players can chat cross-server wide with the range mode (! in front of the message).
* <code>chatex.allowchat</code> - チャットを打つことができる権限です。デフォルトでこの権限は付与されています。
* <code>chatex.chat.global</code> - グローバルサーバーまたはクロスサーバーでチャットをするのに必要な権限です。
* <code>chatex.chat.color</code> - チャットでカラーコードを使用することができる権限です。
* <code>chatex.antispam.bypass</code> - スパム判定を回避することができる権限です。
* <code>chatex.bypassads</code> - 広告判定を回避することができる権限です。
* <code>chatex.notifyad</code> - プレーヤーが広告を出そうとしたときにメッセージを送る必要がある権限です。
* <code>chatex.notifyupdate</code> - サーバー参加時に、このプラグインのアップデート情報を受け取ることができる権限です。
* <code>chatex.clear</code> - チャットをクリアすることができる権限です。
* <code>chatex.reload</code> - ChatExプラグインをリロードすることができる権限です。


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


<nowiki>#</nowiki> BlockedWords: A list of words that should be blocked.
<syntaxhighlight lang="yaml" line="">
 
# check-for-updates: Should the plugin check for updates by itself?
<nowiki>#</nowiki> Tablist.Change: Do you want to have the prefixes and suffixes in the tablist?
# 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.
<nowiki>#</nowiki> Tablist.format: The format of the tablist name
# global-message-format: The message-format if ranged-mode is enabled.
 
# multi-prefixes: Should the multi-prefixes be enabled?
<nowiki>#</nowiki> Messages.JoinAndQuit.Enabled: Do you want to change the join and the quit messages?
# 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
check-for-updates: true
bungeecord: false
bungeecord: false
message-format: '%prefix%player%suffix: %message'
message-format: '%prefix%player%suffix: %message'
global-message-format: '&9[%world] %prefix%player%suffix: &e%message'
global-message-format: '&9[%world] %prefix%player%suffix: &e%message'
multi-prefixes: false
multi-prefixes: false
multi-suffixes: false
multi-suffixes: false
ranged-mode: false
ranged-mode: false
ranged-prefix: '!'
ranged-prefix: '!'
show-no-players-near: true
show-no-players-near: true
chat-range: 100
chat-range: 100
logChat: false
logChat: false
debug: false
debug: false
Locale: en-EN
Locale: en-EN
Ads:
Ads:
 
  Enabled: true
  Enabled: true
  Bypass:
 
  - 127.0.0.1
  Bypass:
  - my-domain.com
 
  Log: true
  - 127.0.0.1
  SmartManager: true
 
  SmartConfig:
  - my-domain.com
    DomainEndings:
 
    - com
  Log: true
    - net
 
    - org
  SmartManager: true
    - de
 
    - icu
  SmartConfig:
    - uk
 
    - ru
    DomainEndings:
    - me
 
    - info
    - com
    - top
 
    - xyz
    - net
    - tk
 
    - cn
    - org
    - ga
 
    - cf
    - de
    - nl
 
    - eu
    - icu
    Multiplier: 4
 
    UnMultiplier: 1
    - uk
  ReplaceCommas: false
 
  Threshold:
    - ru
    Block: 0.3
 
    ReduceThreshold: 0.1
    - me
    MaxLinkLength: 10
 
    - 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:
AntiSpam:
 
  Seconds: 5
  Seconds: 5
  Enable: true
 
  Enable: true
 
BlockedWords:
BlockedWords:
- shit
- shit
- '@everyone'
- '@everyone'
Tablist:
Tablist:
 
  Change: true
  Change: true
  format: '%prefix%player%suffix'
 
  format: '%prefix%player%suffix'
 
Messages:
Messages:
  JoinAndQuit:
    Enabled: false‎</syntaxhighlight>configファイルでは、ChatEx自動アップデートチェック,バンジーコードの設定,広告ブロックなどの設定を行えます。


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

2023年11月18日 (土) 20:04時点における最新版

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でよいと思います。この設定はチャットを打った後の待機時間の設定です。