#########################################
#
# You can find the permissions and commands on
# the spigot page of the plugin!
#
#########################################
#
# Plugin configuration:
#
#########################################
# The type of the database.
# Options: flatfile or mysql
# Flatfile will save data in your local storage in the plugins/invArchiver folder.
#########################################
DATABASE: flatfile
#########################################
# Mysql Database Connection
#########################################
MYSQL-DATABASE:
HOST: localhost
PORT: 3306
DATABASE: inventory_saver_db
USER: root
PASSWORD: ""
#########################################
# The plugin will save in this format the date when sb saves or edits an inventory.
# Help for the formating: https://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html
DATE-FORMAT: "dd/MM/yyyy HH:mm:ss"
#########################################
# If true players can open inventory (same as /inv menu but not running through command so if you want to disable command and just using this it will work fine) by clicking on the block below.
#########################################
OPEN-INV-WITH-BLOCK:
ENABLE: true
MATERIAL: ENDER_CHEST
DISABLED-WORLDS:
- world_disabled_block
#########################################
# In the disabled worlds player won't be able to use the block click function. Except players with "invarchiver.bypass.disabledworlds" permission.
#########################################
DISABLED-WORLDS:
- world_disabled
#########################################
# Disable the economy manager for the plugin.
# If it's true, the save price for the groups won't matter.
#########################################
ECONOMY:
DISABLE: false
#########################################
# If true, the inventory automatically deletes itself when loaded.
#########################################
LOAD-INV-DELETE: true
#########################################
# If true, the inventory automatically deletes itself when someone else loads a players inventory.
#########################################
LOAD-OTHER-INV-DELETE: false
#########################################
# If true, the inventory automatically deletes when a friend load an inventory.
#########################################
LOAD-FRIEND-INV-DELETE: true
#########################################
# If true the players inventory will be deleted when it gets saved.
#########################################
DELETE-ON-SAVE: true
#########################################
# If true, the loaded inventory will simply overwrite the player's inventory
#########################################
OVERWRITE-INVENTORY: false
#########################################
# Drop items on the ground if player loads something and it isn't empty.
#########################################
DROP-ITEMS-WHEN-LOAD: true
#########################################
# If true, you can overwrite the inventory contents.
#########################################
OVERWRITE-INV-NAMES: true
#########################################
# If true, player can load inventories from the sum gui.
#########################################
RIGHT-CLICK-SUMGUI-LOAD: true
#########################################
# Here you can disable the friend access feature
#########################################
FRIEND-ACCESS:
ENABLED: true
DOUBLE-CLICK: true
DEFAULT-TYPE: VIEW # Available: VIEW, EDIT, FULL_EDIT, LOAD
#########################################
# You can turn on and off the confirmation gui, which appears when you delete, load or clear inventories.
#########################################
CONFIRMATION-GUI:
DELETE: true
LOAD: false
CLEAR: true
#########################################
# The summary GUI (for short SumGUI) is the place where players can navigate through all of their inv or others.
#########################################
SUMMARY-GUI:
TITLE: "&8%target% &6&l| &8Page: %page%"
ITEMS:
FILLER:
MATERIAL: GRAY_STAINED_GLASS_PANE
DAMAGE: 7
NORMAL-ICON:
# If first-item is true, the plugin will find the first item on the saved inventory and shows it as the icon of the inv in the SumGUI.
# If false, it will show what you set up at the material.
FIRST-ITEM: true
NAME: "&6%invname%"
MATERIAL: GOLD_INGOT
LORE:
- ""
- "&7Saved by: &e%savedby%"
- "&7Saved at: &e%savedat%"
- ""
- "&7Last modified by: &b%modifiedby%"
- "&7Last modified at: &b%modifiedat%"
- ""
- "&a&lLeft-Click &7to &aopen &7the inventory."
- "&b&lRight-Click &7to &bload &7the inventory."
DISMISS-ICON:
NAME: "&c%invname%"
MATERIAL: REDSTONE
LORE:
- ""
- "&c%invname% &7got deleted!"
- ""
- "&7Deleted by: &c%deletedby%"
- "&7Deleted at: &c%deletedat%"
- ""
- "&7Click here to &adismiss &7the inventory."
GO-LEFT:
NAME: "&aGo to page &e%page%"
MATERIAL: ARROW
GO-RIGHT:
NAME: "&aGo to page &e%page%"
MATERIAL: ARROW
CLOSE:
NAME: "&cClose"
MATERIAL: ARROW
INFORMATION:
NAME: "&6Information - Page %page%"
MATERIAL: EMERALD
LORE:
- ""
- "&6%number% &7inventories saved."
FRIEND-SUMMARY:
NAME: "&dFriend Summary GUI"
MATERIAL: PLAYER_HEAD
DAMAGE: 3
LORE:
- ""
- "&aOpen &7the &dFriend Summary GUI&7."
#########################################
# MainGUI is the GUI which opens when you open an inventory from SumGUI.
#########################################
INVENTORY-MAIN-GUI:
TITLE: "&6%invname% &8inventory"
ITEMS:
FILLER:
MATERIAL: GRAY_STAINED_GLASS_PANE
DAMAGE: 7
BACK:
NAME: "&aBack"
MATERIAL: ARROW
LOAD:
NAME: "&6Load"
MATERIAL: BLAZE_POWDER
DELETE:
NAME: "&cDelete"
MATERIAL: REDSTONE
FRIEND-SETUP:
NAME: "&eFriends Setup"
MATERIAL: PLAYER_HEAD
DAMAGE: 3
#########################################
# Friend Setup - This is where you can manage the access types of your friends.
#########################################
FRIEND-SETUP-GUI:
TITLE: "&6%inventory% &8friends"
ITEMS:
FILLER:
MATERIAL: GRAY_STAINED_GLASS_PANE
DAMAGE: 7
BACK:
NAME: "&cBack to main GUI"
MATERIAL: ARROW
FILLER-ITEM:
MATERIAL: GRAY_STAINED_GLASS_PANE
DAMAGE: 7
FRIEND:
NAME: "&e%player%"
LORE:
ACTIVE-ACCESS: " &a» %name%"
INACTIVE-ACCESS: " &c» %name%"
LORE:
- "%access%"
#########################################
# Friend Summary - This is where you can see the GUIs you have been added to as a friend.
#########################################
FRIEND-SUMMARY-GUI:
TITLE: "&eYour friend inventories &6&l| &8%page%"
ITEMS:
FILLER:
MATERIAL: GRAY_STAINED_GLASS_PANE
DAMAGE: 7
NORMAL-ICON:
# If first-item is true, the plugin will find the first item on the saved inventory and shows it as the icon of the inv in the SumGUI.
# If false, it will show what you set up at the material.
FIRST-ITEM: true
NAME: "&c%invname%"
MATERIAL: GOLD_INGOT # This is the default item for the icon
LORE:
- ""
- "&7Owner: &c%owner%"
- "&7Access Type: &e%access_type%"
- ""
- "&7Last modified by: &b%modifiedby%"
- "&7Last modified at: &b%modifiedat%"
- ""
- "&a&lLeft-Click &7to &aopen &7the inventory."
GO-SUMMARY-GUI:
NAME: "&dSummary GUI"
MATERIAL: CHEST
LORE:
- ""
- "&7You have &d%number% &7inventories."
- ""
- "&aOpen &7the &dSummary GUI&7."
GO-LEFT:
NAME: "&aGo to page &e%page%"
MATERIAL: ARROW
GO-RIGHT:
NAME: "&aGo to page &e%page%"
MATERIAL: ARROW
CLOSE:
NAME: "&cClose"
MATERIAL: ARROW
#########################################
# Friend Main GUI - This is where you can take a look at or edit/load your friend's inventory.
#########################################
FRIEND-MAIN-GUI:
TITLE: "&6%invname% &8inventory"
ITEMS:
FILLER:
MATERIAL: GRAY_STAINED_GLASS_PANE
DAMAGE: 7
BACK:
NAME: "&aBack"
MATERIAL: ARROW
LOAD:
NAME: "&6Load"
MATERIAL: BLAZE_POWDER
#########################################
# The confirmation GUI is the GUI where players have to approve tasks.
#########################################
CONFIRMATION-GUIS:
DELETE:
TITLE: "&cAre you sure?"
ITEMS:
ACCEPT:
NAME: "&cDelete Inventory"
MATERIAL: GREEN_STAINED_GLASS_PANE
DAMAGE: 13
CANCEL:
NAME: "&aCancel and go back"
MATERIAL: RED_STAINED_GLASS_PANE
DAMAGE: 14
CLEAR:
TITLE: "&cAre you sure?"
ITEMS:
ACCEPT:
NAME: "&cClear Inventories"
MATERIAL: GREEN_STAINED_GLASS_PANE
DAMAGE: 13
CANCEL:
NAME: "&aCancel and go back"
MATERIAL: RED_STAINED_GLASS_PANE
DAMAGE: 14
LOAD:
TITLE: "&cAre you sure?"
ITEMS:
ACCEPT:
NAME: "&cLoad Inventory"
MATERIAL: GREEN_STAINED_GLASS_PANE
DAMAGE: 13
CANCEL:
NAME: "&aCancel and go back"
MATERIAL: RED_STAINED_GLASS_PANE
DAMAGE: 14
#########################################
# You can set up the permissions as you wish. Extend the list like below.
#
# Each rank has the permission like invarchiver.rank.RANK-NAME
# Example for the gold rank: invarchiver.rank.gold
#
# Weight means if a player has multiple permissions, they will get the one with the highest weight. For example OPs always receive "infinite" rank with this setup.
# The amount means how many inventories the players with the rank are able to save.
# Edit means whether the players with the rank can edit their inventory from the gui or not.
# Save price talks for itself.
#########################################
RANKS:
DEFAULT:
WEIGHT: 1
AMOUNT: 2
EDIT: false
SAVE-PRICE: 100
ACCESS-PER-INV: 0
GOLD:
WEIGHT: 2
AMOUNT: 5
EDIT: true
SAVE-PRICE: 50
ACCESS-PER-INV: 2
IRON:
WEIGHT: 3
AMOUNT: 20
EDIT: false
SAVE-PRICE: 20
ACCESS-PER-INV: 5
DRAGON:
WEIGHT: 4
AMOUNT: 30
EDIT: true
SAVE-PRICE: 0
ACCESS-PER-INV: 10
INFINITE:
WEIGHT: 100
AMOUNT: 100
EDIT: true
SAVE-PRICE: 0
ACCESS-PER-INV: 18 # Max is 18 for now