「ChatEx」の版間の差分

提供:pkki鯖公式wiki
編集の要約なし
編集の要約なし
34行目: 34行目:


== Configファイル ==
== Configファイル ==
<nowiki><syntaxhighlight lang="yml" line># check-for-updates: Should the plugin check for updates by itself?</nowiki>
<syntaxhighlight lang="yml" line>
 
# check-for-updates: Should the plugin check for updates by itself?
<nowiki>#</nowiki> bungeecord: If you use bungeecord, players can chat cross-server wide with the range mode (! in front of the message).
# 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> 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?
<nowiki>#</nowiki> global-message-format: The message-format if ranged-mode is enabled.
# multi-suffixes: Should the multi-suffixes be enabled?
 
# ranged-mode: Should the ranged-mode be enabled?
<nowiki>#</nowiki> multi-prefixes: Should the multi-prefixes 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?
<nowiki>#</nowiki> multi-suffixes: Should the multi-suffixes be enabled?
# chat-range: The range to talk to other players. Set to -1 to enable world-wide-chat
 
# logChat: Should the chat be logged?
<nowiki>#</nowiki> ranged-mode: Should the ranged-mode be enabled?
# 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.)
<nowiki>#</nowiki> ranged-prefix: The Prefix to use for Range Mode
# Ads.Enabled: Should we check for ads?
 
# Ads.Bypass: A list with allowed ips or domains.
<nowiki>#</nowiki> show-no-players-near: Should we check if any player would receiver your chat message?
# 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)
<nowiki>#</nowiki> chat-range: The range to talk to other players. Set to -1 to enable world-wide-chat
# Ads.SmartConfig.DomainEndings: The endings the SmartManager applies the multiplier to.
 
# Ads.ReplaceCommas: Should commas be replaced with "." for the add test?
<nowiki>#</nowiki> logChat: Should the chat be logged?
# 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.
<nowiki>#</nowiki> debug: Should the debug log be enabled?
# Ads.Threshold.Block: The threshold required to cancel a message.
 
# Ads.Threshold.ReduceThreshold: How much threshold is removed per message
<nowiki>#</nowiki> Locale: Which language do you want? (You can choose betwenn de-DE, fr-FR, pt-BR and en-EN by default.)
# 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
<nowiki>#</nowiki> Ads.Enabled: Should we check for ads?
# AntiSpam.Enable: Should antispam be enabled?
 
# BlockedWords: A list of words that should be blocked.
<nowiki>#</nowiki> Ads.Bypass: A list with allowed ips or domains.
# Tablist.Change: Do you want to have the prefixes and suffixes in the tablist?
 
# Tablist.format: The format of the tablist name
<nowiki>#</nowiki> Ads.Log: Should the ads be logged in a file?
# Messages.JoinAndQuit.Enabled: Do you want to change the join and the quit messages?
 
<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.
 
<nowiki>#</nowiki> Tablist.Change: Do you want to have the prefixes and suffixes in the tablist?
 
<nowiki>#</nowiki> Tablist.format: The format of the tablist name
 
<nowiki>#</nowiki> 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:
  JoinAndQuit:
    Enabled: false
 
</syntaxhighlight>
    Enabled: false<nowiki></syntaxhighlight></nowiki>

2023年11月17日 (金) 11:26時点における版

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

チャットをクリアする。

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