▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/VShards
VShards

VShards

V-Shards - It adds a custom in-game currency called Shards that players can earn, spend, and trade.

2
1

🏗️ V-Shards v1.0.0

Simple vertical transportation for Paper 1.21.1+ servers

Minecraft Java


✨ Features

  • 🏦 UUID-based economy — Balances survive name changes
  • 🛒 GUI Shop System — Fully customizable buy/sell interface
  • 🎯 PlaceholderAPI Support — Display balances anywhere
  • 📊 Leaderboards — Top shard holders with pagination
  • Zero Lag Design — Dirty-tracking saves only modified data
  • 🎨 MiniMessage Formatting — Modern color gradients & styling
  • 🔒 Secure — Locked GUI prevents item manipulation
  • ⬆️ Auto-save — Configurable intervals (default: 5 min)

📦 Installation

  1. Download V-Shards.jar
  2. Drop into plugins/ folder
  3. Restart server
  4. Edit plugins/V-Shards/config.yml to customize

PlaceholderAPI

PlaceholderReturns
%vshards_amount%The requesting player's shard balance
%vshards_amount_<player>%A named player's shard balance

Balances are formatted using the same K / M / B abbreviation system as in-game (e.g. 10K, 2.5M, 1B).


Number Formatting

All balance and price values across commands, messages, and placeholders are automatically abbreviated:

Raw ValueDisplayed As
500500
1,0001K
10,00010K
10,50010.5K
1,000,0001M
2,500,0002.5M
1,000,000,0001B

Whole numbers never show a decimal (e.g. 10K not 10.0K). Decimals only appear when meaningful (e.g. 10.5K).


⌨️ Commands

CommandPermissionDescription
/shardsvshards.balanceCheck your balance
/shards <player>vshards.balance.othersCheck another player's balance
/shards give <player> <amount>vshards.admin.giveGive shards to a player
/shards take <player> <amount>vshards.admin.takeRemove shards from a player
/shards set <player> <amount>vshards.admin.setSet exact balance
/shards top [page]vshards.topView leaderboard
/shards shopvshards.shopOpen shop GUI
/shards reloadvshards.admin.reloadReload all configs

Aliases: /vs, /vshards


🔐 Permissions

PermissionDefaultDescription
vshards.balanceEveryoneCheck own balance
vshards.topEveryoneView leaderboard
vshards.shopEveryoneAccess shop GUI
vshards.balance.othersOPCheck others' balances
vshards.admin.*OPAll admin commands

🛠️ shop.yml

Defines the GUI layout and all shop items. Reloads with /shards reload — no restart needed.

menu_title: '&dꜱʜᴀʀᴅꜱ ꜱʜᴏᴘ'
size: 54  # Multiple of 9, between 9 and 54

items:

  # ── Buy item ──────────────────────────────────────
  diamond_buy:
    material: DIAMOND
    slot: 13
    type: buy          # buy | sell | close | decoration
    price: 300
    amount: 1
    display_name: '&b&lᴅɪᴀᴍᴏɴᴅ'
    lore:
      - '&7ᴄᴏꜱᴛ: &b300 ꜱʜᴀʀᴅꜱ'
      - '&7ᴄʟɪᴄᴋ ᴛᴏ ʙᴜʏ!'

  # ── Sell item ─────────────────────────────────────
  diamond_sell:
    material: DIAMOND
    slot: 14
    type: sell
    price: 150
    amount: 1
    display_name: '&c&lꜱᴇʟʟ ᴅɪᴀᴍᴏɴᴅ'
    lore:
      - '&7ᴇᴀʀɴ: &6150 ꜱʜᴀʀᴅꜱ'
      - '&7ᴄʟɪᴄᴋ ᴛᴏ ꜱᴇʟʟ!'

  # ── Command-based buy (no item given — command handles reward) ──
  vip_rank:
    material: NETHER_STAR
    slot: 16
    type: buy
    price: 50000
    amount: 0          # Set to 0 when using commands
    command-console:
      - 'lp user %player% parent set vip'
    command-player:
      - 'me just bought VIP!'
    display_name: '&6&lᴠɪᴘ ʀᴀɴᴋ'
    lore:
      - '&7ᴄᴏꜱᴛ: &650K ꜱʜᴀʀᴅꜱ'

  # ── Decoration (no interaction) ───────────────────
  border:
    material: GRAY_STAINED_GLASS_PANE
    slot: 0
    type: decoration
    display_name: '&r'
    lore: []

  # ── Close button ──────────────────────────────────
  close:
    material: RED_STAINED_GLASS_PANE
    slot: 49
    type: close
    display_name: '&c&lᴄʟᴏꜱᴇ'
    lore:
      - '&7ᴄʟɪᴄᴋ ᴛᴏ ᴄʟᴏꜱᴇ.'

🛠️ Item field reference

FieldRequiredNotes
materialAny valid Bukkit Material name (e.g. DIAMOND, SPAWNER)
slotInventory slot index, 0 to size - 1
typebuy, sell, close, or decoration
pricebuy / sellShards deducted (buy) or rewarded (sell)
amountbuy / sellItems given/taken. Use 0 alongside command-console / command-player
command-consoleoptionalList of commands run as console. Supports %player%
command-playeroptionalList of commands run as the player. Supports %player%
display_nameSupports & color codes
loreoptionalList of lore lines. Supports & color codes

Tip: Slots are 0-indexed. For a 54-slot inventory (6 rows), valid slots are 053. Two items sharing the same slot will cause one to silently overwrite the other.


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

Minecraft: Java Edition

1.21.x

Платформы

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

Сервер

Создатели

Детали

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