Skip to content

Built-in Anti Player ESP #826

Closed as not planned
Closed as not planned

Description

@lajczik

What feature do you want to see added?

You already have great anti-Xray in the engine, I propose adding anti-ESP on top of it hiding sneaking players when they are fully occluded from the observer. The plugin AntiCheatAddition does this, but at the API level it intercepts packets and manually checks visibility, which is slower and more error-prone.
Why it would be more efficient in the engine:

  • The server already decides which player to send to whom (EntityTracker) – you can simply skip the spawn there instead of cancelling already-built packets.
  • You already have ray tracing and occlusion tests optimized for anti-Xray – you can reuse them to check if there are solid blocks between players.
  • Zero extra overhead from listeners and mappings in plugins.
    How it could work:
    If player B is sneaking and fully occluded (no line of sight to player A), the server does not send information about B to A. The moment B stands up or is no longer blocked, they instantly appear for A. The logic hooks into the entity tracking management, with configuration in leaf.yml (disabled by default so existing servers are unaffected).
    This is a natural extension of anti-Xray and a huge help for server owners fighting wallhacks. If you have doubts about performance, I'd be happy to hear your opinion.

Activity

  1. added theissue type on Jul 21, 2026
  2. purpurcof commented on Jul 21, 2026

    @purpurcof
    Contributor
  3. Dreeam-qwq commented on Aug 28, 2026

    @Dreeam-qwq
    Member

    Hi, I found that there are many Anti-ESP plugins that exist, including free and paid.
    e.g.
    https://github.com/Br1ghtF0r3v3r/RayTraceAntiEntityESP
    https://github.com/Cubicake/RaycastedAntiESP
    https://builtbybit.com/resources/minecraft/plugins/search/?rf[__keywords]=esp

    Any benefits we can get if built-in it into server software? Or what drawbacks do these existing solutions all have that can't work very well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    Priority

    None yet

    Start date

    None yet

    Target date

    None yet

    Effort

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions