SaveInventory [1.13 - 1.17] 1.2.2

~ Save, Clear, Load, and Sync player inventories & enderchests! ~

  1. PretzelJohn
    Native Minecraft Version:
    1.16
    Tested Minecraft Versions:
    • 1.13
    • 1.14
    • 1.15
    • 1.16
    • 1.17
    Description

    SaveInventory (SI) is a simple plugin that can save, clear, load, and sync player inventories and enderchests, even across multiple BungeeCord servers! This was specifically designed for minigames on our survival server, but more features are planned to make it more versatile.

    Please don't post bugs and errors in the review section. Instead, let me know if you have any issues or suggestions in the Discussion section, and please use https://pastebin.com for errors/logs!

    ~ For even faster support, join my Discord server! ~
    [​IMG]

    Features
    • Save player inventories and enderchests
    • Clear player inventories and enderchests
    • Load player inventories and enderchests (from the latest save)
    • Sync player inventories and enderchests across multiple BungeeCord servers (with duping prevention)
    • Automatically backup inventories when players join and/or die

    Commands
    • /si reload → reloads config.yml
    • /si backup {player} → saves both the player's inventory and enderchest (the 10 latest are stored)
    • /si clear {player} → clears the player's inventory and enderchest
    • /si restore {player} → loads the last saved inventory for the player

    Permissions
    • saveinventory.* → permission for all commands (default OP)
    • saveinventory.use → lets players use /si (required for the other commands, default ALL)
    • saveinventory.reload → lets players reload the config (default OP)
    • saveinventory.backup → lets players save another player's inventory and enderchest (default OP)
    • saveinventory.clear → lets players clear another player's inventory and enderchest (default OP)
    • saveinventory.restore → lets players load another player's inventory and enderchest from the last save (default OP)

    Compatibility

    This plugin is compatible with Bukkit, Spigot, and Paper servers.

    Known compatible plugins:
    • InventoryRollback → LINK

    bStats

    SaveInventory uses bStats to collect data on how this plugin is used. This helps me keep track of server and plugin versions. You can turn this off in the config by changing the following line in config.yml:
    Code (Text):
    bStats: false
    Click HERE to see the statistics for SaveInventory!


    Default Config
    Code (Text):
    ##################################################################################
    #                             SI ~ SaveInventory                                 #
    #                               Version: 1.2.2                                   #
    #                               By: PretzelJohn                                  #
    ##################################################################################

    # This helps me keep track of what server versions are being used. Please leave this set to true
    bStats: true

    # Maximum number of inventory backups per player. The oldest backups are deleted first.
    SavesPerPlayer: 10

    # Automatically makes a backup of each player's inventory and enderchest when they log in
    BackupOnJoin: false

    # Automatically makes a backup of each player's inventory and enderchest when they die
    BackupOnDeath: false

    # Set this to true and set up your MySQL database (below) for all Bungee servers
    # to automatically sync player inventories across multiple servers.
    # NOTE: Make sure to change this setting on ALL Bungee servers to prevent issues
    BungeeAutoSync: false

    # Set up your MySQL database, then fill in the following information:
    database:
      # Set to true to enable MySQL database, or false (default) to use SQLite
      MySQL: false
      # this is your MySQL database server host name
      host: localhost
      # this is the port of your MySQL database (usually 3306)
      port: 3306
      # this is the name of your database/schema (you must create the database/schema first)
      name: saveinventory
      # username and password to log in to the database
      username: root
      password: root
      # this is the character encoding you set for your database/schema
      encoding: utf8
      # setting useSSL to true can add extra security if your server supports it
      useSSL: false

Recent Reviews

  1. Cantibra
    Cantibra
    5/5,
    Version: 1.2.2
    Does what it should... Theres nothing else to say... Excellent work...
    I love it!