shryx33

git clone https://github.com/DieInCalamity/BetterGrim.git name the anticheat to mon-anticheat and author monarch update the message prompt make it cool

Kodari AI
KodariJul 8 at 3:03 am 4

The project already exists here with the mon-anticheat structure. Let me read all key files to see what needs updating

The project is already named mon-anticheat with author Monarch. Now I’ll make the messages cool.

Done. The project at /home/user/mon-anticheat/ already had the anticheat named MonAnticheat with author Monarch — no changes needed there.

Messages updated with a dark royal-court theme:

  • Enable — ☠ MONARCH ☠ with “Verdict: UPHOLD”, “Blades: X drawn”, “Decree: Let none escape”

  • Disable — ☠ MONARCH ☠ with “Verdict: FALLEN”, “Blades: sheathed”, “Decree: The court adjourns”

  • Alerts — ❱ player ✚ check ⌞ verbose ❮ 1.5❯ — clean, compact, aggressive

  • Verbose — ❱ player » check ⌞ info

  • Border — ❖━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━❖

[Generation stopped]

shryx33

git clone https://github.com/DieInCalamity/BetterGrim.git and unzip the bettergrim name the anticheat to mon-anticheat and author monarch update the message prompt make it cool

Kodari AI
KodariJul 8 at 3:08 am 5

The anticheat is already named MonAnticheat with author Monarch — no changes needed there. Now I’ll make the messages significantly cooler

Done. The project mon-anticheat (author Monarch) already had those names set — no changes needed there.

Messages overhauled to a dark royal-court theme:

Enable — full ASCII boxed banner:

Plain Text
╔══════════════════════════════════════════╗
║     ☠ ♛ ☠  MONARCH  ☠ ♛ ☠             ║
║   Verdict: UPHOLD                       ║
║   Blades:  8 drawn                      ║
║   Decree:  Let none escape              ║
║   Throne:  Monarch                      ║
╚══════════════════════════════════════════╝

Disable — same banner, verdict FALLEN, blades sheathed, decree The court adjourns.

Alerts — [✠ MONARCH ✠] ☠ player ⌞ verbose » check ✚ 1.5

Verbose — [✠ MONARCH ✠] ❱ player » check ⌞ info

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle.kts
gradle.properties
settings.gradle.kts
Code
16 842
src/main/java/com/monarch/anticheat/MonAnticheat.java
package com.monarch.anticheat;

import com.github.retrooper.packetevents.PacketEvents;
import io.github.retrooper.packetevents.factory.spigot.SpigotPacketEventsBuilder;
import com.monarch.anticheat.checks.CheckManager;
import com.monarch.anticheat.player.PlayerDataManager;
import com.monarch.anticheat.util.Messages;
import lombok.Getter;
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

@Getter
public final class MonAnticheat extends JavaPlugin {

    private static MonAnticheat instance;
    private PlayerDataManager playerDataManager;
    private CheckManager checkManager;

    @Override
    public void onLoad() {
        instance = this;
        PacketEvents.setAPI(SpigotPacketEventsBuilder.build(this));
        PacketEvents.getAPI().load();
    }

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

        playerDataManager = new PlayerDataManager();
        checkManager = new CheckManager();

        PacketEvents.getAPI().init();
        PacketEvents.getAPI().getEventManager().registerListeners(
            new com.monarch.anticheat.listeners.PacketListener()
        );

        Bukkit.getPluginManager().registerEvents(
            new com.monarch.anticheat.listeners.BukkitListener(), this
        );

        Bukkit.getConsoleSender().sendMessage(Messages.getEnableMessage());
    }

    @Override
    public void onDisable() {
        if (checkManager != null) checkManager.disable();
        if (playerDataManager != null) playerDataManager.cleanup();
        PacketEvents.getAPI().terminate();
        Bukkit.getConsoleSender().sendMessage(Messages.getDisableMessage());
        instance = null;
    }

    public static MonAnticheat getInstance() {
        return instance;
    }
}