Home›Java›Mods›OneGUi
OneGUi
ModsJava

OneGUi

Java mod listed for Minecraft 1.21–26.x. Downloads from the MC Java Mods app on Android.

by EternalFrost · on Modrinth

This project adds a plugin which makes sure users can only have 1 inventory open at a time. Preventing many dupe glitches. (Anti GUI Dupe)

⬇ Download on Modrinth

OneGUI - Anti-Dupe & Inventory Security

OneGUI is a lightweight security plugin for Paper and Purpur 1.21+ servers designed to stop inventory duplication exploits. Many common dupe glitches rely on tricking the server into opening multiple menus at once, or interacting with a container while moving, turning around, or swapping items. OneGUI solves this by strictly enforcing a "one menu at a time" rule and instantly closing interfaces if suspicious client behavior is detected.

Why is this needed?

Cheaters often use packet exploits, intentional lag, or modified clients to desync their client from the server. By forcing a chest to stay open while their character is moving away, rotating, or scrolling through their hotbar, they can trick the server into duplicating items. OneGUI acts as a server-side check that shuts down these exact windows of opportunity.

Core Protections

Configuration

You can toggle any of these checks in the config.yml file if they conflict with other plugins on your server:

checks:
  # Close GUI if player walks or jumps
  movement: true
  
  # Close GUI if player turns their head / camera view
  rotation: true
  
  # Close GUI if player changes their active hotbar slot
  hotbar: true

messages:
  reload: "&a[OneGUI] Configuration reloaded successfully!"
  no-permission: "&c[OneGUI] You do not have permission to execute this command."

Commands & Permissions

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more