__lawliet__1

🛡️ IconicSMP AntiCheat (Soft Flag System) The IconicSMP AntiCheat is a lightweight fair-play system designed to detect cheats without ruining gameplay. It focuses on keeping PvP and Supply Drop fights fair while staying smooth and non-intrusive. 🧠 Core System Instead of bans, it uses a flag system:

Each suspicious action adds a flag Flags decay over time if the player plays normally No instant punishment unless heavily repeated ⚔️ Detection Types Reach check → flags abnormal hit distance Killaura check → flags impossible tracking or multi-target hits Auto-click check → flags unnatural CPS consistency Movement check → flags speed, fly, or no-clip behavior 🚨 Flag Behavior Small violations = +1 flag Repeated or strong cheat signals = +2 or +3 flags Flags are tracked per player in real time ⚠️ Punishment Rule At 8 active flags → player is kicked Kick message is simple (no ban, no long punishment) Flags reset after kick or decay over time (configurable) 💥 Supply Drop Mode During supply drops:

Slightly relaxed detection to reduce false flags Only major cheating triggers count heavily System prioritizes fight stability over strictness 🔔 Feedback System Optional subtle warnings (actionbar/chat) Staff alerts show flag type + total flags Logs stored for review, not automatic bans ⚙️ Philosophy IconicSMP AntiCheat is built to:

Keep PvP fair, not restrictive.

It ensures:

No bans Clean PvP fights Chaos stays fun Cheaters get removed temporarily, not punished permanently

Kodari AI
KodariJun 29 at 12:57 pm 1

I’ll build the IconicSMP AntiCheat plugin with its soft flag system.

IconicSMPAntiCheat
A lightweight fair-play system for IconicSMP that detects cheats through a soft flag system. Features include reach, killaura, autoclick, and movement checks. Uses accumulating flags that decay over time instead of immediate bans. Players are kicked at 8 flags. Includes supply drop mode with relaxed detection, staff alerts, player warnings, and console logging.
__lawliet__1

And now listen make plugin name to IconicSMP Anticheat By ItzSelena and make it fully fully fully configurable

Kodari AI
KodariJun 29 at 12:59 pm 1

No existing project. Creating the complete plugin from scratch.

IconicSMPAntiCheat
A soft-flag anti-cheat system for IconicSMP by ItzSelena. Fully configurable reach, killaura, autoclick, and movement checks with flag decay, supply drop mode, and staff alerts.

[Generation stopped]

__lawliet__1

Full plugin should be configurable

Kodari AI
KodariJun 29 at 1:05 pm 3

Let me check what’s already been created:

The project doesn’t exist yet. I’ll create everything from scratch.

Let me build the complete, fully configurable plugin now.

IconicSMPAntiCheat
A soft-flag anti-cheat system for IconicSMP by ItzSelena. Fully configurable reach, killaura, autoclick, and movement checks with flag decay, supply drop mode, staff alerts, player warnings, and file logging.

Now let me add the missing getKillauraCheck() method to DetectionManager since PlayerListener references it:

Now add getKillauraCheck() to DetectionManager:

Let me fix the import in PlayerListener — it references plugin.detectionManager().getKillauraCheck() but the listener is registered from the main class:

Let me add autoclick tracking on the interact event. I’ll update the PlayerListener:

Let me verify the file tree to make sure everything is in place:

The tracking tags didn’t persist the files. Let me create them all properly with <create> tags.

Project directory doesn’t exist yet. Creating everything from scratch.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
Code
17 1,748
src/main/java/com/iconicsmp/anticheat/IconicSMPAntiCheat.java
package com.iconicsmp.anticheat;

import com.iconicsmp.anticheat.config.ConfigManager;
import com.iconicsmp.anticheat.manager.DetectionManager;
import com.iconicsmp.anticheat.manager.FlagManager;
import com.iconicsmp.anticheat.manager.LogManager;
import com.iconicsmp.anticheat.util.MessageUtil;
import org.bukkit.plugin.java.JavaPlugin;

public class IconicSMPAntiCheat extends JavaPlugin {

    private ConfigManager configManager;
    private FlagManager flagManager;
    private DetectionManager detectionManager;
    private LogManager logManager;
    private MessageUtil messageUtil;

    @Override
    public void onEnable() {
        saveDefaultConfig();
        configManager = new ConfigManager(this);
        messageUtil = new MessageUtil(this, configManager);
        flagManager = new FlagManager(this, configManager);
        logManager = new LogManager(this, configManager);
        detectionManager = new DetectionManager(this, configManager, flagManager, messageUtil);

        getCommand("iconicsmpac").setExecutor(new com.iconicsmp.anticheat.command.ACCommand(this));
        getServer().getPluginManager().registerEvents(
                new com.iconicsmp.anticheat.listener.PlayerListener(this, flagManager, configManager), this);

        flagManager.startDecayTask();
        detectionManager.startChecks();

        getLogger().info("IconicSMP AntiCheat By ItzSelena enabled.");
    }

    @Override
    public void onDisable() {
        if (detectionManager != null) detectionManager.stopChecks();
        if (flagManager != null) flagManager.cancelDecayTask();
        if (logManager != null) logManager.close();
        getLogger().info("IconicSMP AntiCheat disabled.");
    }

    public void reload() {
        reloadConfig();
        configManager.reload();
        messageUtil.reload();
        logManager.reload();
        detectionManager.reload();
    }

    public ConfigManager cfg() { return configManager; }
    public FlagManager flagManager() { return flagManager; }
    public DetectionManager detectionManager() { return detectionManager; }
    public LogManager logManager() { return logManager; }
    public MessageUtil messageUtil() { return messageUtil; }
}