▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/CappyShards
CappyShards

CappyShards

High-performance Shard economy with AFK rewards, offline earnings, instant boosters, and a smart 100% vanilla GUI shop for Paper 1.21+.

Оцените первым
30
0

💎 CappyShards

The Ultimate Crystal & Shard Economy, AFK Rewards & Smart GUI Shop for PaperMC

Lightweight • 100% Vanilla Client Compatible • Ultra-Secure Anti-Dupe Engine • Asynchronous SQLite


Features • Quick Start • In-Game Shop • Shard Multiplier • Placeholders • Commands & Permissions • Configuration


🌐 Languages: English • Tiếng Việt



🌟 Why CappyShards?

Tired of clunky economy plugins that cause TPS lag, leak memory, or get exploited by inventory click hacks?

CappyShards is an advanced, production-ready server solution crafted from the ground up for modern Paper/Purpur 1.21+ Minecraft networks. It introduces a secondary premium economy (Shards), an AFK reward zone with an action bar display that cannot be overridden by other plugins, an intuitive in-game shop with instant unit & stack adjustments, functional consumable boosters, and bulletproof concurrency protection.

Best of all? No client mods or resource packs required. Everything runs seamlessly on vanilla Minecraft clients!


🚀 Features

⚡ 1. High-Performance Shard Economy

  • Async Database Transactions: Backed by SQLite and HikariCP connection pooling. Zero lag or freezing on the main game thread.
  • Atomic Anti-Dupe Locking: Uses thread-safe atomic flags (AtomicBoolean) preventing fast-click dupes, inventory drag exploits, and packet glitches.
  • Player-to-Player Transfers: Secure /shard pay command with self-transfer prevention, balance validation, and transaction concurrency guards.

⏳ 2. AFK Shard Rewards & Dominant Action Bar

  • Ready Out-of-the-Box: Pre-configured for world ShardAFK.
  • TPS-Immune Time Tracking: Calculated using millisecond epoch timestamps (System.currentTimeMillis()) so server lag spikes won't drift or delay player countdowns.
  • Priority Action Bar Engine: Pulses every 0.5s (10 ticks) asynchronously, guaranteeing your AFK countdown remains visible even when other plugins send action bar messages.
  • Congratulatory Reward Banner: Displays an eye-catching reward message for 3 seconds before smoothly returning to the countdown.
  • Rank Multipliers: Reward VIPs and donors with customizable payout amounts per tier.

🛡️ 3. Built-In Network Security

  • Anti-Alt Protection: Limits maximum accounts allowed per IP simultaneously (configurable in config.yml).
  • Anti-VPN & Proxy Shield: Performs asynchronous pre-login HTTP checks with IP intelligence APIs (e.g. proxycheck.io) to reject bots and VPN users before they join.

🧪 4. Shard Multiplier Consumables

  • Instant-Use Potions: Custom Water Bottles that immediately grant a timed Shard earnings multiplier upon right-click.
  • No Drinking Delay: Consumes instantly without the 1.6-second vanilla drinking animation.
  • Visual & Audio Feedback: Plays level-up chimes and sparkles upon activation.
  • Fully Customizable: Configure textures, custom model data, names, lores, sounds, and particles in item.yml.

🛒 5. Smart In-Game Shop

An intuitive, player-friendly shopping experience without needing custom texture packs:

  • Clean Category Browsing: Organize items into custom departments (Weapons, Consumables, Materials, etc.) with customizable icons and color gradients.
  • Unit & Bulk Stack Purchasing: Players can easily switch between buying single items (1 to 64) or bulk stacks (1 to 36) with simple + and - buttons.
  • Smart Stack Detection: Non-stackable equipment (swords, armor, tools) automatically disables stack mode to prevent issues.
  • Instant Purchase Preview: Clear summary showing selected quantity, total cost, and current balance before confirming.
  • Virtual Rewards & Commands: Supports optional console commands in shop.yml for giving Crate Keys, ranks, or custom plugin items.
  • Inventory Safe: Automatically checks available inventory space before transactions to avoid dropped items.

💤 6. Offline Shard Accumulation

  • Passive Offline Progress: Players can accumulate Shards even while completely logged off!
  • Rank-Based Duration Caps: Configurable maximum accumulation time per rank in config.yml (e.g. 2h for Default, 6h for VIP, 12h for VIP+).
  • Flexible Permission Control: Grant globally using cappy.offline.shard or per-rank with cappy.offline.shard.<rank>.
  • Welcome-Back Notification: Reconnecting players receive a detailed chat notification showing their offline time and shards earned.

⚡ Shard Multiplier Boosters

Admins can distribute temporary Shard Multipliers as quest rewards, crate prizes, or store items!

# Give a 2x Multiplier for 30 minutes to yourself:
/cappy give shard_multiplier 2 30

# Give a 1.5x Multiplier for 60 minutes to a player:
/cappy give Steve shard_multiplier 1.5 60
  • Instant Right-Click: Right-click anywhere to immediately activate the boost.
  • Boosted Payouts: While active, all AFK rewards are multiplied (e.g. 10 Shards × 2.0 = 20 Shards).
  • HUD Indicator: The action bar automatically appends the active multiplier (e.g. Receiving Shards in: 45s (x2)).

🧩 PlaceholderAPI Integration

CappyShards provides comprehensive PlaceholderAPI (PAPI) placeholders ready for your Scoreboard, TAB list, Chat, Holograms, or DeluxeMenus:

PlaceholderDescriptionExample Output
%cappyshards_balance%Exact Shard balance (raw number)1500
%cappyshards_shards%Alias for %cappyshards_balance%1500
%cappyshards_balance_formatted%Shard balance with comma separators1,500
%cappyshards_shards_formatted%Alias for formatted balance1,500
%cappyshards_afk_time%Remaining seconds until next AFK reward42
%cappyshards_afk_remaining%Alias for AFK countdown42
%cappyshards_rank_reward%Shard payout amount based on player's rank50
%cappyshards_multiplier%Active Shard multiplier booster (or 1 if none)2
%cappyshards_multiplayer%Alias for %cappyshards_multiplier%2
%cappyshards_multiplier_formatted%Multiplier prefixed with xx2
%cappyshards_multiplier_remaining%Remaining booster time in seconds1799
%cappyshards_multiplier_time_formatted%Human-readable remaining booster time29m 59s
%cappyshards_has_multiplier%Check if player has an active boostertrue / false
%cappyshards_multiplier_tag%Formatted booster tag (empty if none active) (x2)
%cappyshards_offline_max_hours%Maximum offline shard accumulation hours for the player6

🎮 Commands & Permissions

Commands

CommandAliasesPermissionDescription
/cappyshard/shard, /shards, /cshard, /cappycappyshards.useView your current Shard balance
/cappyshard pay <player> <amount>cappyshards.use.payTransfer Shards to another online player
/cappyshard shop/shardshopcappyshards.use.shopOpen the Shard Catalogue shop GUI
/cappyshard give [player] shard_multiplier <multiplier> [minutes]cappyshards.adminGive an instant Shard Multiplier potion
/cappyshard add <player> <amount>cappyshards.adminAdd Shards to a player's balance
/cappyshard set <player> <amount>cappyshards.adminSet a player's exact Shard balance
/cappyshard remove <player> <amount>cappyshards.adminDeduct Shards from a player's balance
/cappyshard reloadcappyshards.adminReload all configs, items, and restart managers

Permissions

  • cappyshards.use (Default: true) — Allows checking balance.
  • cappyshards.use.pay (Default: true) — Allows sending Shards to other players.
  • cappyshards.use.shop (Default: true) — Allows opening the Shard Shop GUI.
  • cappyshards.admin (Default: op) — Administrative access (set, add, remove, give, reload).
  • cappyshards.bypass.zone (Default: op) — Receive AFK rewards regardless of the current world.
  • cappyshards.rank.<name> — Grants specific rank payout amounts configured in config.yml.
  • cappy.offline.shard — Base permission to accumulate shards while offline.
  • cappy.offline.shard.<rank> — Rank-specific offline accumulation permissions (cappy.offline.shard.vipplus, cappy.offline.shard.vip).

🗂️ Configuration Files

All configurations use modern MiniMessage gradient and hex formatting.

  • config.yml: General settings, AFK intervals, enabled worlds, Anti-Alt/VPN, and Rank payout rates.
  • messages.yml: 100% customizable messages, alerts, and prefixes.
  • item.yml: Customize the Shard Multiplier bottle (name, lore, custom model data, sounds, and particles).
  • Shop/catalogue.yml: Configure catalogue categories, layout sizes, icons, and lores.
  • Shop/shop.yml: Configure items in each category, prices, quantities, and optional console reward commands.

📥 Quick Start

  1. Download the latest CappyShards-1.0.0.jar from Releases or Modrinth.
  2. Place the jar file into your server's plugins/ folder.
  3. (Optional) Install PlaceholderAPI for scoreboard & tab integration.
  4. Start your server. Configuration files will generate automatically.
  5. Customize config.yml, messages.yml, item.yml, and Shop/shop.yml to fit your server's needs.
  6. Run /cappyshard reload to apply your changes on the fly!

🛠️ Building from Source

git clone https://github.com/quocdat251107-del/CappyShard.git
cd CappyShard
./gradlew build

The compiled jar will be available in build/libs/CappyShards-1.0.0.jar.


CappyShards is an open-source project created with ❤️ by the Cappy Community.
If you enjoy this plugin, consider starring the repository on GitHub!

Партнёрский материал

Сервер для плагина CappyShards - как у профи

Плагин CappyShards создан для серверов: на своём сервере вы настраиваете его под себя и решаете, кому играть. Создать сервер с плагином CappyShards для друзей можно за пару минут - BungeeHost всё уже подготовил.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

26.3.x26.2.x26.1.x1.21.x

Платформы

Поддерживаемые окружения

Сервер

Ссылки

Создатели

Детали

Лицензия:
Опубликован:3 недели назад
Обновлён:3 недели назад
Главная