Anti-Spam Plugin 图标

Anti-Spam Plugin

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/anti-spam-plugin
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: folia paper

标签: management social technology

资源介绍

ANTI-SPAM v1.0

DEVELOPER: Mattis
VERSION: 1.0.0
COMPATIBILITY: Paper, Folia (1.21.1+)
LICENSE: Custom / All Rights Reserved


OVERVIEW
Anti-Spam is a high-performance chat security system designed to maintain server decorum and prevent chat flooding. Built with a focus on thread-safety and advanced string-matching, it stops repetitive messaging patterns before they reach your players.

KEY FEATURES

  • Smart Similarity Engine: Utilizes the Levenshtein Algorithm to identify and block "similar" messages, preventing bypasses like adding a single dot or space.
  • Per-Player Message Memory: Maintains a rolling buffer of the last 10 messages (configurable) for every online player to detect long-term repetition.
  • Thread-Safe Architecture: Engineered for Folia using ConcurrentHashMaps and synchronized logic to ensure stability in multi-threaded environments.
  • Bypass Support: Integrated permission system allowing staff or automated bots to bypass spam restrictions.

COMMANDS AND PERMISSIONS

  • /antispam reload
    Refreshes the configuration file and clears the current message history cache.
    Permission: antispam.admin

SECURITY LOGIC PROTOCOL

  1. NORMALIZATION: Incoming strings are trimmed and converted to lowercase for accurate comparison.
  2. BUFFER CHECK: The new message is compared against the player's recent historical chat data.
  3. SIMILARITY SCORING: If the calculated similarity exceeds the threshold (default: 80%), the message is canceled.
  4. NOTIFICATION: The player is issued an instant warning to prevent further repetition.

TECHNICAL REQUIREMENTS

  • Java 21 or higher.
  • Paper or Folia 1.21.1 or higher.
  • Concurrent data handling support.
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Tooltips TXF

价格:0 墨喵币
下载量:0

查看详情
MoneyBills

价格:0 墨喵币
下载量:0

查看详情
CogUtilities

价格:0 墨喵币
下载量:0

查看详情
Roblox Noobs

价格:0 墨喵币
下载量:0

查看详情