ARM‑DonateCase — 一个适用于 Minecraft 服务器的功能性插件,允许你设置捐赠盲盒系统,支持对奖励、掉落概率和持续时间的灵活配置。非常适合用于服务器商业化并提升玩家参与度。
捐赠盲盒设置:
定义奖励列表(物品、货币、权限);
为每项奖励设置独立的掉落概率;
指定奖励激活的时间段(例如 30 / 90 / 180 天)。
灵活的界面配置:
选择用于盲盒旋转动画的方块;
自定义文本消息(欢迎语、开启结果、通知等)。
捐赠点数管理:
手动向玩家发放或扣除捐赠点数;
设定精确的点数金额;
查看玩家的当前余额。
命令:
- /armdonatecase add <username> <amount> — 向玩家授予指定数量的捐赠点数。
- /armdonatecase remove <username> <amount> — 从玩家处扣除指定数量的捐赠点数。
- /armdonatecase set <username> <amount> — 为玩家设置确切的捐赠点数数量。
- /armdonatecase get <username> — 检查玩家当前的捐赠点数余额。
config
case:
world: world
x: -0.5
y: 50
z: -0.5
openx: -1
openy: 50
openz: -1
block: ENDER_CHEST
to_block: BARRIER
donatecase: donatecase
rotate: true
lines: # 全息图显示的各行文本(支持颜色代码 '&')
- "&x&0&0&F&F&8&9«&x&0&5&F&F&7&DDon&x&0&A&F&F&7&0a&x&0&F&F&F&6&4t&x&1&4&F&F&5&7-&x&1&9&F&F&4&BC&x&1&E&F&F&3&Ee&x&2&3&F&F&3&2y&x&2&8&F&F&2&5s&x&2&D&F&F&1&9»"
particle:
type: "SOUL_FIRE_FLAME"
time: 3
menu:
title: "Donation Case - /donate"
size: 45 # 必须能被 9 整除
items:
# 普通盲盒
normal_key:
slot: 22
material: TRIAL_KEY
display_name: " &x&1&1&F&D&B&6&l▶ &x&3&3&F&D&A&4&lO&x&4&4&F&E&9&A&lp&x&5&5&F&E&9&1&le&x&6&6&F&E&8&8&ln&x&7&7&F&E&7&F&ly&x&8&8&F&E&7&6<&x&9&9&F&E&6&D&ls&x&B&B&F&F&5&A&le&x&C&C&F&F&5&1&ls&x&D&D&F&F&4&8&l"
lore:
- " "
- " &x&0&0&F&D&B&F▪&f 盲盒数量: &x&0&0&F&D&B&F{cases}"
- " "
- " &x&0&0&F&D&B&F&n▌&f 开启此盲盒,你保证会获得一项特权。"
- " &x&1&8&F&D&B&2&n▌&f 我们没有任何暗箱操作,只有纯粹的随机性。"
- " "
- " &x&4&7&F&E&9&9▪&f 特权从盲盒中掉落,"
- " 持续时间分别为 1 个月、3 个月和 6 个月。"
- " &x&4&7&F&E&9&9▪&f 开启后,最后掉落的特权将被保存。"
- " "
- " &x&8&F&F&E&7&2☄&f 旋转类型: &x&8&F&F&E&7&2Normal"
- " "
- " &x&A&7&F&E&6&5&n▌&f 这种旋转类型是经典的,"
- " &x&B&E&F&F&5&9▌&f 你可以看到哪些捐赠正在转动。"
donate:
item1:
don: "vip"
shulk: WHITE_SHULKER_BOX
group: "vip"
chance: 30 # 30%
item2:
don: "vip+"
shulk: GREEN_SHULKER_BOX
group: "vip+"
chance: 20 # 20%
#############
item9:
don: "&x&B&5&B&5&B&5«&x&A&4&A&4&A&4?&x&9&3&9&3&9&3?&x&8&1&8&1&8&1?&x&7&0&7&0&7&0»"
shulk: LIGHT_GRAY_SHULKER_BOX
group: "zero"
chance: 1
item10:
don: "&x&B&5&B&5&B&5«&x&A&4&A&4&A&4?&x&9&3&9&3&9&3?&x&8&1&8&1&8&1?&x&7&0&7&0&7&0»"
shulk: GRAY_SHULKER_BOX
group: "zero"
chance: 1
rewards:
probabilities:
180d: 10
90d: 25
30d: 65
commands:
setdefault: "lp user {player} parent set default"
addtemp: "lp user {player} parent addtemp {group} {duration}"
messages:
title_long: "{prize} &f你已获得该项奖励,有效期为 &7({duration_human})"
no_cases: "&x&E&F&1&0&1&0«✖&x&E&F&1&0&1&0»&f 你没有可用的捐赠盲盒。"
opening: "&x&E&F&1&0&1&0«✖&x&E&F&1&0&1&0»&f 捐赠盲盒正在开启……请稍候。"
broadcast:
- ""
- "&x&0&0&F&D&B&F&n▲&f"
- "&x&2&8&F&D&A&A&n▌&f 玩家 &2&8&F&D&A&A{player} &f赢得了 {prize} &f,有效期为 &7({duration_human}),"
- "&x&7&7&F&E&7&F&n▌&f 来自 &x&0&0&F&F&8&9«&x&0&5&F&F&7&DD&x&0&A&F&F&7&0o&x&0&F&F&F&6&4n&x&1&4&F&F&5&7a&x&1&9&F&F&4&Bt&x&1&E&F&F&3&E-&x&2&3&F&F&3&2C&x&2&8&F&F&2&5a&x&2&D&F&F&1&9s&x&3&2&F&F&0&Ce&x&3&7&F&F&0&0»,&f 恭喜!"
- ""
duration_human:
30d: "1 mo."
90d: "3 mo."
180d: "6 mo."
message:
cancel: "&x&E&F&1&0&1&0«✖&x&E&F&1&0&1&0»&f 捐赠盲盒正在开启……请稍候。"
nocase: "&x&E&F&1&0&1&0«✖&x&E&F&1&0&1&0»&f 你没有可用的捐赠盲盒。"
ARM‑DonateCase — a functional plugin for Minecraft servers that lets you set up a donation case system with flexible configuration of rewards, drop rates, and time periods. Ideal for server monetization and increasing player engagement.
Donation case setup:
defining a list of rewards (items, currency, privileges);
setting individual drop rates for each reward;
specifying time periods (e.g., 30 / 90 / 180 days) for reward activation.
Flexible interface configuration:
selecting blocks for the case spinning animation;
customizing text messages (welcome messages, opening results, notifications).
Donation points management:
manually granting or withdrawing donation points from players;
setting exact point amounts;
checking a player’s current balance.
Commands:
- /armdonatecase add <username> <amount> — Grant the specified number of donation points to a player.
- /armdonatecase remove <username> <amount> — Withdraw the specified number of donation points from a player.
- /armdonatecase set <username> <amount> — Set an exact number of donation points for a player.
- /armdonatecase get <username> — Check a player’s current donation points balance.
config
case:
world: world
x: -0.5
y: 50
z: -0.5
openx: -1
openy: 50
openz: -1
block: ENDER_CHEST
to_block: BARRIER
donatecase: donatecase
rotate: true
lines: # List of lines for the hologram (supports color codes '&')
- "&x&0&0&F&F&8&9«&x&0&5&F&F&7&DDon&x&0&A&F&F&7&0a&x&0&F&F&F&6&4t&x&1&4&F&F&5&7-&x&1&9&F&F&4&BC&x&1&E&F&F&3&Ee&x&2&3&F&F&3&2y&x&2&8&F&F&2&5s&x&2&D&F&F&1&9»"
particle:
type: "SOUL_FIRE_FLAME"
time: 3
menu:
title: "Donation Case - /donate"
size: 45 # must be divisible by 9
items:
# Normal case
normal_key:
slot: 22
material: TRIAL_KEY
display_name: " &x&1&1&F&D&B&6&l▶ &x&3&3&F&D&A&4&lO&x&4&4&F&E&9&A&lp&x&5&5&F&E&9&1&le&x&6&6&F&E&8&8&ln&x&7&7&F&E&7&F&ly&x&8&8&F&E&7&6<&x&9&9&F&E&6&D&ls&x&B&B&F&F&5&A&le&x&C&C&F&F&5&1&ls&x&D&D&F&F&4&8&l"
lore:
- " "
- " &x&0&0&F&D&B&F▪&f Number of cases: &x&0&0&F&D&B&F{cases}"
- " "
- " &x&0&0&F&D&B&F&n▌&f By opening this case, you are guaranteed"
- " &x&1&8&F&D&B&2&n▌&f to receive a privilege. We have no"
- " &x&3&0&F&D&A&5▌&f rigging, just regular randomness."
- " "
- " &x&4&7&F&E&9&9▪&f Privileges drop from the case"
- " &ffor &x&5&F&F&E&8&C1 month, 3 months, and 6 months."
- " &x&4&7&F&E&9&9▪&f After opening, the last dropped privilege"
- " &fis saved."
- " "
- " &x&8&F&F&E&7&2☄&f Spin type: &x&8&F&F&E&7&2Normal"
- " "
- " &x&A&7&F&E&6&5&n▌&f This spin type is classic,"
- " &x&B&E&F&F&5&9▌&f you can see which donations are spinning."
donate:
item1:
don: "vip"
shulk: WHITE_SHULKER_BOX
group: "vip"
chance: 30 # 30%
item2:
don: "vip+"
shulk: GREEN_SHULKER_BOX
group: "vip+"
chance: 20 # 20%
#############
item9:
don: "&x&B&5&B&5&B&5«&x&A&4&A&4&A&4?&x&9&3&9&3&9&3?&x&8&1&8&1&8&1?&x&7&0&7&0&7&0»"
shulk: LIGHT_GRAY_SHULKER_BOX
group: "zero"
chance: 1
item10:
don: "&x&B&5&B&5&B&5«&x&A&4&A&4&A&4?&x&9&3&9&3&9&3?&x&8&1&8&1&8&1?&x&7&0&7&0&7&0»"
shulk: GRAY_SHULKER_BOX
group: "zero"
chance: 1
rewards:
probabilities:
180d: 10
90d: 25
30d: 65
commands:
setdefault: "lp user {player} parent set default"
addtemp: "lp user {player} parent addtemp {group} {duration}"
messages:
title_long: "{prize} &fYou have it for &7({duration_human})"
no_cases: "&x&E&F&1&0&1&0«✖&x&E&F&1&0&1&0»&f You don't have any available donation cases."
opening: "&x&E&F&1&0&1&0«✖&x&E&F&1&0&1&0»&f The donation case is opening... please wait."
broadcast:
- ""
- "&x&0&0&F&D&B&F&n▲&f"
- "&x&2&8&F&D&A&A&n▌&f Player &2&8&F&D&A&A{player} &fwon {prize} &ffor &7({duration_human}),"
- "&x&7&7&F&E&7&F&n▌&f from &x&0&0&F&F&8&9«&x&0&5&F&F&7&DD&x&0&A&F&F&7&0o&x&0&F&F&F&6&4n&x&1&4&F&F&5&7a&x&1&9&F&F&4&Bt&x&1&E&F&F&3&E-&x&2&3&F&F&3&2C&x&2&8&F&F&2&5a&x&2&D&F&F&1&9s&x&3&2&F&F&0&Ce&x&3&7&F&F&0&0»,&f congratulations!"
- ""
duration_human:
30d: "1 mo."
90d: "3 mo."
180d: "6 mo."
message:
cancel: "&x&E&F&1&0&1&0«✖&x&E&F&1&0&1&0»&f The donation case is opening... please wait."
nocase: "&x&E&F&1&0&1&0«✖&x&E&F&1&0&1&0»&f You don't have any available donation cases."
评论 0
登录后参与评分
还没有评论,来抢沙发吧