COWMODSКаталог модов

ViewInventory

You can view and edit other players' inventories.

Автор: ProjectMichi5851обновлён 30 окт. 2025 г.
УправлениеОптимизацияХранение

Описание

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

  • Real-time Synchronization: Any changes made to the target player's inventory (by them or you) are instantly reflected in the GUI you are viewing, and vice-versa.

  • Offline Player Support (View Only): While direct editing of offline players' inventories is not supported due to data integrity concerns, you can still view their inventory contents.

  • Custom GUI Layout: A user-friendly 6x9 GUI is provided, clearly displaying the target player's armor, offhand, and main inventory slots.

  • Creative Mode Utilities: In creative mode, you can use the middle-click (block selection) to copy items from the target's inventory to your cursor, mimicking vanilla behavior. You can also pick up the target player's head.

  • Intuitive Controls: Standard inventory click actions (left-click, right-click, shift-click) work as expected to move and manage items.

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.

Галерея

This is how it turns out.

Последние версии

Все версии →
release

ViewInventory V1.2-release

1.2
30 окт. 2025 г.436Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bukkit, paper, spigot
Скачать
Что нового
# Change - Plugin Information Update
beta

ViewInventory 1.1-beta

1.1-beta
11 сент. 2025 г.113Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bukkit, paper, spigot
Скачать
Что нового
# Change <details> <summary>Permissions</summary> This update added permissions. Players with OP permissions are granted all permissions by default. Parent Permissions These permissions grant groups of child permissions. * `viewinventory.see` Grants permission to view both a player's inventory and their ender chest. (Includes `inventory.see` and `enderchest.see`) * `viewinventory.edit` Grants permission to edit both a player's inventory and their Ender Chest. (Includes `inventory.edit` and `enderchest.edit`) Individual Permissions Use the following nodes to configure features individually. * `viewinventory.see.inventory` Enables viewing another player's inventory using the /vi inventory <playername> command. * `viewinventory.edit.inventory` Allows editing another player's inventory within the opened GUI. Without this, the inventory is read-only. * `viewinventory.see.enderchest` Allows viewing another player's ender chest via the /vi enderchest <playername> command. * `viewinventory.edit.enderchest` Allows editing another player's ender chest within the opened GUI. Without this permission, ender chests are read-only. </details> <details> <summary>Disappearance bug</summary> The item disappearance bug was primarily caused by two processes competing with each other. **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. </details>
alpha

ViewInventory 1.0-alpha

1.0-alpha
9 сент. 2025 г.36Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11bukkit, paper, spigot
Скачать
Что нового
# ViewInventory 1.0-alpha A simple plugin for viewing and editing other players' inventories. ## How to Use * **Main Command**:`/vi` or `/viewinventory` * **Sub command**:`inventory <player>` | `enderchest` or `ec` <player> The inventory command displays the inventory of the specified player. The enderchest command displays the contents of the specified player's ender chest. ## bug It works, but there's a bug where items disappear if you tap repeatedly. We're planning to fix it in the next update, 1.1-beta.