InvManager is a Minecraft plugin and also an API to manage, access, auto save and auto load inventory from offline or online players in different worlds. The plugin works from version 1.13 to 1.19.4.
Example Usage:
Problems with dupers?
Not anymore, if a duper want to crash your server and drops duped items at spawn you can easily see who dropped the items and ban them. > /invsee and then click on the paper to see the logs
Your server has a
Lobby and a
Survival world, now you want that the player can save and load their inventory (happens automatically) in that survival world.
Your server's admin just should be able to view inventories or enderchests from offline or online players.
Easy and clean overview over player's inventory or enderchest to check and remove e.g. duped items.
Footage using InvManager:
Have different inventories in different worlds
View and change inventories from offline or online players
Inventories file: plugins/InvStorage/Inventories.yml
Enderchests file: plugins/InvStorage/EnderChests.yml
Commands:
/invsee <PLAYER> - Edit and view the inventory of offline or online player's in the current world
/endersee <PLAYER> - Edit and view the enderchest of offline or online player's in the current world
/invmanagerreload - Reload the config file without restarting the server
Permissions:
invmanager.invsee - /invsee
invmanager.reload - /invmanagerreload
invmanager.endersee - /endersee
Config:
EXPLAINING: auto_load_inventory_when_joining_server_in_world
If a '*' is set to the list at the first position, then every player that joins the server in every world, get their inventory loaded from that world, they joined.
EXAMPLE:
E.g.: You have a lobby called "LOBBY" and a survival world called: "SURVIVAL", if you now want that the player loads only their inventory, saved in the "SURVIVAL" world, when joining the "SURVIVAL" world, then set this:
auto_load_inventory_when_joining_server_in_world: ['SURVIVAL']
------------------------------------------------------------------------------------------------
EXPLAINING: auto_save_inventory_when_quitting_server_in_world
If a '*' is set to the list at the first position, then every player that leaves the server in every world, saves their inventory to that world, they leaved.
EXAMPLE:
E.g.: You have a lobby called "LOBBY" and a survival world called: "SURVIVAL", if you now want that the player saves their inventory only in the "SURVIVAL" world, when leaving the "SURVIVAL" world, then set this:
auto_save_inventory_when_quitting_server_in_world: ['SURVIVAL']
------------------------------------------------------------------------------------------------
EXPLAINING: auto_save_inventory_when_leaving_world
If a '*' is set to the list at the first position, then every player that leaves a world, saves their inventory to that world.
EXAMPLE:
E.g.: You have a lobby called "LOBBY" and a survival world called: "SURVIVAL", if you now want that the player saves their inventory, when switching to the lobby world called "LOBBY" from the survival world called "SURVIVAL", but not from the "LOBBY" to the "SURVIVAL" world, then set this:
auto_save_inventory_when_leaving_world: ['SURVIVAL']
------------------------------------------------------------------------------------------------
EXPLAINING: auto_load_inventory_when_joining_world
If a '*' is set to the list at the first position, then every player that joins a world, loads their inventory from that world.
EXAMPLE:
E.g.: You have a lobby called "LOBBY" and a survival world called: "SURVIVAL", if you now want that the player loads their inventory, when switching to the survival called "SURVIVAL" from the lobby world called "LOBBY", but not from the "SURVIVAL" to the "LOBBY" world, then set this:
auto_load_inventory_when_joining_world: ['SURVIVAL']
------------------------------------------------------------------------------------------------
EXPLAINING:
auto_load_enderchest_when_joining_server_in_world
auto_save_enderchest_when_quitting_server_in_world
auto_save_enderchest_when_leaving_world
auto_load_enderchest_when_joining_world
are the same as above just with the enderchest instead of the player's inventory
------------------------------------------------------------------------------------------------
EXPLAINING: logs_enabled
Just a true or false value, that enables or disables the logs.
------------------------------------------------------------------------------------------------
EXPLAINING: logs_per_page
Just a double value, that sets the max logs per page. (Max is 27.0, min 1.0, recommended is 27.0, because it fills the whole page)
------------------------------------------------------------------------------------------------
EXPLAINING: player_exists_not_message
Just a message, that gets send to the player that use the /invsee command, after they enter a target player that doesn't have an inventory saved in that world.
------------------------------------------------------------------------------------------------
EXPLAINING: target_missing_message
Just a message, that gets send to the player that uses a command that requires a target and didn't enter a target player.
------------------------------------------------------------------------------------------------
EXPLAINING: missing_permissions
Just a message, that gets send to the player that uses a command with not the required permissions.
API:
InvManager
can be used as API, it has some functions to use with a little explanation over the function.
Source Code:
Source code is now on github. The ide is
IntelliJ IDEA from JetBrains.
Feel free to rate this plugin and write ideas!
Report issues here