ποΈ The Shard Shop
A SmartInvs GUI where players spend shards. Items can give direct rewards or run console commands.
π§± How it works
- Players run
/shardsor/shards shop. - GUI shows configured items (icon, price, description).
- 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
| Mode | How | Good for |
|---|---|---|
| Command | Run console commands (%player% supported) | Diamonds, crate keys, money, LP groups⦠|
| Direct item | Plugin builds item from config | Custom 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
- Encourage playtime β lower prices, frequent small rewards.
- Create exclusivity β higher prices, rare shard sources.
- Add excitement β custom items, limited durability.
- Prevent inflation β daily income < ~β of avg item cost.
π§ Dev tips
- Slots use 0β53 in a 6Γ9 GUI.
- Reorder via
slotβany config order is fine. - Commands always run as console;
%player%works everywhere.
π§ Weekly rotation idea
- W1: Coal Bundle (50) β gag reward
- W2: Santa Hat (150) β cosmetic
- W3: Sword of Light (500) β combat
- W4: Santaβs Wrath Axe (750) β late event
