ShardPlugin - 货币、商店与击杀奖励
一款轻量级且完全可配置的经济插件,具备基于命令的商店图形用户界面(GUI)、击杀奖励以及每位玩家独立的冷却时间。商店中的每个物品均通过命令实现——无需直接给予实体物品,也不依赖其他插件。
功能
- 基于命令的商店 GUI,支持刷怪笼和钥匙
- 击杀奖励,支持按受害者配置的独立冷却时间
- 完整的配置文件控制——所有物品、价格、颜色和命令均在 config.yml 中定义
- 无需 SmartSpawner 或外部插件依赖
- 支持 PlaceholderAPI (%shards_balance%)
- 重载命令 (/shards reload)
- 支持 Paper、Folia 与 Purpur
商店 GUI
- 交互式商店,包含购买确认界面
- 可配置的 GUI 大小(9-54 格)
- 可配置的填充玻璃
- 内联刷新——购买后 GUI 保持打开状态
- 刷怪笼默认显示紫色名称,支持按物品自定义
- 支持带有自定义模型数据的钥匙
- 支持按物品启用附魔光泽效果
- 跨版本音效支持
命令
/shard - 查看您的余额
/shard pay <player> <amount> - 向其他玩家发送碎片(需 shard.members 权限)
/shard balance <player> - 查看其他玩家的余额(需 shards.admin 权限)
/shard give <player> <amount> - 给予碎片(需 shards.admin 权限)
/shard giveall <amount> - 向所有玩家发放碎片(需 shards.admin 权限)
/shard set <player> <amount> - 设置某玩家的余额(需 shards.admin 权限)
/shard take <player> <amount> - 从某玩家处扣除碎片(需 shards.admin 权限)
/shard reload - 重新加载配置并保存余额(需 shards.admin 权限)
/shardshop - 打开商店 GUI(需 shard.members 权限)
权限
shard.members - 默认:true - 基础命令(余额、支付、商店)
shards.admin - 默认:op - 管理员命令(给予、全服给予、设置、扣除、重载)
击杀奖励
- 可配置的每次击杀碎片奖励量
- 可配置的击杀者-受害者配对冷却时间(支持 s/m/h/d 后缀)
- 静默跳过冷却——无垃圾消息提示
- 不奖励自杀行为
配置
所有内容均由 config.yml 控制:
- 击杀奖励数量与冷却时间
- 商店标题、大小和填充槽位
- 刷怪笼物品:槽位、价格、名称颜色、命令及附魔选项
- 钥匙物品:槽位、名称、材质、自定义模型数据、价格和命令
- 颜色支持按物品完全自定义
版本支持
Paper 1.20.5 - 1.21.11 | Folia | Purpur
需要 Java 21
ShardPlugin - Currency, Shop & Kill Rewards
A lightweight, fully configurable economy plugin with a command-based shop GUI, kill rewards, and per-player cooldowns. Every item in the shop runs purely from commands - no physical item giving, no dependencies on other plugins.
Features
- Command-based shop GUI with spawners and keys
- Kill rewards with configurable per-victim cooldown
- Full config control - all items, prices, colors, and commands in config.yml
- No SmartSpawner or external plugin dependencies
- PlaceholderAPI support (%shards_balance%)
- Reload command (/shards reload)
- Supports Paper, Folia & Purpur
Shop GUI
- Interactive shop with buy confirm screen
- Configurable GUI size (9-54 slots)
- Configurable filler glass
- Inline refresh - GUI stays open after purchase
- Spawners show purple names by default, customizable per item
- Keys with custom model data support
- Enchant glint option per item
- Cross-version sound support
Commands
/shard - Check your balance
/shard pay <player> <amount> - Send shards to another player (shard.members)
/shard balance <player> - Check another player's balance (shards.admin)
/shard give <player> <amount> - Give shards (shards.admin)
/shard giveall <amount> - Give shards to all players (shards.admin)
/shard set <player> <amount> - Set a player's balance (shards.admin)
/shard take <player> <amount> - Take shards from a player (shards.admin)
/shard reload - Reload config and save balances (shards.admin)
/shardshop - Open the shop GUI (shard.members)
Permissions
shard.members - Default: true - Basic commands (balance, pay, shop)
shards.admin - Default: op - Admin commands (give, giveall, set, take, reload)
Kill Rewards
- Configurable shard reward per kill
- Configurable cooldown per killer-victim pair (supports s/m/h/d suffixes)
- Silent cooldown skip - no spam messages
- No suicide rewards
Configuration
Everything is controlled from config.yml:
- Kill reward amount and cooldown
- Shop title, size, and filler slots
- Spawner items with slot, price, name color, commands, and enchant option
- Key items with slot, name, material, custom model data, price, and commands
- Colors are fully customizable per item
Versions
Paper 1.20.5 - 1.21.11 | Folia | Purpur
Requires Java 21
评论 0
登录后参与评分
还没有评论,来抢沙发吧