HomeJavaModsKInvBackup - easy inventory backup
KInvBackup - easy inventory backup
KInvBackup
This plugin is very simple - it allows you to make a backup of a player's inventory. This backup can be created in many ways and then used to restore player's inventory whenever there's a need for doing this!

===== Configuration =====
Configuration is very easy and if you want - you don't even have to change anything! But, one thing must be said here - if you change plugin to, for example, version 1.2 and if in this version config was changed - your old config will be saved as an oldConfig.yml file and config.yml file will be reset to default. Sorry, I didn't find any way to prevent this (but I hope I will!)
Code (YAML):
###################################
########## CONFIGURATION ##########
###################################

# DO NOT TOUCH THIS SECTION !!!
configVersion
: 5

# Do you want to enable '/kinv info' command?
# This command only shows the info about me (author) and shows my spigotmc account link
# I would be very grateful if you would enable this command (but you can also disable it easily if you really want)
enableInfoCommand
: true

# Do you want to have one backup per world instead of one backup per server?
enablePerWorldBackup
: false

# When player leaves one of the worlds you define below his inventory will NOT be backuped
# This option works only if backupOnWorldChange is enabled
excludeWorlds
:
- 'survival_games_1'
- 'kitpvp'

# This option is used only if the plugin has to stop using perWorldBackups
# When plugin has to switch to one-backup-only mode it has to change the layout of player's backup file
# It has to stop using world names as sections and start using slot numbers as sections
# But only ONE backup can be converted, other will be removed
# The higher a world name is on this list, the bigger is a chance backup with that world name will be converted
# If none of this world names are in the converted file - plugin takes a random backup and converts it to new format
conversionWorldPriority
:
- 'world'
- 'world_nether'
- 'world_the_end'

# If the plugin switches to perWorldBackups and there is a backup created in one-backup-only mode in the player's file - it has to be converted
# This backup will be saved as it belongs to the world you enter below
convertToWorld
: 'world'

# Do you want to not backup player's inventory if he has survival gamemode on?
ignoreSurvival
: false

# Do you want to not backup player's inventory if he has creative gamemode on?
ignoreCreative
: true

# Do you want to not backup player's inventory if he has adventure gamemode on?
ignoreAdventure
: false

# Do you want to backup player inventories when they change world?
# In my opinion this option is useful only if you have perWorldBackup enabled
backupOnWorldChange
: false

# Do you want to backup player inventories on their join?
backupOnJoin
: true

# Do you want to backup player inventories on their quit?
backupOnQuit
: true

# Do you want to backup player inventories on their kick?
backupOnKick
: true

# Do you want to backup player inventories on server enabling?
backupOnServerEnabled
: true

# Do you want to backup player inventories on server disabling?
backupOnServerDisabled
: true

# Do you want to enable autoBackup?
autoBackupEnabled
: true

# How frequently do you want autoBackup to save inventories?
# Interval must be given in seconds
autoBackupInterval
: 300

# Do you want to delete backup after player's inventory is restored?
clearBackupAfterUse
: false

###################################
############# MESSAGES ############
###################################

# Shown when player has no permission to use a command
msgNoPermission
: "&cNo permission!"

# Shown when player uses a command with wrong arguments
msgCorrectUsage
: "&cCorrect usage: {COMMAND}"

# Shown when console uses a player-only command
msgPlayerOnlyCommand
: "&cThis is a player-only command!"

# Shown when someone wants to backup/restore inventory of the player that is not online
msgNoSuchPlayer
: "&cThis player is not online!"

# Shown when someone wants to restore/show backuped inventory of the player, but there is no such backup
msgNoSuchBackup
: "&cThis player has no backuped inventory!"

# Shown when someone wants to restore/show backuped inventory of the player, but there is no backup for the world the player is currently in
msgNoBackupForThisWorld
: "&cThis player has no backuped inventory for {WORLD}!"

# Shown when player's inventory is successfully restored
msgInventoryRestored
: "&6{PLAYER}'s &ainventory has been successfully restored to the state from &6{DATE}&a!"

# Shown when player reloads a config file
msgConfigReloaded
: "&aConfig file has been reloaded!"

# Shown when player's inventory is successfully backuped
msgBackupCreated
: "&6{PLAYER}'s &ainventory has been succesfully backuped!"

# Shown player has a gamemode which is ignored
msgGamemodeIgnored
: "&cYou cannot create a backup - player's gamemode is set to be ignored!"


===== Commands =====
» If the world name in the /kinv show command must contain spaces you can use %s% or %S% instead of spaces

» For example, to show my backuped items in world 'Survival Games' you have to type: /kinv show Kamilkime Survival%S%Games

» If the plugin has perWorldBackups disabled , in the /kinv show command you can write whatever you want as a worldName, in this case the argument is totally useless :)

===== Polish aliases =====
» Jeśli nazwa świata w komendzie /kinv pokaz musi zawierać spacje, zamiast nich możesz użyć %s% lub %S%

» Na przykład, żeby pokazać moje zapisane itemy ze świata 'Survival Games' musisz wpisać: /kinv pokaz Kamilkime Survival%S%Games

» Jeżeli w configu opcja perWorldBackups jest wyłączona, w komendzie /kinv pokaz jako nazwę świata możesz podać cokolwiek, w tym przypadku jest ona całkowicie bezużyteczna :)

===== Permissions =====
===== ToDo =====
===== Source code =====

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

KInvBackup - easy inventory backup is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 14,706 times (via Spigot). Download it and open it directly in the game.

Explore more