RebornAnticheat V2 — Complete Standalone AntiCheat
Act as a world-class Minecraft anti-cheat engineer, Java developer, network protocol specialist, and security architect.
Build RebornAnticheat V2, a fully independent, production-grade Minecraft Java server-side anti-cheat from scratch.
This is NOT an addon, wrapper, fork, extension, or integration for another anti-cheat.
ABSOLUTE REQUIREMENT: 100% STANDALONE
The plugin must operate completely independently.
Forbidden dependencies and integrations:
- GrimAC
- Any other third-party anti-cheat
- External anti-cheat APIs
- External punishment plugins as required dependencies
- Any system that delegates detection to another plugin
Implement all detection, evidence collection, violation management, and punishment logic internally.
Use Paper/Bukkit APIs and, only where essential, carefully implemented packet observation compatible with the selected Minecraft version. Packet libraries must not provide anti-cheat detection logic. Prefer supported APIs and minimise internal Minecraft implementation dependencies.
The final plugin must work when installed on a clean, supported Paper server with only its required runtime dependencies.
1. Target platform
- Minecraft Java Edition 1.21.11.
- Paper server.
- Java 21.
- Gradle build system.
- Standalone plugin JAR.
- SQLite as the default persistent database.
- YAML configuration.
- Optional webhook notifications, disabled by default.
Verify actual dependency and API compatibility before implementation.
2. Core architecture
Create a complete detection framework with these independent components:
RebornAnticheat— plugin entry point.PlayerDataManager— maintains per-player state.MovementTracker— tracks movement, velocity, position and legitimate state transitions.CombatTracker— tracks attacks, rotations and combat interactions.PacketMonitor— observes supported inbound and outbound packet events if needed.CheckManager— registers and manages all native checks.ViolationManager— aggregates and decays violations.EvidenceManager— records supporting evidence.PunishmentManager— processes automated punishments.ExemptionManager— handles legitimate exceptional states.AlertManager— delivers staff notifications.StorageManager— persists evidence and punishment history.ConfigManager— validates and reloads configuration.MetricsManager— monitors performance and detection statistics.
Use a modular architecture with clean interfaces, testable components, and no circular dependencies.
3. Native movement detection
Implement real, independently written checks for:
- Abnormal horizontal movement speed.
- Abnormal vertical movement.
- Flight and sustained hovering.
- Invalid acceleration.
- Impossible movement transitions.
- Invalid ground-state behaviour.
- Abnormal step height.
- Suspicious velocity and knockback responses.
- Invalid movement sequences.
- Movement inconsistent with known game physics.
- Suspicious repeated movement corrections.
Maintain a history of player positions, velocities, movement modes, environmental states, and server corrections.
Account for legitimate mechanics including:
- Knockback and explosions.
- Slime blocks and bounce effects.
- Ice and other movement surfaces.
- Water, lava, ladders and vines.
- Elytra, vehicles and legitimate flight permissions.
- Potions and status effects.
- Teleports, respawns and world changes.
- Latency, delayed packets and low server TPS.
Do not use simplistic speed thresholds as the sole basis for a ban.
4. Native combat detection
Implement independent checks for:
- Abnormal attack reach.
- Suspicious attack timing.
- Automated clicking patterns.
- Aim-assistance indicators.
- Abnormal rotation behaviour.
- Suspicious multi-target attack patterns.
- Invalid attack sequences.
- Suspicious critical-hit patterns.
- Abnormal combat interaction timing.
- Inconsistent knockback behaviour.
Use server-observable information, entity positions, timing histories and legitimate game mechanics.
Account for latency, server tick variation, target movement, interpolation and ordinary player skill.
Treat statistical patterns as indicators rather than absolute proof. Combine independent evidence before triggering serious punishments.
5. World and interaction checks
Create native detection for:
- Suspicious scaffold-like placement patterns.
- Invalid block interactions.
- Abnormal block-breaking behaviour.
- Invalid inventory actions.
- Impossible item-use sequences.
- Suspicious interaction ranges.
- Malformed or invalid game actions.
- X-ray indicators based on mining statistics.
- Server-observable freecam-related interaction anomalies.
Clearly distinguish direct validation from heuristic detection. Do not claim to detect information that the server cannot observe.
6. Automated punishment engine
Create a completely native punishment system.
Support configurable actions:
- Log.
- Staff alert.
- Warning.
- Temporary restriction where appropriate.
- Kick.
- Temporary ban.
- Permanent ban.
Each action must be controlled by configuration and based on recorded evidence.
Evidence-based escalation
- Record suspicious behaviour.
- Evaluate whether the relevant check is reliable under the current conditions.
- Apply violation decay and duplicate-event suppression.
- Look for corroboration from independent checks.
- Apply the configured punishment only when the required confidence and evidence conditions are met.
- Persist the decision and supporting evidence.
- Notify staff and provide an investigation command.
Permanent bans must require a stricter policy than temporary bans. Provide dry-run mode and a configurable staff-review requirement.
Implement native ban storage and login enforcement so the system does not require another punishment plugin. Where supported, integrate with Paper's native ban mechanisms without requiring external plugins.
Prevent duplicate bans, race conditions, accidental punishment escalation and bans caused by stale player data.
7. Evidence and violation tracking
Record:
- Player UUID and username.
- Check identifier.
- Timestamp.
- Violation level.
- Measured values and thresholds.
- Ping and server TPS.
- Relevant movement or combat history.
- Detection confidence and limitations.
- Active exemptions.
- Other corroborating checks.
- Punishment decision and reason.
Implement violation decay, configurable evidence retention, bounded memory usage and UUID-based records.
Staff must be able to inspect evidence and understand why a decision was made.
8. Native commands
Implement permission-protected commands:
/rac— Main command./rac alerts— Toggle staff alerts./rac inspect <player>— Inspect current evidence./rac violations <player>— Review violation history./rac history <player>— Review past punishments./rac checks— List native checks./rac check <name> <enable|disable>— Manage individual checks./rac verbose <player>— Temporarily show diagnostic information./rac punish <player> <duration> <reason>— Issue a manual punishment./rac unban <player> <reason>— Reverse a ban./rac reload— Safely reload configuration./rac stats— Display performance and detection statistics.
Implement tab completion, permission checks, clear command feedback and clickable staff alerts where supported.
9. Configuration
Generate a comprehensive config.yml containing:
- Global enable/disable switch.
- Individual check toggles.
- Per-check thresholds.
- Violation accumulation and decay.
- Ping and TPS safeguards.
- Legitimate-state exemptions.
- Punishment thresholds and durations.
- Permanent-ban policy.
- Dry-run mode.
- Staff-review requirements.
- Evidence retention.
- Database settings.
- Logging options.
- Debug mode.
- Staff alert permissions.
- Performance limits.
Validate configuration values at startup and reload. Preserve working settings when invalid values are detected.
10. Performance and security
- Keep expensive database operations off the main server thread.
- Respect Bukkit/Paper thread-safety rules.
- Use bounded queues and data structures.
- Prevent unbounded player history.
- Clean up disconnected player state.
- Handle server shutdown and database failures safely.
- Avoid unnecessary packet interception.
- Never crash the server when a check encounters unexpected data.
- Prevent command abuse through permission validation.
- Protect webhook URLs and credentials.
- Provide a safe emergency disable switch.
11. Testing requirements
Build automated tests for:
- Legitimate movement under varied conditions.
- High ping and low TPS.
- Teleports, respawns and knockback.
- Vehicles and special movement.
- Combat timing and reach validation.
- Invalid interaction sequences.
- False-positive regression cases.
- Violation decay.
- Evidence aggregation.
- Ban escalation and expiry.
- Duplicate punishment prevention.
- Unban functionality.
- Database recovery.
- Configuration validation.
- Permission enforcement.
- Concurrent events and player reconnects.
Test the plugin on a real Paper test server. Do not claim a check is effective simply because it compiles.
12. Build and delivery
Deliver the complete project source, not just examples.
- Verify all Minecraft and Paper APIs.
- Implement every advertised feature.
- Compile using Gradle and Java 21.
- Fix compilation errors.
- Run automated tests.
- Test the plugin on Paper.
- Verify all commands and permissions.
- Test automated punishment in dry-run mode.
- Verify clean-server operation with no anti-cheat plugins installed.
- Generate the final JAR and provide its exact location.
Include plugin.yml, config.yml, database initialisation, a README, build instructions, installation instructions and a list of implemented checks.
FINAL ACCEPTANCE CRITERIA
RebornAnticheat must be a genuinely standalone anti-cheat.
It must contain:
- Its own native detection logic.
- Its own movement and combat tracking.
- Its own check registration system.
- Its own violation and evidence engine.
- Its own automated punishment manager.
- Its own persistent ban and investigation history.
- Its own staff commands and configuration.
- No GrimAC code, API, integration, or dependency.
- No required third-party anti-cheat or punishment plugin.
Do not fake functionality, invent APIs, leave advertised modules as placeholders, or claim successful testing without evidence.
Prioritise reliable detection and low false-positive rates over the number of checks. Deliver a maintainable, testable plugin suitable for a real Minecraft survival server.
I’ve started the standalone RebornAnticheat V2 implementation for Paper 1.21.11. The project will include native detection, evidence, punishment, persistence, and /rac commands, without anti-cheat integrations; compilation and runtime validation will still need to be checked after the implementation is complete.
…Implemented RebornAnticheat V2 as a standalone Paper plugin with Java 21 setup, plugin resources, and README.
Added bounded UUID-based tracking, conservative movement/combat/interaction event checks, exemptions, violation decay, alerts, and validated config reload.
Added asynchronous SQLite evidence storage with retention and a bounded work queue; included native temporary/permanent bans, unban handling, dry-run, duplicate protection, emergency disable, and staff review for permanent-ban recommendations.
Added permission-protected
/raccommands and internal status counters. Checks are event-based heuristics, not packet-level proof; the README documents their limits and safety defaults.
The project was empty, so there was no existing Gradle setup to verify. The build declares io.papermc.paper:paper-api:1.21.11-R0.1-SNAPSHOT and Java 21; repository availability and API compatibility remain unverified. No compilation or Paper-server validation was performed; compilation is pending external verification.
RebornAnticheat V2 compiled successfully as a standalone Paper plugin. The project build artifact is available from the RebornAnticheatV2 project in your workspace; source is at /projects/KDR-202610-NDR6FOMU.
The implementation includes native event-based checks, tracking, evidence and violation handling, SQLite persistence, punishment and ban management, and /rac staff commands. The checks are heuristic and rely on server-observable events; they are not packet-level proof.
Compilation succeeded, but the plugin has not been tested on a live Paper server, and no automated tests were run. Install it on a test server and keep dry-run enabled while reviewing detections before enabling automated punishments.
test
The project’s build check passed successfully. This confirms it compiles, but it is not a runtime test: no automated tests or live Paper server validation were performed, so I can’t verify in-game behavior or detection accuracy.
No files in this session