PitySystem

插件

· 作者 sandclocks

CrazyCrates 的保底系统附加组件

0 本站下载 0 关注 更新于 9 个月前

最新 0.0.4 · 1.21.11 · Paper / Purpur

一键开服(送7天)

为 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

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源