HomeJavaModsViewInventory
ViewInventory
ViewInventory — screenshot 1

ViewInventory

ViewInventory is a powerful Minecraft Spigot/Paper plugin designed for server administrators and moderators. It allows you to seamlessly view and manage the inventories and ender chests of other online players in real-time. Whether you need to conduct investigations, provide support, or simply observe, ViewInventory offers a smooth, intuitive, and interactive experience.

Key Features

Tab Completion: Easy-to-use command with tab completion for subcommands and player names.

Commands

/viewinventory <inventory|enderchest> <player>

Aliases: /vi <in|ec> <player>

Permissions

This plugin employs a permission system (adopted in version 1.1-beta~), enabling granular control over features. Players with OP permissions are granted all permissions by default.

1. The process of updating the GUI display (copying the target player's inventory to the GUI)

2. The process reflecting click actions (copying what the viewer clicked in the GUI to the target's inventory)

When clicking rapidly, process 1 would overwrite process 2. This caused the GUI to revert before changes were saved, resulting in items disappearing.

Solution

To eliminate this conflict, we fundamentally changed the approach.

Prioritize Click Operations

Valid click operations performed by the viewer within the GUI (such as item movement) are now handled by Bukkit's standard functionality. This ensures the exact same processing as Minecraft's normal inventory operations, preventing item disappearance.

Synchronize Changes Later

The modified GUI contents are now copied to the target player's inventory one tick after Bukkit completes the click operation. This completely eliminates processing conflicts and ensures changes are reflected safely.

Control Only Custom Slots

Plugin intervention is now limited solely to clicks on special slots like the trash can or glass panes. These operations cancel the event and are safely handled by the plugin.

This approach—“leave processing to Bukkit and reflect results later”—achieves both stability and a vanilla-like feel, eliminating the item disappearance bug.

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.

Verified by MCModsHub

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

Explore more