为 CrazyCrates 插件添加了保底功能
本附加组件为 CrazyCrates 插件引入了保底机制。
保底机制
可自定义保底次数、保底奖品,获得保底奖品后计数将清空
自定义保底计数器阈值(抽取次数)和保底奖励。 一旦玩家获得保底奖品,保底计数器会自动重置。
请注意配置:
重要配置说明:
保底奖池由配置文件名称定义, 保底奖品使用序号而非名称指定
The "ExampleCrate" is defined by the configuration file's name.
Specify the guaranteed reward by its slot/index number, not its display name.
可设置 pity-group 参数,若不同奖池共用同一个 pity-group,则它们将共享计数
The pity-group parameter can be set. If different prize pools share the same pity-group, they will count together

钥匙转换
奖池之间支持自动转化钥匙,示例:开启 B 箱时若无钥匙,则自动将 A 箱的 10 把钥匙转化为 B 箱钥匙使用
# Key Conversion Configuration:
# auto-convert: If true, when a player interacts with a crate but lacks keys,
# it will automatically check rules and consume 'from' keys to give 1 'to' key.
key-conversion:
auto-convert: true
rules:
- from: "CrateA"
to: "CrateB"
ratio: 10
message: "&a[PitySystem] &f你没有 &bCrateB &f钥匙,已自动消耗 &e10 &f把 &bCrateA &f钥匙进行兑换!"
数据库支持 (todo)
待我将 CrazyCrates 接入数据库后,再更新此插件
命令
/pityreset 玩家名字 可重置玩家的保底次数
/pitydebug 开/关测试模式
/pityreload 更改配置后的重载
/pityconvert <源抽奖箱> <目标抽奖箱> [数量]:手动进行钥匙转化
/pityreset <player>: Resets a specific player's pity counter.
/pitydebug: Toggles debug/test mode.
/pityreload: Reloads the configuration file after changes.
/pityconvert
你是这个资源的作者?登录后可认领此资源。
相似资源
ExyliaPlugins 的库。
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
一个在游戏内运行的 Minecraft 地图编辑器! 支持选区、蓝图、复制粘贴、笔刷和脚本。 可在创造模式中使用,也可在生存模式中临时使用。
创建用户友好的菜单以前往不同的世界
专为 Velocity 打造的自制聊天插件,功能丰富——支持跨服群组/全局/私聊消息,并集成 LibertyBans 的禁言功能。
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧