πŸ›οΈ The Shard Shop

A SmartInvs GUI where players spend shards. Items can give direct rewards or run console commands.

🧱 How it works

  1. Players run /shards or /shards shop.
  2. GUI shows configured items (icon, price, description).
  3. On click β†’ confirmation GUI β†’ if confirmed and balance β‰₯ price:
    • Shards deducted.
    • Either console commands run, or a direct item is granted.

All entries are defined in shardshop.yml.

πŸ’° Reward modes

ModeHowGood for
CommandRun console commands (%player% supported)Diamonds, crate keys, money, LP groups…
Direct itemPlugin builds item from configCustom gear/cosmetics with attributes

1) Command-based reward

diamond_item:
  icon: DIAMOND
  slot: 10
  price: 100
  display_name: "&b&lShiny Diamond"
  lore:
    - "&7A classic Christmas treasure!"
    - "&cLimited stock!"
  commands:
    - "give %player% diamond 1"

2) Direct item reward

sword_of_light:
  icon: GOLDEN_SWORD
  slot: 12
  price: 500
  display_name: "&e&lSword of Light"
  lore:
    - "&7Forged in Santa's forge."
    - "&6+ Custom Damage"
    - "&6+ Attack Speed"
  attackdamage: 10
  attackspeed: 8
  max_durability: 42
  custom_model_data: 100

3) More examples

santa_hat:
  icon: LEATHER_HELMET
  slot: 28
  price: 150
  display_name: "&c&lSanta Hat"
  lore:
    - "&7Wear with pride!"
    - "&fLimited Event Cosmetic"
  max_durability: 200
  custom_model_data: 303

diamond_stack:
  icon: DIAMOND
  slot: 30
  price: 800
  display_name: "&b&lPouch of Diamonds"
  lore:
    - "&7Contains &b16x Diamonds&7."
  commands:
    - "give %player% diamond 16"

πŸ›’ Player experience

Polished GUI with confirm step, hover text, and feedback sounds.

βš–οΈ Balancing

πŸ”§ Dev tips

🧠 Weekly rotation idea