A simple proof-of-concept Minecraft plugin that uses a known resource pack exploit (working only on 1.8.x clients) to check whether a specific file exists on the player's computer
This only works on Minecraft 1.8.x. The exploit was patched in newer versions.
When you run a command (e.g., /checkclient <player> <path>), the plugin sends a fake resource pack request to the player using a level:// path that points to a file outside the minecraft folder – such as:
level://../../../Downloads/AutoClicker.exe
If the player’s client tries to load the file, we know it exists on their machine. If not, the file likely doesn’t exist.
- The server sends a fake resource pack using a relative path (via
PacketPlayOutResourcePackSend). - The client replies with a
RESOURCE_PACK_STATUS. - The client can respond with one of several statuses:
ACCEPTED: The client confirmed the resource pack was loaded successfully — the file exists.DECLINED: The client declined the resource pack (e.g., user refused) — existence of the file is uncertain.FAILED_DOWNLOAD: The client failed to load the resource pack — the file likely does not exist.- Or the client may not respond at all (timeout), which is treated as failure to confirm existence.
- The plugin interprets the response (or timeout) and prints the result.
/checkclient <player> [path]
player— the name of the online player to test.path— optional file path relative to.minecraftfolder.- Example:
/checkclient Player ../../../Downloads/AutoClicker.exe
The path is interpreted relative to the
.minecraftfolder, which is assumed to be in the default location (e.g.,C:\Users\<username>\AppData\Roaming\.minecrafton Windows). If the client uses a custom launcher or a non-default location, the detection may fail.
This plugin is not intended for production use. It is meant for testing, research, or private server use only.
Due to its reliance on an outdated client exploit, it should not be used as a reliable anti-cheat measure.
- Java: 8 or higher
- ProtocolLib (required dependency)
Created as a proof-of-concept in 2022 for educational and research purposes.