Перейти к содержимому
Mineforgian

CommunityVault

A shared vault with unlimited space for all players on the server

Загрузки
244
Подписчики
4
Обновлён
1 февраля 2026 г.
Лицензия
MIT

Опубликован 25 апреля 2025 г.

CommunityVault

A Global Shared Vault for Multiplayer Servers

CommunityVault is a server-wide storage system for collaborative survival. Players use physical deposit and withdrawal chests, organized categories, and search to keep a clean, immersive shared vault.

Easy UI for withdrawing items

🌟 Features

  • 🔓 Global Vault: Shared storage via /cvault (read-only anywhere).
  • 📦 Deposit & Withdrawal Chests: Buy with /buydc and /buywc (configurable costs, 0 allowed).
  • 🧠 Automatic Sorting & Categories: Items organized by material; categories editable in-game.
  • 🔍 Vault Search: /searchvault <term> (alias /sv); withdrawing works when looking at a withdrawal chest.
  • 📑 Pagination UI: Clean pages with navigation buttons and tooltips.
  • 🗂️ Manual Compaction: /cvaultcompact stacks items; unstackables (e.g., shulkers) are left safe.
  • 🩺 Status Command: /cvaultstatus shows stack/item counts, backups, saves, and capacity status.
  • 🔁 Reload Command: /cvaultreload reloads config and categories without a restart.
  • 🔄 Automation: hoppers/droppers/crafters can deposit into deposit chests (capacity-respecting).
  • 🪣 Hopper Withdrawal Output: set a single output per withdrawal chest and let hoppers pull it.
  • ⛔ Capacity Limits: optional max-cap with clear messaging when full.
  • 💾 Backups: automatic backups on startup/shutdown with 14-day retention.
  • ✅ Safety: withdrawals check inventory space and roll back if full.

🧱 How It Works

  1. Buy a Deposit Chest (/buydc) or Withdrawal Chest (/buywc).
  2. Deposit chest: drop items in; they auto-sort into the global vault.
  3. Withdrawal chest: open and pull items or search with /sv <term> while looking at it. Optional: set a hopper output from the withdrawal chest UI (single output per chest).
  4. View the vault anywhere with /cvault (categories, counts, pagination).

Withdraw items from the vault

🧩 Chest Rules

  • Deposit chests only pair with deposit chests.
  • Withdrawal chests only pair with withdrawal chests.
  • A normal chest cannot attach to a special chest (deposit/withdrawal).
  • Withdrawal hoppers pull the selected output item (buffered in the center slot).

🧩 Category Management

  • Open Manage Categories from the vault (book icon).
  • Players can rename categories, change icons, and edit items by default.
  • Creating/deleting categories requires permissions.
  • Items can belong to multiple categories.

Category Editing

⚙️ Config Highlights

  • diamondCostDepositChest / diamondCostWithdrawalChest
  • maxVaultCapacityEnabled
  • maxVaultCapacity
  • allowHopperWithdrawal
  • allowHopperDeposit
  • allowDropperDeposit
  • allowCrafterDeposit

🔐 Permissions

  • communityvault.compact (or op): /cvaultcompact
  • communityvault.status (or op): /cvaultstatus
  • communityvault.reload (or op): /cvaultreload
  • communityvault.categories.view
  • communityvault.categories.create
  • communityvault.categories.rename
  • communityvault.categories.icon
  • communityvault.categories.additem
  • communityvault.categories.removeitem
  • communityvault.categories.delete

Defaults:

  • view, rename, icon, additem, removeitem are default true.
  • create and delete are default op.

Core usage (view, deposit, withdrawal via withdrawal chest) is permission-free by default. Server admins can change all permissions with their permission plugin (LuckPerms, etc.).

🛠️ Storage & Data

  • Vault and categories stored under plugins/CommunityVault/ (YAML).
  • Backups saved with timestamps; old backups pruned after 14 days.
  • Unstackables (e.g., shulkers) are never merged during compaction.

🛣️ Roadmap

  • 🔐 More permission nodes and fine-grained access.
  • 🛒 Economy/Vault plugin pricing options.
  • 📚 Audit/history of deposits/withdrawals.
  • 🛠️ Admin restore from backup command.
  • 🗄️ Optional database backend for multi-server/shared vaults.
  • 📚 Paginated category list in the main vault menu (for large category counts).

💬 Final Notes

CommunityVault keeps shared storage survival-friendly: physical chests, organized GUIs, fast search, and admin safety tools. Built by Niels. Designed to be fast, friendly, and fun. Need help or have suggestions? Comment on Modrinth or open an issue on GitHub.

Stats

Bstats

Ченджлог

1.4Релиз1.21.9, 1.21.10, 1.21.11 · 1 февраля 2026 г.

Features

  • Main vault category list is now paginated for large servers.
  • Added hopper usage on withdrawal chests.
  • Withdrawal chests can set a single hopper output.
  • Automated deposits now work for: hopper, dropper, and crafter support + config toggles.
  • New config options:
    • allowHopperWithdrawal
    • allowHopperDeposit
    • allowDropperDeposit
    • allowCrafterDeposit

Fixes

  • Category Manager list is alphabetical.
1.3Релиз1.21.9, 1.21.10, 1.21.11 · 31 января 2026 г.
  • Add Category Manager UI (create/rename/icon/edit/add/remove/delete) with searchable icon/item pickers.
  • Added hopper usage on deposit chests.
  • Added capacity configuration in config.yml
  • Added a lot more permissions and permission checks (see README)
  • Changed remaining items to uncategorized items.
  • Support double chests for deposit/withdraw; restrict mixing special/normal chests.
  • Add /cvaultreload command to reload config and categories
  • Prevent chest title spoofing by using inventory holders; clean up menu titles.
1.2Релиз1.21.9, 1.21.10, 1.21.11 · 18 декабря 2025 г.

Added safety, backups, compaction fixes, admin tools, and tests

  • Prevent shulker duplication/compaction loss: skip compaction for unstackables and remove exact stacks by meta for unstackables.
  • Fix zero-cost chest purchases and safe withdrawals (stack into inventory, rollback on no space).
  • Add manual compact/status commands (/cvaultcompact, /cvaultstatus) and short search alias /sv; track last backup time.
  • Add backup pruning/creation on start/stop; expose health info in status command.
  • Harden UI handling (metadata checks, avoid treating arrow items as nav buttons; add nav lore).
  • Extend tests for stacking/compaction, fit checks, unstackable handling, and basic round-trip.
1.1Релиз1.21.6, 1.21.7, 1.21.8 · 30 апреля 2025 г.

Added support to set custom chest costs in diamonds in the config.yml file. Added bstats support.

1.0Релиз1.21.3, 1.21.4, 1.21.5 · 25 апреля 2025 г.

First release

Комментарии

Загружаем…