AntiSpam 是一款功能全面、高度可配置的 Minecraft 插件,它能有效监控聊天,防止刷屏、重复消息、使用违禁词以及其他不受欢迎的玩家行为。该插件设计注重性能、清晰度和灵活性,适用于小型服务器和大型网络。
config.yml 中独立启用或禁用,轻松适应不同服务器的需求。AntiSpam 包含一套先进的自动惩罚系统,用于处理屡次违反聊天规则的玩家。
mute、warn、tempmute、ban 等)。插件内置一个网页界面,允许管理员通过惩罚 ID 进行搜索,并查看聊天违规的详细信息。
data.db):适用于小型服务器。所有数据库设置均可在配置文件中完全配置。
/antispam reload重新加载插件配置和语言文件,无需重启服务器。
所需权限: antispam.reload
/antispam check <ID>使用唯一的惩罚 ID 搜索特定的惩罚记录。
所需权限: antispam.check
antispam.reload – 允许使用 /antispam reload 命令。antispam.check – 允许使用 /antispam check <ID> 命令。antispam.bypass – 拥有此权限的玩家将被 AntiSpam 完全忽略,不受任何聊天检查的影响。antispam.notify – 允许在插件新版本发布时接收更新通知。EN)CZ)DE)您可以根据服务器需求,自由编辑或翻译成自定义语言。
配置文件 config.yml 清晰且易于编辑,无需修改源代码即可实现以下配置:
# 选择插件语言。可用选项:EN, CZ, DE。您可以在 /languages/ 文件夹中编辑这些文件。
language: EN
# 数据库配置。类型可选 "SQLITE"(本地文件)或 "MYSQL"(外部数据库)。
database:
type: "SQLITE"
host: "localhost"
port: 3306
database: "minecraft_db"
username: "root"
password: "password"
useSSL: false
# 聊天限制
block-repeated-messages: true # 是否阻止重复消息
repeat-message-delay: 60 # 允许再次发送相同消息前的等待秒数
delay: 3 # 任意聊天消息之间的全局冷却秒数
block-repeated-characters: true # 是否阻止重复字符
max-repeating-characters: 3 # 允许的最大连续相同字符数
# 惩罚设置
punishment-issuer: "AntiSpam" # 惩罚指令的执行者显示名称
# 惩罚类别配置
punishments:
blocked-word: # 违禁词违规
enabled: true
threshold: 3 # 触发惩罚的违规次数
command: "tempmute %player% 2h Inappropriate behavior (#%punish_id%)"
spam: # 刷屏违规
enabled: true
threshold: 5
command: "tempmute %player% 30m Spamming (#%punish_id%)"
flood: # 消息洪水违规
enabled: true
threshold: 5
command: "tempmute %player% 15m Flood (#%punish_id%)"
# 违禁词列表
blocked-words:
- "badword1"
- "badword2"prefix: "§6AntiSpam §8» "
blocked-word-message: "§7Your message contains a blocked word."
reload-message: "§7Plugin reloaded successfully."
wait-message: "§7You need to wait §6%remaining_time% §7seconds before sending another message."
repeat-message: "§7Do not send the same message twice in a row."
no-permission-message: "§cYou do not have permission to use this command."
repeat-character-message: "§7Your message contains too many repeating characters."
invalid-id-message: "§cID must be a number."
punish-check-not-found: "§cPunishment with this ID not found."
punish-check-found: |-
§7Punishment Lookup
§7Punishment ID: §6%id%
§7Player: §e%player%
§7Category: §c%category%
§7Message: §f%content%(捷克语 Locale_CZ.yml 和德语 Locale_DE.yml 文件结构类似,此处省略。)
---
重要提示:下载此文件即表示您同意不出售此插件或将其作为自己的产品展示。请勿通过评价来报告错误,如有任何问题请直接在我的 Discord 服务器上报告。如果您有新的功能建议,也欢迎在 Discord 服务器上联系我。
友情链接: 网易我的世界 | 泰拉瑞亚 | ocent云计算 | 米饭Minecraft插件文档 | 友链合作
历史访问人数:2,635,404 | 历史访问人次:3,193,588
今日访问人数:10,301 | 今日访问人次:10,947
昨日访问人数:46,463 | 昨日访问人次:52,262
Copyright © 2019-2026 我的世界服务器列表站. All rights reserved.
❤ Powered by GermMC 京ICP备17023959号-6