gra.kys
๐Ÿ“Ž 1 file 1,043 chars
๐Ÿ“„
pasted-code-1774966105651.txt
txt 42 lines
โ–ถ
Core Features:

Shard Economy:
Each player has a shard balance (stored using UUID)
Data must save automatically (YAML or JSON)
No data loss on restart
Player Commands:
/shards โ†’ show your balance
/shards pay โ†’ send shards to another player
Also allow alias: /shard pay
Admin / Console Commands:
/shards give
/shards take
/shards set
PlaceholderAPI Support:
%shards_balance% โ†’ formatted balance (with commas)
%shards_raw_balance% โ†’ raw number (no commas)
Permissions:
shards.use (basic commands)
shards.pay (pay command)
shards.admin (give/take/set)
Safety:
Prevent negative balances
Prevent sending more shards than player has
Proper error messages
Messages:
Clean, colored messages (support & and hex colors)
Configurable messages.yml
Extras:
Tab completion for commands
Sounds on successful transactions
Simple and lightweight (no lag)

Output Required:

Full working plugin code (multiple classes)
plugin.yml
config.yml
messages.yml
PlaceholderAPI expansion class

Make the code beginner-friendly, well-structured, and easy to expand later.
Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code