T

Make a Minecraft Plugin anticheat for 1.21.4 for paper server that checks all cleint like krypton mist 4e radium argon every hack found on Minecraft instant kick or temp ban if the player is hacking give flag to op player for reference you can check s anti cheat name vulcan try to check every hack cleint of its hidden or not name it mystic anti cheat don't get looped bro

Kodari AI
KodariJul 19 at 4:46 pm 10
MysticAntiCheat
MysticAntiCheat is a Paper 1.21.4 security plugin that monitors common client-side cheats and abnormal gameplay behavior. It detects movement speed, flight, reach, autoclicking, invalid packets, fast breaking, and no-fall behavior. Violations include detailed evidence, alert online operators and staff, track per-check violation levels, and automatically kick or temporarily ban players when configurable confidence thresholds are reached.
T

/change add these in the plugin KillAura ✅ AimAssist ✅ Velocity ✅ Scaffold ✅ NoSlow ✅ Timer ✅ InventoryMove ✅ FastPlace ✅ Jesus ✅ Spider ✅ Fly ✅ Speed ✅ AntiKnockback ✅ AutoTotem ✅ CrystalAura detection (for CPvP)

Kodari AI
KodariJul 20 at 1:27 am 174
  1. Add the requested combat, movement, world, inventory, timing, and crystal-PvP checks to the existing MysticAntiCheat check registry.

  2. Wire each check into the current violation, alert, and punishment flow without changing unrelated behavior.

The existing architecture has no packet API, so these checks will use Paper/Bukkit gameplay events and movement telemetry. I’m also keeping the current checks registered; the new Speed/Fly checks use separate config keys so they can be tuned independently.

The event plumbing and configuration are in place. I’m adding each requested check as an independently configurable class, with conservative thresholds and no packet-injection dependency.

</kodariCreatedFile>

</kodariCreatedFile>The requested check names are now registered and configurable. I’m creating the detector implementations next; they feed the existing ViolationService, so OP alerts and the configured temporary-ban threshold remain centralized.

The remaining registration references were for three classes that did not yet exist: AntiKnockback, AutoTotem, and CrystalAura. I’m adding those now and removing the duplicate interact dispatch so crystal actions are counted once.I found and am correcting a wiring issue from the intermediate event expansion: inventory-open tracking is unnecessary for the requested checks and had introduced duplicate imports/dispatch. I’m removing it before adding the three missing detector classes.I’m consolidating the event wiring into clean final versions now, then adding the three missing checks. This avoids leaving duplicate imports or handlers from the earlier incremental edits.

The requested checks and config entries are present. I’m applying the final cleanup to the shared interface/manager/data files so the new registration compiles cleanly and no obsolete inventory-open dispatch remains.I’m replacing the four shared files with clean complete versions rather than continuing surgical edits; this removes the transient duplicate-import/dispatch artifacts while preserving the requested check registrations.

Added all requested checks to MysticAntiCheat:

  • KillAura

  • AimAssist

  • Velocity

  • Scaffold

  • NoSlow

  • Timer

  • InventoryMove

  • FastPlace

  • Jesus

  • Spider

  • Fly

  • Speed

  • AntiKnockback

  • AutoTotem

  • CrystalAura for CPvP

Also added:

  • Independent configuration entries for every check

  • Check registration in CheckManager

  • Block placement, interaction, inventory, velocity, and combat event routing

  • Player tracking fields for movement, combat, crystal, totem, and timing analysis

  • OP/staff alerts through the existing violation system

  • Existing kick/temp-ban punishment flow integration

These checks use Paper/Bukkit gameplay events rather than ProtocolLib packet injection, so packet-only or heavily disguised client behavior cannot be guaranteed to detect perfectly.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
36 2,120
src/main/java/com/mystic/anticheat/MysticAntiCheat.java
package com.mystic.anticheat;

import com.mystic.anticheat.command.MysticCommand;
import com.mystic.anticheat.data.PlayerDataManager;
import com.mystic.anticheat.check.CheckManager;
import com.mystic.anticheat.listener.GameplayListener;
import com.mystic.anticheat.service.AlertService;
import com.mystic.anticheat.service.PunishmentService;
import com.mystic.anticheat.service.ViolationService;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

import lombok.Getter;

@Getter
public class MysticAntiCheat extends JavaPlugin {

    private PlayerDataManager playerDataManager;
    private AlertService alertService;
    private PunishmentService punishmentService;
    private ViolationService violationService;
    private CheckManager checkManager;

    @Override
    public void onEnable() {
        saveDefaultConfig();

        playerDataManager = new PlayerDataManager();
        alertService = new AlertService(this);
        punishmentService = new PunishmentService(this);
        violationService = new ViolationService(this, playerDataManager, alertService, punishmentService);
        checkManager = new CheckManager(this, playerDataManager, violationService);

        getServer().getPluginManager().registerEvents(
                new GameplayListener(checkManager, playerDataManager),
                this
        );

        MysticCommand command = new MysticCommand(this);
        if (getCommand("mystic") != null) {
            getCommand("mystic").setExecutor(command);
            getCommand("mystic").setTabCompleter(command);
        }

        Bukkit.getScheduler().runTaskTimer(
                this,
                violationService::decayViolations,
                100L,
                100L
        );
    }

    @Override
    public void onDisable() {
        if (playerDataManager != null) {
            playerDataManager.clear();
        }
    }
}