π₯₯CocoVaults Lite
CocoVaults-Lite Documentation
CocoVaults-Lite is a simplified virtual vault plugin for Minecraft servers. This lighter version provides players with personal storage containers accessible from anywhere, featuring file-based storage backends, intuitive GUI, and essential administrative tools for server management.
Main Features
π¦ Virtual Storage System
Personal Vaults: Each player gets their own set of virtual storage containers
GUI Management: Intuitive graphical interface for vault access and management
Fixed Capacity: Each vault provides 54 slots of storage (double chest size)
Permission-based System: Configure vault quantity and access based on player permissions
Vault Unlocking: Special permission system for unlocking specific vault numbers
πΎ Storage Backends
YAML: Simple file-based storage for small servers
JSON: Modern file-based storage with better performance
π¨ Customization & Management
Custom Vault Icons: Players can personalize their vault appearances
Vault Renaming: Custom names with color code support
Item Blacklist: Prevent specific items from being stored
Admin Tools: Complete administrative control over player vaults
Cooldown System: Configurable vault access cooldowns
Configuration
Complete Configuration File
Configuration Options
Storage Settings
Storage-Mode
Mode:
YAML/JSON- Choose your preferred storage backendYAML: Simple file-based storageJSON: Optimized file-based storage
Plugin Permissions
Permission Nodes
ALL:
cocovaults.*- All plugin permissionsOpen-Vaults:
cocovaults.open- Permission to open vaultsAdmin-Vaults:
cocovaults.admin- Administrative vault accessChange-Icons:
cocovaults.icons- Permission to change vault iconsRename:
cocovaults.rename- Permission to rename vaultsRename-Color:
cocovaults.rename.color- Permission to use color codes in namesGUI-Access:
cocovaults.gui- Permission to access GUI
Plugin Messages
All plugin messages support MiniMessage formatting and include:
Prefix: Plugin message prefix with color formatting
No-Perms: No permission message
No-Subcmd: Invalid subcommand message
No-Player-Found: Player not found message
Reloading: Plugin reload in progress message
Reloaded-Success: Successful reload message
Only-players: Player-only command message
Full-Space: Vault full message
No-More-Vaults: Maximum vaults reached message
No-Admin: No admin permission message
Blacklisted-Item: Blacklisted item message
Opened-Vault: Vault opened message (supports
%vault%variable)Changed-Icon: Icon changed message
Analysis-Error: Error analysis message
Saved-Vault: Vault saved message
Invalid-Material: Invalid material message
Vault-Deleted: Vault deleted message
Vault-Restored: Vault restored message
Data-Loading-Error: Data loading error message
Data-Loading-Please-Wait: Data loading wait message
GUI-Item-Name: GUI item display name (supports
%vault%variable)Vault-Closed-Due-To-Inactivity: Inactivity closure message
No-Valid-Count-Give: Invalid vault count message
Gived-Vaults: Vaults given message (supports
%count%and%player%variables)Conversion-Started: Conversion start message
Conversion-Complete: Conversion complete message (supports
%vaults%and%players%variables)Import-Confirmation: Import confirmation message
Specify-Vault: Specify vault message
Vault-Renamed: Vault renamed message (supports
%vault%variable)Invalid-Vault: Invalid vault message
Removed-Vaults: Vaults removed message (supports
%count%and%player%variables)No-Valid-Count-Remove: Invalid remove count message
Not-Enough-Vaults-To-Remove: Insufficient vaults message (supports
%current%and%requested%variables)Vault-Removed: Single vault removed message (supports
%vault%variable)Additional-Vaults-Updated: Vault count updated message (supports
%current%variable)Vault-Closed-Due-To-Deletion: Vault deleted by admin message
Storage-Mode-Invalid: Invalid storage mode message
Opened-Vault-Admin: Admin vault access message (supports
%Vault%and%Player%variables)Vault-Closed: Vault closed message
Wait-Cooldown: Cooldown wait message (supports
%seconds%variable)Import-Not-Possible: Import failed message
Vault-Locked-By-Admin: Admin locked vault message
Vault-Updated-By-Admin: Admin updated vault message
Vault-Locked: Locked vault access message
GUI Settings
GUI Names
Vault-List-GUI:
<black>CocoVaults GUI - Page %page%- Main GUI title (supports%page%variable)GUI-Item-Name:
<white>CocoVault <green>%vault%- Vault item name (supports%vault%variable)Player-Vault:
<black>CocoVault %vault%- Individual vault title (supports%vault%variable)Next-Page-Button:
<white>Next Page β‘- Next page button textPrevious-Page-Button:
<white>β¬ Previous Page- Previous page button text
GUI Items
Default-Vault:
CHEST- Default vault icon materialLore-Vaults: List of lore lines for vault items (supports
%usage%and%free%variables)Decoration:
BLACK_STAINED_GLASS_PANE- GUI decoration itemNext-Page-Item:
ARROW- Next page button materialPrevious-Page-Item:
ARROW- Previous page button material
Miscellaneous Settings
Misc-Settings
Max-Vaults:
100- Maximum number of vaults per playerOpen-Cooldown:
1- Cooldown in seconds between vault openings (-1 to disable, accepts decimals)Close-Opens-Main-GUI:
false- Whether closing a vault opens the main GUIOpen-Sound:
BLOCK_ENDER_CHEST_OPEN- Sound played when opening a vaultClose-Sound:
BLOCK_ENDER_CHEST_CLOSE- Sound played when closing a vault
Item Blacklist
Item-BlackList
List of materials that cannot be stored in vaults:
Example items:
DIAMOND_BLOCK,DIAMONDSupports any valid Minecraft material name
Case-sensitive material names
Commands
/cocovaults or /cv
/cocovaults or /cvMain command for all vault operations.
Basic Commands
/cv
Description: Open the vault GUI
Permission:
cocovaults.openUsage:
/cvor/cocovaults
/cv <number>
Description: Open a specific vault by number
Permission:
cocovaults.openUsage:
/cv 1,/cv 5Note: Vault number must be within player's limit or unlocked
/cv reload
Description: Reload plugin configuration
Permission:
cocovaults.adminUsage:
/cv reload
Administrative Commands
/cv admin <player> <vault>
Description: Open another player's vault (admin mode)
Permission:
cocovaults.adminUsage:
/cv admin PlayerName 1Effect: Opens player's vault with admin access
/cv give <player> <amount>
Description: Give additional vaults to a player
Permission:
cocovaults.adminUsage:
/cv give PlayerName 5Effect: Adds extra vaults to player's limit
/cv remove <player> <amount>
Description: Remove vaults from a player
Permission:
cocovaults.adminUsage:
/cv remove PlayerName 2Effect: Reduces player's vault count
/cv delete <player> <vault>
Description: Delete a specific vault
Permission:
cocovaults.adminUsage:
/cv delete PlayerName 3Effect: Permanently deletes the specified vault
/cv rename <vault> <name>
Description: Rename a vault
Permission:
cocovaults.renameUsage:
/cv rename 1 "My Storage"Effect: Changes vault display name
/cv icon <vault>
Description: Change vault icon to held item
Permission:
cocovaults.iconsUsage: Hold desired item and use
/cv icon 1Effect: Changes vault icon in GUI
/cv convert playervaultsx
Description: Import data from PlayerVaultsX
Permission:
cocovaults.adminUsage:
/cv convert playervaultsxEffect: Migrates data from PlayerVaultsX plugin
/cv storage <mode>
Description: Switch storage backend
Permission:
cocovaults.adminUsage:
/cv storage JSON,/cv storage YAMLEffect: Changes active storage system
Permissions
Basic Permissions
cocovaults.open
Open personal vaults
All Players
cocovaults.gui
Access vault GUI
All Players
cocovaults.rename
Rename vaults
All Players
cocovaults.rename.color
Use color codes in vault names
All Players
cocovaults.icons
Change vault icons
All Players
Administrative Permissions
cocovaults.admin
All administrative functions
OP
cocovaults.*
All plugin permissions
OP
Vault Quantity Permissions
cocovaults.quantity.<number>
Access to specific number of vaults
None
cocovaults.unlocked.<number>
Unlock specific vault number
None
Examples:
cocovaults.quantity.5- Player can have 5 vaultscocovaults.quantity.20- Player can have 20 vaultscocovaults.unlocked.50- Player can access vault #50 specifically
Available Variables
In messages and GUI elements you can use the following variables:
%vault%- Vault number or name%player%- Player name%page%- GUI page number%usage%- Number of used slots in vault%free%- Number of free slots in vault%count%- Count of vaults%current%- Current number of vaults%requested%- Requested number of vaults%vaults%- Total vaults converted%players%- Total players processed%seconds%- Cooldown time in seconds%Vault%- Vault number (capitalized)%Player%- Player name (capitalized)
How It Works
Vault Access System
Permission Check: Verifies player has access to requested vault
Data Loading: Loads vault data from storage if needed
GUI Creation: Creates and displays vault interface
Activity Tracking: Tracks player activity for inactivity management
Storage System
On-Demand Loading: Loads vault data when needed
YAML Storage: Simple file structure for small servers
JSON Storage: Better performance for medium servers
File Management: Efficient file operations and organization
Installation
Basic Installation
Download CocoVaults-Lite plugin
Place the
.jarfile in your server'splugins/folderRestart the server
Configure the generated
config.ymlfileSet up permissions as needed
Use
/cv reloadto apply changes
Migration from Other Plugins
Install CocoVaults-Lite
Use the import command:
/cv convert playervaultsxVerify data migration was successful
Remove the old vault plugin
Troubleshooting
Common Issues
Vaults not loading
Check storage configuration
Verify file permissions
Check server logs for error messages
Ensure proper permissions are set
Permission issues
Verify permission nodes are correctly set
Check vault quantity permissions
Ensure players have basic access permissions
Test with admin permissions first
Performance issues
Consider switching to JSON storage if using YAML
Review server resources
Check file I/O performance
Debug Information
Plugin logs important events to console
Configuration validation on startup
File access monitoring
Support
For support, bug reports, or feature requests:
Discord: https://fruitforge.com/discord
Lite plugin developed by FruitForge Studio
Last updated