NeoModeration 由 Neomechanical 开发,用于过滤 Minecraft 聊天内容。安装后即可立即阻止脏话、侮辱性言论、诈骗链接、其他服务器的广告以及垃圾信息,无需账号或 API 密钥。
新安装的功能
- 阻止包含 starter 列表(入门列表)中脏话和侮辱性词汇的消息:支持英语,以及根据
config.yml 中的 locale 匹配的西语、法语、德语、葡萄牙语或土耳其语列表(启用 languagePacks 可添加更多语言包)。单词匹配仅发生在完整单词的起始到结束之间,因此像 "assignment" 和 "Scunthorpe" 这样的词不会被误判,日常用语组合成的列表词汇(如 "put a torch here")也会被放行。如果服务器使用该语言且允许玩家使用该语言书写,那么该语言中常用的单词(例如法语中表示“迟到”的 "retard")也会通过。
- 同时匹配常见变体形式的列表词汇:包括空格分隔、标点符号插入、字母拉伸、重音符号、相似外观字母、类似 Leetspeak 的写法(如
b4dw0rd),以及在快速发送的短消息中拆分显示的单词。
- 阻止其他 Minecraft 服务器的广告:公开 IP 地址、带端口的地址、
play. 和 mc. 风格的地址、免费主机域名(如 aternos.me)以及 "join myserver.net" 格式的内容。普通链接不受影响。如需放行您自己服务器的地址,请使用 /nmod allow url。
- 阻止 starter 列表中的 IP 抓取器和诈骗链接,包括使用
(dot) 或 [.] 写法的链接。
- 阻止垃圾信息:消息刷屏、重复发送相同消息以及长串单一字符。大写消息将以小写形式发出。
- 以玩家自己的游戏语言告知其消息被拦截的原因。
- 向拥有
neomoderation.notify 权限的管理员(默认为 OP)发出警报,显示玩家、消息内容、原因及采取的行动。可以处理案件的管理员可以点击警报查看该玩家的历史记录。在遭受攻击期间,警报会暂停,随后会显示一行统计信息说明有多少管理员错过了警报。
- 允许拥有
neomoderation.moderate 权限的版主使用案件管理、静音处罚和测试功能,而设置权限仍保留给管理员。
- 将每次检测记录为服务器上的一个案件。使用
/nmod cases 列出它们;打开一个案件以解决或撤销它,放行该词汇或静音玩家。除非开启选项,否则日志不包含消息文本。
新安装版本绝不会静音、踢出或封禁玩家,也不会清除聊天内容。请检查服务器的 starter 列表,并通过 /nmod word、/nmod url 和 /nmod allow 命令进行修改。
首次检查
- 将 jar 文件放入
plugins/ 目录并重启服务器。
- 运行
/nmod test badword。预览界面将显示入门规则标记并阻止该词汇,且不会对任何玩家执行实际操作。
- 运行
/nmod doctor 检查您的配置。
若要使本地规则仅向管理员发出警报而不进行拦截,请运行 /nmod mode monitor。
可选选项(新安装时全部关闭)
- 对匹配的词汇和链接进行星号隐藏,放行消息其余部分(对应
config.yml 中的 moderation.chat.censorLocalDetections)。
- 阻止所有链接和服务器 IP 地址,包括使用
(dot) 或 [.] 写法的地址(对应 moderation.offline.blockAnyUrl)。
- 使用
/nmod surface 检查告示牌、书籍、铁砧重命名以及 /msg 和 /me 等聊天命令。每个组件都可以设置为监控、审查或阻止。命令检查还能捕获发送命令过快的玩家。
- 使用
/nmod discord 将检测警报发送到 Discord 管理员频道,并使用 /nmod discord test 测试 Webhook。
- 使用
/nmod action 在拦截后添加操作:清除聊天、静音、踢出或封禁。静音功能无需其他插件支持,也涵盖私聊(/msg、/tell、/r、/me、/mail 及其别名),并且可以使用 /nmod mute 手动静音玩家。
- 为每条被拦截或被星号隐藏的警告消息添加一次违规记录,并在玩家达到设定次数时采取行动(对应
moderation.strikes)。
可选云端检查
Neomechanical Moderation API 的 AI 模型可以读取每条聊天消息的含义,分为八类:色情内容、仇恨言论、骚扰、暴力、诈骗、垃圾信息、非法活动和自残行为。当玩家手持填充地图、将其放入物品展示框或在展示框上右键点击时,它还可以检查地图艺术内容,每小时每名玩家最多检查 30 张新图片。
/nmod trial 解释免费 14 天试用期的内容,运行 /nmod trial start 即可开始试用。它不需要账号,每个服务器可以启动一次试用。
- 要使用您自己的工作区,创建账号,使用
events:write 和 usage:read 范围创建 API 密钥,然后运行 /nmod setup <key>。
- 云端决策仅在您运行
/nmod cloudmode enforce 之前仅向管理员发出警报;而在仅警报模式下,聊天不会等待云端响应。在执行模式(enforce mode)下,被标记的地图会从持有者手中移除,挂在物品展示框中的地图也会被取下。
/nmod preset family、community 或 minimal 用于设置每类的严格程度。
- 如果无法连接到云端,聊天将通过且本地规则继续运行。聊天最多等待 2.5 秒获取云端响应。
- 每次检查会通过 HTTPS 向
api.neomechanical.com 发送一条消息,或一张地图图片,包含玩家名称和 UUID。之前的消息永远不会发送。运行 /nmod privacy 可查看您的设置发送了哪些数据。
- 云端检查使用积分,运行
/nmod usage 可查看剩余数量。
隐私与指标
在没有 API 密钥或 Discord Webhook 的情况下,没有任何聊天或地图内容离开您的服务器。NeoModeration 向 bStats 发送技术指标,bStats 不存储聊天内容、玩家名称或 API 密钥。您可以在 plugins/bStats/config.yml 中关闭它们。启动时,NeoModeration 会询问 GitHub 是否存在新版本。您可以在 config.yml 中使用 updateCheck 关闭此功能。
兼容性
NeoModeration 适用于 Spigot、Paper 和 Purpur,支持 Minecraft 1.18.2 至 26.3,并兼容 Folia。发布版检查在 Paper 1.18.2、1.19.4、1.20.6、1.21.11、26.1.2、26.2 和 26.3,Folia 1.21.11,Spigot 1.21.11 和 Purpur 1.21.11 上运行。游戏内消息支持英语、西班牙语、法语、德语、葡萄牙语或土耳其语,每位玩家均以其自己的游戏语言阅读这些消息。
链接
NeoModeration by Neomechanical filters Minecraft chat. It blocks swearing, slurs, scam links, ads for other servers and spam as soon as it is installed, with no account or API key.
What a new install does
- Blocks messages that contain a word from starter lists of swear words and slurs: English, plus the Spanish, French, German, Portuguese or Turkish list that matches
locale in config.yml (languagePacks turns on more). A word only matches from the start of a word to the end of one, so "assignment" and "Scunthorpe" stay clean, and so do everyday words that together spell a listed word, as in "put a torch here". A word one language uses every day, such as French "retard" (late), passes on servers in that language, and for players writing in it if you allow that.
- Also matches common disguises of a listed word: spaced, punctuated or stretched letters, accents, look-alike letters, leetspeak such as
b4dw0rd, and words split across rapid short messages.
- Blocks ads for other Minecraft servers: public IP addresses, addresses with a port,
play. and mc. style addresses, free hosts such as aternos.me, and "join myserver.net". Ordinary links stay. Let your own server's address through with /nmod allow url.
- Blocks a starter list of IP-grabber and scam links, including ones written with
(dot) or [.].
- Blocks spam: message floods, the same message again and again and long runs of one character. Messages in capitals go out in lower case.
- Tells the player why a message was stopped, in their own game language.
- Alerts staff with the
neomoderation.notify permission (operators by default), showing the player, the message, the reason and the action taken. Staff who may open cases can click an alert for that player's history. During a raid, alerts pause, then one line says how many staff missed.
- Lets moderators with
neomoderation.moderate use cases, mutes and tests while settings stay with admins.
- Logs each detection as a case on your server.
/nmod cases lists them; open one to resolve or dismiss it, allow the word or mute the player. The log leaves out the message text unless you turn it on.
A new install never mutes, kicks or bans a player or clears chat. Review the starter lists for your server and change them with /nmod word, /nmod url and /nmod allow.
First check
- Put the jar in
plugins/ and restart the server.
- Run
/nmod test badword. The preview shows the starter rule flagging and blocking the word, and it never acts on a player.
- Run
/nmod doctor to check your setup.
To have local rules alert staff without blocking, run /nmod mode monitor.
Options, all off on a new install
- Star out matched words and links and let the rest of the message through (
moderation.chat.censorLocalDetections in config.yml).
- Block every link and server IP address, including ones written with
(dot) or [.] (moderation.offline.blockAnyUrl).
- Check signs, books, anvil renames and chat commands such as
/msg and /me with /nmod surface. Each can monitor, censor or block. Command checks also catch a player who sends those commands too fast.
- Send detection alerts to a Discord staff channel with
/nmod discord, and check the webhook with /nmod discord test.
- Add actions after a block with
/nmod action: clear chat, mute, kick or ban. Mutes need no other plugin and cover private messages too (/msg, /tell, /r, /me, /mail and their aliases), and /nmod mute mutes a player by hand.
- Add a strike for each blocked or starred-out message and act when a player reaches a set count (
moderation.strikes).
Optional cloud checks
The Neomechanical Moderation API's AI models can read each chat message for its meaning, in eight categories: sexual content, hate, harassment, violence, scams, spam, illicit activity and self-harm. It can also check map art when a player holds a filled map, puts one in an item frame or right-clicks one there, up to 30 new pictures per player an hour.
/nmod trial explains what a free 14-day trial sends, and /nmod trial start starts it. It needs no account, and each server can start one trial.
- To use your own workspace, create an account, create an API key with the
events:write and usage:read scopes, and run /nmod setup <key>.
- Cloud decisions only alert staff until you run
/nmod cloudmode enforce, and while they only alert, chat never waits for them. In enforce mode a flagged map is taken from the player holding it, and one hanging in an item frame is taken down.
/nmod preset family, community or minimal sets how strict each category is.
- If the cloud cannot be reached, chat goes through and local rules keep running. Chat waits at most 2.5 seconds for a cloud answer.
- Each check sends one message, or one map image, with the player's name and UUID to
api.neomechanical.com over HTTPS. Earlier messages are never sent. /nmod privacy shows what your settings send.
- Cloud checks use credits, and
/nmod usage shows how many are left.
Privacy and metrics
Without an API key or a Discord webhook, no chat or map content leaves your server. NeoModeration sends technical metrics to bStats, which hold no chat, player names or API keys. Turn them off in plugins/bStats/config.yml. Once at startup, NeoModeration asks GitHub whether a newer version exists. Turn that off with updateCheck in config.yml.
Compatibility
NeoModeration runs on Spigot, Paper and Purpur, Minecraft 1.18.2 to 26.3, and on Folia. Release checks run on Paper 1.18.2, 1.19.4, 1.20.6, 1.21.11, 26.1.2, 26.2 and 26.3, on Folia 1.21.11, on Spigot 1.21.11 and on Purpur 1.21.11. In-game messages are in English, Spanish, French, German, Portuguese or Turkish, and each player reads them in their own game language.
Links
评论 0
登录后参与评分
还没有评论,来抢沙发吧