jssyro.

create a plugin that detects how much blocks are being placed by a playeri n seconds and if theya re in different directions and for example if they are facing down and place a block up like an anti cheat it bans them for 30 minutes and alerts any op name it [Wemmbina Anticheat]

Kodari AI
KodariSep 8 at 3:57 pm 1
WemmbinaAnticheat
WemmbinaAnticheat is a Minecraft plugin that detects suspicious block placement patterns to identify potential cheating. It monitors the rate of block placements per second and analyzes directional consistency between the player's facing direction and placement direction. If a player places blocks at an abnormal speed or places blocks in directions inconsistent with their view (e.g., facing down while placing blocks upward), the system flags them as suspicious. Upon detection, the plugin automatically bans the offending player for 30 minutes and sends an alert notification to all online operators with the [Wemmbina Anticheat] prefix. The plugin includes configurable thresholds for placement speed and directional tolerance, ensuring accurate detection while minimizing false positives. It also logs all flagged incidents with timestamps and player coordinates for administrative review.

[Generation stopped]

jssyro.

this is to stop litematica printer and make it so that if it detects a block placed midair it gets removed and bans them for 30 mins and alerts an op like easpyplace and the mod ;itematica printer stop them

Kodari AI
KodariSep 8 at 3:58 pm 1

The generation was stopped before any content could be produced.

jssyro.

his is to stop litematica printer and make it so that if it detects a block placed midair it gets removed and bans them for 30 mins and alerts an op like easpyplace and the mod ;itematica printer stop them

Kodari AI
KodariSep 8 at 4:02 pm 1

I’ll create a minimal Spigot plugin with three checks: isolated midair placement, configurable placements-per-second, and placing behind the player’s facing direction. A violation restores the replaced block, bans the player for 30 minutes, kicks them, logs the incident, and alerts online operators with the requested prefix.

Created WemmbinaAnticheat with:

  • Detects isolated/midair block placements.

  • Detects excessive placement speed per configurable time window.

  • Detects blocks placed behind the player’s facing direction.

  • Removes the suspiciously placed block.

  • Bans the player for 30 minutes.

  • Kicks the player with a warning.

  • Alerts every online operator using the [Wemmbina Anticheat] prefix.

  • Adds a bypass permission: wemmbinaanticheat.bypass.

  • Includes configurable thresholds in config.yml.

jssyro.

what server software does this support

Kodari AI
KodariSep 8 at 4:41 pm 1

It currently targets:

  • Spigot 1.20.4

  • Paper 1.20.4

  • Purpur 1.20.4

  • Other Spigot-compatible 1.20.4 forks

It requires Java 17.

Although plugin.yml declares API version 1.13, the project is compiled against the Spigot 1.20.4 API, so older versions are not officially supported. It should work on newer Spigot-compatible versions if their APIs remain compatible, but that has not been verified.

jssyro.

what are all the commands

Kodari AI
KodariSep 8 at 4:52 pm 1

WemmbinaAnticheat currently has no commands.

It only uses this permission:

  • wemmbinaanticheat.bypass — bypasses the placement checks; default: false

Players are automatically detected, banned for 30 minutes, and operators are alerted.

jssyro.

how do i unban my self if 9i watch testing it

Kodari AI
KodariSep 8 at 9:41 pm 1

From the server console, run:

Plain Text
pardon YourMinecraftName

You can also use:

Plain Text
unban YourMinecraftName

Then reconnect to the server. The automatic ban lasts 30 minutes, but pardon removes it immediately.

For testing, give yourself the bypass permission before placing blocks:

Plain Text
lp user YourMinecraftName permission set wemmbinaanticheat.bypass true

If LuckPerms is not installed, temporarily disable the plugin or add your name to its bypass configuration if that option is available.

Kodari can make mistakes. Review important code before using.
Files
src
build.gradle
settings.gradle
Code
6 235
src/main/java/com/wemmbina/anticheat/WemmbinaAnticheat.java
package com.wemmbina.anticheat;

import org.bukkit.plugin.java.JavaPlugin;

public final class WemmbinaAnticheat extends JavaPlugin {

    @Override
    public void onEnable() {
        saveDefaultConfig();
        getServer().getPluginManager().registerEvents(new PlacementListener(this), this);
        getLogger().info("Wemmbina Anticheat enabled.");
    }
}