Complete guide to configuring VaultPack through config.yml.
File Location
The configuration file is located at:
plugins/VaultPack/config.yml
# plugins/VaultPack/config.yml
After making changes, reload the configuration with:
/vaultpack reload
Storage Limits
Configure maximum storage capacity and defaults for players.
storage: # Maximum backpack slots players can unlockmax-backpack-slots:18 # Default unlocked slots for new playersdefault-unlocked-slots:1 # Maximum ender chest pagesmax-enderchest-pages:9 # Default unlocked ender pages for new playersdefault-unlocked-pages:1
Options
Option
Description
Default
Range
max-backpack-slots
Maximum backpack slots available
18
1-18
default-unlocked-slots
Slots unlocked for new players
1
0-18
max-enderchest-pages
Maximum ender chest pages
9
1-9
default-unlocked-pages
Pages unlocked for new players
1
0-9
Economy Settings
Configure Vault economy integration and costs.
Economy Options
Option
Description
Default
enabled
Enable economy features
true
slot-unlock.enabled
Enable slot unlock costs
true
slot-unlock.base-cost
Base cost for slot unlocking
1000
slot-unlock.cost-per-slot
Additional cost per slot number
500
page-unlock.enabled
Enable page unlock costs
true
page-unlock.base-cost
Base cost for page unlocking
2000
page-unlock.cost-per-page
Additional cost per page number
1000
Cost Formula Examples
Slot Unlocking:
Slot 1: 1000 + (1 × 500) = 1500
Slot 2: 1000 + (2 × 500) = 2000
Slot 3: 1000 + (3 × 500) = 2500
Slot 10: 1000 + (10 × 500) = 6000
Page Unlocking:
Page 1: 2000 + (1 × 1000) = 3000
Page 2: 2000 + (2 × 1000) = 4000
Page 3: 2000 + (3 × 1000) = 5000
Tip: Increase cost-per-slot to make higher slots more expensive.
Permission Settings
Configure permission-based unlocking as an alternative to economy.
Permission Options
Option
Description
Default
use-for-slots
Enable permission-based slot access
true
slot-format
Permission format for slots
See above
use-for-pages
Enable permission-based page access
true
page-format
Permission format for pages
See above
require-both
Require both money AND permission
false
Configuration Scenarios
Scenario 1: Economy Only
Players must pay money to unlock.
Scenario 2: Permissions Only
Players need permissions to access slots/pages.
Scenario 3: Either/Or (Recommended)
Players can unlock with either money or permissions.
If /gamerule keepInventory true → backpacks are kept
If /gamerule keepInventory false → follows plugin setting
Plugin Integration
Configure integration with other plugins.
Integration Options
Plugin
Required For
Default
Vault
Economy features
true
PlaceholderAPI
GUI placeholders
true
EcoItems
Custom recipe items
true
Note: These settings only matter if the plugins are installed. If a plugin is not detected, its features are automatically disabled.
Data Storage
Configure how player data is saved.
Data Options
Option
Description
Default
auto-save-interval
Seconds between auto-saves
300
save-on-logout
Save on player disconnect
true
save-on-disable
Save on server shutdown
true
format
Data format (json/yaml)
json
compress
Enable data compression
true
Recommendations:
Keep auto-save-interval at 300 (5 minutes) for safety
Always enable save-on-logout and save-on-disable
Use json format for better performance
Enable compress to reduce file sizes
Advanced Settings
Additional configuration options.
Advanced Options
Option
Description
Default
debug
Enable debug logging
false
check-updates
Check for new versions
true
metrics
Send anonymous usage stats
true
max-title-length
Maximum GUI title length
32
allow-nested-backpacks
Allow backpacks in backpacks
false
shift-click-to-backpack
Enable shift-click transfers
true
Warning: Enabling allow-nested-backpacks can cause duplication exploits and is not recommended!
Sound Configuration
Configure sounds played during various actions.
Sound Options
Option
Description
Default
Range
enabled
Enable all sounds
true
-
volume
Sound volume
1.0
0.0-1.0
pitch
Sound pitch
1.0
0.5-2.0
Custom Sounds
You can change any sound to a different Minecraft sound effect. Find available sounds at: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
Examples:
Configuration Tips
1
Balance Economy Costs
Start with low costs and increase based on your economy:
2
Limit Free Access
Prevent players from getting everything for free:
3
Use Hybrid System
Give basic access via permissions, advanced via economy:
4
Prevent Exploits
Always blacklist problematic items:
Related Documentation
Backpack Types Configuration
Menu Customization
Language Configuration
Permissions Setup
Troubleshooting
Changes not applying?
Run /backpack reload after editing config
Check for YAML syntax errors
Restart server if reload doesn't work
Economy not working?
Ensure Vault is installed
Ensure an economy plugin (EssentialsX, CMI) is installed
Check economy.enabled: true in config
Permissions not working?
Check permissions.use-for-slots: true
Verify permission plugin is properly configured
Test with /lp user <player> permission check vaultpack.slots.1
permissions:
# Use permissions for slot unlocking
use-for-slots: true
slot-format: "vaultpack.slots.%slot%"
# Use permissions for page unlocking
use-for-pages: true
page-format: "vaultpack.enderchest.page.%page%"
# If both economy and permissions are enabled:
# false = Player can unlock with EITHER money OR permission
# true = Player needs BOTH money AND permission
require-both: false
item-blacklist:
enabled: true
# Prevent these items from being stored
materials:
- BEDROCK
- BARRIER
- COMMAND_BLOCK
- CHAIN_COMMAND_BLOCK
- REPEATING_COMMAND_BLOCK
- COMMAND_BLOCK_MINECART
- STRUCTURE_BLOCK
- STRUCTURE_VOID
- JIGSAW
# Prevent shulker boxes (prevents nested storage)
prevent-shulker-boxes: false
# Also prevent custom shulker box variants
prevent-all-shulker-variants: false
# Message when blacklisted item is attempted
message: "&cThis item cannot be stored in backpacks!"
death-protection:
# Keep backpack items on death
keep-backpack-items: true
# Keep ender chest items on death
keep-ender-items: true
# Respect keepInventory gamerule
respect-keep-inventory-gamerule: true
hooks:
# Vault - Economy support
vault:
enabled: true
# PlaceholderAPI - Placeholder support
placeholderapi:
enabled: true
# EcoItems - Custom item support
ecoitems:
enabled: true
data:
# Auto-save interval (in seconds)
auto-save-interval: 300
# Save data when player logs out
save-on-logout: true
# Save data when plugin disables
save-on-disable: true
# Storage format (json or yaml)
format: json
# Compress data to save space
compress: true
advanced:
# Debug mode (verbose console logging)
debug: false
# Check for updates on startup
check-updates: true
# Metrics (bStats) - Help us improve!
metrics: true
# Max backpack title length
max-title-length: 32
# Allow backpacks in backpacks (not recommended!)
allow-nested-backpacks: false
# Enable shift-click to move items
shift-click-to-backpack: true