- 版权类型
- 原创
- 插件中文名称
- 累计充值插件
- 插件英文名称
- MTWhitePay
- 原帖地址
- #
- 支持的核心(服务端)
- Spigot
- Paper
- Folia
- Purpur
- PufferFish
- SpongeVanilla
- Leaves
- 其他核心
- 语言支持
- 中文(简体)
- 前置组件
- PlaceholderAPI(可选)
- 适配版本(Java)
- 1.21
- 1.20
- 1.19
- 1.18
- 1.17
- 1.16
- 1.15
- 1.14
- 1.13
- 1.12
YAML:
# MTWhitePay 累计充值配置文件
# 作者: 馒头(QQ33731789)
# 数据存储方式
storage: yaml
# GUI界面标题
gui-title: "&6&l累计充值礼包"
# GUI行数 (1-6)
gui-rows: 6
# 货币单位名称
currency-name: "点数"
# 礼包配置
# 说明:
# cost: 领取所需累计点数
# slot: 在GUI中的位置 (0-53, 从左到右从上到下)
# icon: 图标物品
# icon-data: 物品附加值 (1.12兼容用)
# name: 礼包显示名称
# lore: 礼包描述
# commands: 领取时执行的命令 (%player% 替换为玩家名)
gifts:
gift_100:
cost: 100
slot: 10
icon: EMERALD
icon-data: 0
name: "&a累计 &b100R &a礼包"
lore:
- "&f当前累计充值: &e%points%/%cost%"
- ""
- "&a奖励内容:"
- "&f - 钻石 x5"
- "&f - 经验瓶 x10"
- ""
- "&f[&e点击领取&f]"
commands:
- "give %player% diamond 5"
- "give %player% exp_bottle 10"
gift_300:
cost: 300
slot: 12
icon: EMERALD
icon-data: 0
name: "&a累计 &b300R &a礼包"
lore:
- "&f当前累计充值: &e%points%/%cost%"
- ""
- "&a奖励内容:"
- "&f - 钻石 x20"
- "&f - 附魔书 x3"
- ""
- "&f[&e点击领取&f]"
commands:
- "give %player% diamond 20"
- "give %player% enchanted_book 3"
gift_500:
cost: 500
slot: 14
icon: EMERALD
icon-data: 0
name: "&a累计 &b500R &a礼包"
lore:
- "&f当前累计充值: &e%points%/%cost%"
- ""
- "&a奖励内容:"
- "&f - 绿宝石 x30"
- "&f - 钻石装备一套"
- ""
- "&f[&e点击领取&f]"
commands:
- "give %player% emerald 30"
- "give %player% diamond_helmet 1"
- "give %player% diamond_chestplate 1"
- "give %player% diamond_leggings 1"
- "give %player% diamond_boots 1"
gift_1000:
cost: 1000
slot: 16
icon: EMERALD
icon-data: 0
name: "&a累计 &b1000R &a礼包"
lore:
- "&f当前累计充值: &e%points%/%cost%"
- ""
- "&a奖励内容:"
- "&f - 命令礼包"
- "&f - 特殊称号"
- ""
- "&f[&e点击领取&f]"
commands:
- "eco give %player% 10000"
- "lp user %player% parent add vip"
# 装饰物品配置
filler:
enabled: true
slot: -1 # -1 表示填充所有空位
icon: STAINED_GLASS_PANE
icon-data: 7 # 灰色玻璃板
name: " "
# 消息配置
messages:
prefix: "&8[&6MTWhitePay&8] "
no-permission: "&c你没有权限执行此命令!"
player-not-found: "&c找不到玩家 &e%player%&c!"
points-added: "&a已为 &e%player% &a增加 &6%amount% &7%currency% &a,当前共 &6%total% &7%currency%"
points-removed: "&c已为 &e%player% &c减少 &6%amount% &7%currency% &c,当前共 &6%total% &7%currency%"
points-set: "&a已将 &e%player% &a的 &7%currency% &a设为 &6%amount%"
points-check: "&e%player% &7的累计 &7%currency%: &6%amount%"
gift-claimed: "&a成功领取 &e%gift% &a!"
gift-already-claimed: "&c你已经领取过 &e%gift% &c了!"
gift-not-enough: "&c你的累计 &7%currency% &c不足!需要 &e%cost% &c点,当前 &e%current% &c点"
reload-success: "&a配置文件已重载!"
invalid-amount: "&c请输入有效的数字!"
points-self: "&7你的累计 &7%currency%: &6%amount%"