Enables admins to manage the inventory of players.
Find a file
2026-02-12 13:33:00 +01:00
src init; changed chat command and minor things 2026-02-12 13:33:00 +01:00
.gitignore init; changed chat command and minor things 2026-02-12 13:33:00 +01:00
.luacheckrc init; changed chat command and minor things 2026-02-12 13:33:00 +01:00
init.lua init; changed chat command and minor things 2026-02-12 13:33:00 +01:00
LICENSE init; changed chat command and minor things 2026-02-12 13:33:00 +01:00
mod.conf init; changed chat command and minor things 2026-02-12 13:33:00 +01:00
README.md init; changed chat command and minor things 2026-02-12 13:33:00 +01:00
screenshot.png init; changed chat command and minor things 2026-02-12 13:33:00 +01:00

Inventory Admin

Description

Inventory Admin allows players with the invmanage privilege to view and manage the inventory of other players. This tool is particularly useful for server admins or for use in special gameplay scenarios.

Features

  • View and manage other players' inventories.
  • Works with minetest_game and MineClone2.
  • Provides a command for easy access to any player's inventory.
  • Detached inventory support for seamless inventory management.
  • Real-time inventory sync.

Usage

To use the Inventory Admin mod, you must have the invmanage privilege.

  • Grant the privilege to a player using the command: /grant <playername> invmanage
  • To view and manage a player's inventory, use the command: /invmanage <playername>

Commands

  • /invmanage <playername>: Opens the formspec for the target player's inventory.

Privileges

  • invmanage: Allows viewing and managing of other players' inventories.

API

  • inventory_admin.setup_detached_inventory(player_name): Set up a detached inventory for the player.
  • inventory_admin.sync_player_to_detached_inventory(player_name): Sync a player's inventory to the detached inventory.
  • inventory_admin.sync_inventory_to_player(player_name): Sync the detached inventory back to the player's inventory.

Dependencies

  • Default Minetest game or MineClone2.

License

Licensed under the GPLv3 or later license LICENSE FILE HERE Can be found in root of project.

Author

Impulse (James Clarke)