InventorySaver | SQLite/MySQL | SAVE INVENTORIES & SYNC | SEARCH, OFFLINE EDIT, HISTORY BROWSE icon

InventorySaver | SQLite/MySQL | SAVE INVENTORIES & SYNC | SEARCH, OFFLINE EDIT, HISTORY BROWSE -----

Async automatic inventory and enderchest save with history, menus, autodelete, offline edit and more



[​IMG]

/invsave - Display help for commands.
/invsave history <player> [enderchest] - Display player saved inventories/enderchest inventories in menu.
/invsave save <player> [enderchest] - Manual save player inventory/enderchest.
/invsave clear <player> [enderchest] - Clear player inventory/enderchest even when is player offline.
/invsave view <player> [enderchest] - Open player offline inventory/enderchest.
/invsee edit <player> [enderchest] - Open and edit player online inventory/enderchest. Real-time inventory/enderchest.
/invsave load <player> <inventoryID> [enderchest] - Load inventory to player.
/invsave delete <inventoryID> [enderchest] - Delete inventory or enderchest by id.
/invsave search <offline/online> <item/material> [material] [enderchest] - Search selected item in player inventories or enderchests.
/invsave reload - Reload plugin configurations.
/invsave tasks - Managing plugin tasks.
/invsave tasks stop - Stop all plugin async tasks.
/invsave tasks list - Display all plugin pending, proccessing and active async tasks.
/invsave sync - Manage inventory sync option.
/invsave sync edit <player> [enderchest] - Open and edit player offline network inventory/enderchest.
/invsave sync import - Import all player data from server to this plugin to enable sync function.
/invsave sync migrate - Migrate configured data from MysqlPlayerDataBridge to this plugin to enable sync function.
/invsave sync locks - Display all active syncing locks.
/invsave sync unlock - Releasing player syncing locks.
/invsave sync unlock player <player> - Release player syncing lock.
/invsave sync unlock all - Release player syncing locks for all players.
/invsave sync save kickallinsync - Save all players and kick it from server in sync. This command is designed to run before servers stop/restart only.

Be careful, releasing syncing locks can break syncing and there could be data loss between transfers from one to another server. This command is designed to use only when it is the most necessary (eg. server crash).

<required> - Required parameter.
[optional] - Optional parameter.

[​IMG]

invsave.* - Gives access to all InventorySaver commands and events
invsave.commands.* - Gives access to all commands
invsave.events.* - Gives access to all events/menu interactions
invsave.command.invsave - Permission to use /invsee command.
invsave.command.invsave.help - Permission to display /invsee help.
invsave.command.invsave.history - Permission to use /invsave history command.
invsave.command.invsave.history.enderchest - Permission to use /invsave history <player> enderchest command.
invsave.command.invsave.view - Permission to use /invsave view command.
invsave.command.invsave.view.enderchest - Permission to use /invsave view <player> enderchest command.
invsave.command.invsave.edit - Permission to use /invsave edit command.
invsave.command.invsave.edit.enderchest - Permission to use /invsave edit <player> enderchest command.
invsave.command.invsave.save - Permission to use /invsave save command.
invsave.command.invsave.save.enderchest - Permission to use /invsave save <player> enderchest command.
invsave.command.invsave.clear - Permission to use /invsave clear command.
invsave.command.invsave.clear.enderchest - Permission to use /invsave clear <player> enderchest command.
invsave.command.invsave.load - Permission to use /invsave load command.
invsave.command.invsave.load.enderchest - Permission to use /invsave load command with enderchest parameter.
invsave.command.invsave.delete - Permission to use /invsave delete command.
invsave.command.invsave.delete.enderchest - Permission to use /invsave delete command with enderchest parameter.
invsave.command.invsave.search - Permission to use /invsave search command.
invsave.command.invsave.reload - Permission to use /invsave reload command.
invsave.command.invsave.tasks - Permission to use /invsave tasks command.
invsave.command.invsave.tasks.help - Permission to display /invsave tasks command help.
invsave.command.invsave.tasks.stop - Permission to use /invsave tasks stop command.
invsave.command.invsave.tasks.list - Permission to use /invsave tasks list command.
invsave.command.invsave.sync - Permission to use /invsave sync command.
invsave.command.invsave.sync.help - Permission to display /invsave sync command help.
invsave.command.invsave.sync.edit - Permission to use /invsave sync edit command for inventories.
invsave.command.invsave.sync.edit.enderchest - Permission to use /invsave sync edit command for enderchests.
invsave.command.invsave.sync.import - Permission to use /invsave sync import command.
invsave.command.invsave.sync.migrate - Permission to use /invsave sync migrate command.
invsave.command.invsave.sync.locks - Permission to use /invsave sync locks command.
invsave.command.invsave.sync.unlock - Permission to use /invsave sync unlock command.
invsave.command.invsave.sync.unlock.help - Permission to display /invsave sync unlock command help.
invsave.command.invsave.sync.unlock.player - Permission to use /invsave sync unlock player command.
invsave.command.invsave.sync.unlock.all - Permission to use /invsave sync unlock all command.
invsave.command.invsave.sync.save - Permission to use /invsave sync save command.
invsave.command.invsave.sync.save.help - Permission to display /invsave sync save command help.
invsave.command.invsave.sync.save.kickallinsync - Permission to use /invsave sync save kickallinsync command.
invsave.inventory.admin.load-inventory-to-admin
- Ability to load inventory from history detail to you.
invsave.inventory.admin.load-inventory-to-player
- Ability to load inventory from history detail to player.
invsave.inventory.admin.set-up-xp-to-player - Ability to load XP level and XP points from history detail to player.
invsave.inventory.enderchest.admin.load-inventory-to-admin
- Ability to load enderchest from history detail to you.
invsave.inventory.enderchest.admin.load-inventory-to-player
- Ability to load enderchest from history detail to player.
invsave.inventory.offline.edit - Ability to edit player offline inventory (/invsave view <player> command)
invsave.enderchest.offline.edit - Ability to edit player offline inventory (/invsave view <player> enderchest command)
invsave.inventory.history.edit - Ability to edit player history inventory (/invsave history <player> command)
invsave.enderchest.history.edit - Ability to edit player history inventory (/invsave history <player> enderchest command)
invsave.inventory.actual.edit - Ability to edit player online inventory (/invsave edit <player> command)
invsave.enderchest.actual.edit - Ability to edit player online inventory (/invsave edit <player> enderchest command)
invsave.sync.inventory.edit - Ability to edit and save player offline network inventory (/invsave sync edit <player> command)
invsave.sync.enderchest.edit - Ability to edit and save player offline network enderchest (/invsave sync edit <player> enderchest command)

[​IMG]

Code (YAML):

Sync
:
  General
:
    #Enable or disable syncing function
    enable
: false
    #Enable debug messages, when something not work as expected
    debug
: false
  Tasks
:
    Save
:
      #Enable or disable automatic saving task
      enable
: true
      #Save all players every x amount of seconds
      every
: 300
  Data
:
    #Sync inventory
    inventory
: true
    #Sync enderchest
    enderchest
: true
    #Sync player location
    location
: true
    #Sync hotbar slot
    hotBarSlot
: true
    #Sync xp
    xp
: true
    #Sync xp level
    xpLevel
: true
    #Sync gamemode
    gamemode
: true
    #Sync potions
    potions
: true
    #Sync bed location
    bedLocation
: true
    #Sync compass location
    compassLocation
: true
    #Sync flying
    flying
: true
    #Sync sneaking
    sneaking
: true
    #Sync fly speed
    flySpeed
: true
    #Sync walk speed
    walkSpeed
: true
    #Sync health
    health
: true
    #Sync max health
    maxHealth
: false
    #Sync food
    food
: true
    #Sync saturation
    saturation
: true
    #Sync money accounts (only when vault is installed)
    vault
: false
  Message
:
    #Message to player when player sync is complete
    Complete
:
      #Enable/disable sync complete message, message is editable in messages.yml file
      enable
: true
  Database
:
    #Define database engine, can by: mysql
    engine
: mysql
    MySQL
:
      host
: localhost
      port
: 3306
      database
: database
      user
: user
      password
: password
      #Hight recommended for common usage to set true.
      ssl
: true
      #Database prefix for tables.
      prefix
: invsave
  #MysqlPlayerDataBridge database configuration for migration
  Migrate
:
    #Enable or disable database connection to MPDB database. When you finish migration, it's recommended to disable this
    enable
: false
    Database
:
      MySQL
:
        host
: localhost
        port
: 3306
        database
: database
        user
: user
        password
: password
        ssl
: false
      #Tables and migration configuration for MPDB tables
      Tables
:
        Inventory
:
          name
: mpdb_inventory
          #Enable or disable migrate inventories to InventorySaver Sync database
          migrate
: true
        Enderchest
:
          name
: mpdb_enderchest
          #Enable or disable migrate enderchests to InventorySaver Sync database
          migrate
: true
        Experience
:
          name
: mpdb_experience
          #Enable or disable migrate exp potions and level to InventorySaver Sync database
          migrate
: true
        PotionEffects
:
          name
: mpdb_potionEffects
          #Enable or disable migrate potion effects to InventorySaver Sync database
          migrate
: true
        OtherData
:
          name
: mpdb_health_food_air
          #Enable or disable migrate health, food and air to InventorySaver Sync database
          migrate
: true
        Location
:
          name
: mpdb_location
          #Enable or disable migrate locations to InventorySaver Sync database
          migrate
: true
        Economy
:
          name
: mpdb_economy
          #Enable or disable migrate economy to InventorySaver Sync database
          migrate
: false

Database
:
  #Define database engine, can by: sqllite, mysql
  engine
: sqllite
  #Configure connection to MySQL dabatase.
  MySQL
:
    host
: localhost
    port
: 3306
    database
: database
    user
: user
    password
: password
    #Hight recommended for common usage to set true.
    ssl
: true
    #Database prefix for tables.
    prefix
: invsave
  SQLLite
:
    prefix
: invsave

General
:
  #Set timezone, when database and minecraft server were in different timezones, set default to not change this
  timezone
: default
  dateTimeFormat
: yyyy-MM-dd HH:mm:ss
  #Use offline players on tab-complete. If you have a lots of offline players and the delay of tam-complete is big, please set to false
  useOfflinePlayers
: true
  #Used for server identification when you use same database on multiple server instances
  server
: node-1

Inventory
:
  #When save player inventories?
  Save
:
    #Autosave every x seconds/minutes/hours...
    autosave
: true
    #Save inventory every login.
    login
: true
    #Save inventory every logout.
    logout
: true
    #Save inventory every player death.
    death
: true
    #Save inventory when player world switch.
    WorldChange
:
      #Save the inventory before player change world. When player teleport from world ONE to world TWO, inventory from world ONE is saved
      beforeTeleport
: true
      #Save the inventory after player change world. When player teleport from world ONE to world TWO, inventory from world TWO is saved
      afterTeleport
: false
  #Configure autosaving inventories.
  Autosave
:
    #Interval autosaving, default to 10 minutes. Put value in seconds.
    interval
: 600
  #Deleting saved inventories, only if you wish
  Backup
:
    #Delete all inventories with login cause after 30 days or set false to disable automatic delete
    Login
:
      deleteAfter
: 30
    #Delete all inventories with logout cause after 30 days or set false to disable automatic delete
    Logout
:
      deleteAfter
: 30
    #Delete all inventories with autosave cause after 7 days or set false to disable automatic delete
    Autosave
:
      deleteAfter
: 7
    #Delete all inventories with death cause after 30 days or set false to disable automatic delete
    Death
:
      deleteAfter
: 30
    #Delete all inventories with manual cause after 356 days or set false to disable automatic delete
    Manual
:
      deleteAfter
: 356
    #Delete all inventories with world change cause after 30 days or set false to disable automatic delete
    WorldChange
:
      deleteAfter
: 30
  #Disable saving in configured worlds
  disabled-worlds
:
   - custom_world
  #General configuration for menus
  Menu
:
    #Configuration of custom items for every cause of history menu
    History
:
      Cause
:
        Login
:
          #Values in https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html can by used
          material
: PLAYER_HEAD
          #Texture of player had can by used
          texture
: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTliZjMyOTJlMTI2YTEwNWI1NGViYTcxM2FhMWIxNTJkNTQxYTFkODkzODgyOWM1NjM2NGQxNzhlZDIyYmYifX19
          #Player head can by used by name or by a variable %playerUUID%
          #player: MrFiliper
          #player: %playerUUID%
          #The number of items
          count
: 1
        Logout
:
          material
: PLAYER_HEAD
          texture
: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmQ2OWUwNmU1ZGFkZmQ4NGU1ZjNkMWMyMTA2M2YyNTUzYjJmYTk0NWVlMWQ0ZDcxNTJmZGM1NDI1YmMxMmE5In19fQ==
          count
: 1
        AutoSave
:
          material
: PLAYER_HEAD
          texture
: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTY3ZDgxM2FlN2ZmZTViZTk1MWE0ZjQxZjJhYTYxOWE1ZTM4OTRlODVlYTVkNDk4NmY4NDk0OWM2M2Q3NjcyZSJ9fX0=
          count
: 1
        Death
:
          material
: PLAYER_HEAD
          texture
: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzM2ZmViZWNhN2M0ODhhNjY3MWRjMDcxNjU1ZGRlMmExYjY1YzNjY2IyMGI2ZThlYWY5YmZiMDhlNjRiODAifX19
          count
: 1
        Manual
:
          material
: PLAYER_HEAD
          texture
: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2VkZDIwYmU5MzUyMDk0OWU2Y2U3ODlkYzRmNDNlZmFlYjI4YzcxN2VlNmJmY2JiZTAyNzgwMTQyZjcxNiJ9fX0=
          count
: 1
        WorldChange
:
          material
: PLAYER_HEAD
          texture
: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2U0MWM2MDU3MmM1MzNlOTNjYTQyMTIyODkyOWU1NGQ2Yzg1NjUyOTQ1OTI0OWMyNWMzMmJhMzNhMWIxNTE3In19fQ==
          count
: 1

Enderchest
:
  #When save enderchest inventories?
  Save
:
    #Autosave every x seconds/minutes/hours...
    autosave
: true
    #Save inventory every login.
    login
: true
    #Save inventory every logout.
    logout
: true
    #Save inventory every player death.
    death
: true
    #Save inventory when player world switch.
    WorldChange
:
      #Save the inventory before player change world. When player teleport from world ONE to world TWO, inventory from world ONE is saved
      beforeTeleport
: true
      #Save the inventory after player change world. When player teleport from world ONE to world TWO, inventory from world TWO is saved
      afterTeleport
: false
  #Configure autosaving inventories.
  Autosave
:
    #Interval autosaving, default to 10 minutes. Put value in seconds.
    interval
: 600
  #Deleting saved enderchest inventories, only if you wish
  Backup
:
    #Delete all inventories with login cause after 30 days or set false to disable automatic delete
    Login
:
      deleteAfter
: 30
    #Delete all inventories with logout cause after 30 days or set false to disable automatic delete
    Logout
:
      deleteAfter
: 30
    #Delete all inventories with autosave cause after 7 days or set false to disable automatic delete
    Autosave
:
      deleteAfter
: 7
    #Delete all inventories with death cause after 30 days or set false to disable automatic delete
    Death
:
      deleteAfter
: 30
    #Delete all inventories with manual cause after 356 days or set false to disable automatic delete
    Manual
:
      deleteAfter
: 356
    #Delete all inventories with world change cause after 30 days or set false to disable automatic delete
    WorldChange
:
      deleteAfter
: 30
  #Disable saving in configured worlds
  disabled-worlds
:
   - custom_world
  #General configuration for menus
  Menu
:
    #Configuration of custom items for every cause of history menu
    History
:
      Cause
:
        Login
:
          #Values in https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html can by used
          material
: PLAYER_HEAD
          #Texture of player had can by used
          texture
: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMTliZjMyOTJlMTI2YTEwNWI1NGViYTcxM2FhMWIxNTJkNTQxYTFkODkzODgyOWM1NjM2NGQxNzhlZDIyYmYifX19
          #Player head can by used by name or by a variable %playerUUID%
          #player: MrFiliper
          #player: %playerUUID%
          #The number of items
          count
: 1
        Logout
:
          material
: PLAYER_HEAD
          texture
: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYmQ2OWUwNmU1ZGFkZmQ4NGU1ZjNkMWMyMTA2M2YyNTUzYjJmYTk0NWVlMWQ0ZDcxNTJmZGM1NDI1YmMxMmE5In19fQ==
          count
: 1
        AutoSave
:
          material
: PLAYER_HEAD
          texture
: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvYTY3ZDgxM2FlN2ZmZTViZTk1MWE0ZjQxZjJhYTYxOWE1ZTM4OTRlODVlYTVkNDk4NmY4NDk0OWM2M2Q3NjcyZSJ9fX0=
          count
: 1
        Death
:
          material
: PLAYER_HEAD
          texture
: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMzM2ZmViZWNhN2M0ODhhNjY3MWRjMDcxNjU1ZGRlMmExYjY1YzNjY2IyMGI2ZThlYWY5YmZiMDhlNjRiODAifX19
          count
: 1
        Manual
:
          material
: PLAYER_HEAD
          texture
: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2VkZDIwYmU5MzUyMDk0OWU2Y2U3ODlkYzRmNDNlZmFlYjI4YzcxN2VlNmJmY2JiZTAyNzgwMTQyZjcxNiJ9fX0=
          count
: 1
        WorldChange
:
          material
: PLAYER_HEAD
          texture
: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvM2U0MWM2MDU3MmM1MzNlOTNjYTQyMTIyODkyOWU1NGQ2Yzg1NjUyOTQ1OTI0OWMyNWMzMmJhMzNhMWIxNTE3In19fQ==
          count
: 1
 
Code (YAML):

Menu
:
  title
: '&e&lInventory - %inventoryId% &6&l| &e&l%playerName%'
  size
: 54

Items
:
  item-45
:
    title
: '&6❰&e❰ &6Back &e❰&6❰'
    material
: SUNFLOWER
    count
: 1
    position
: 45
  item-46
:
    title
: '&6❰&e❰ &6Previous inventory &e❰&6❰'
    material
: SUNFLOWER
    count
: 1
    position
: 46
  item-48
:
    title
: '&6❰&e❰ &6Set up my inventory &e❱&6❱'
    material
: HOPPER
    count
: 1
    position
: 48
  item-49
:
    title
: '&c❰&4❰ &cClose &4❱&c❱'
    material
: BARRIER
    count
: 1
    close
: true
    position
: 49
  item-50
:
    title
: '&6❰&e❰ &6Set up %playerName% inventory &e❱&6❱'
    material
: HOPPER
    count
: 1
    position
: 50
  item-51
:
    title
: '&6❰&e❰ &6Set up %playerName% experience &e❱&6❱'
    material
: EXPERIENCE_BOTTLE
    count
: 1
    position
: 51
  item-52
:
    title
: '&6❱&e❱ &6Next inventory &e❱&6❱'
    material
: SUNFLOWER
    count
: 1
    position
: 52
 
Resource Information
Author:
----------
Total Downloads: 747
First Release: Jul 25, 2018
Last Update: Dec 6, 2024
Category: ---------------
All-Time Rating:
70 ratings
Find more info at gitlab.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings