Warning: file_put_contents(/www/wwwroot/nmbt.106988770/cache/modrinth_versions_XI9NABWW.json): Failed to open stream: Permission denied in /www/wwwroot/nmbt.106988770/resource_detail.php on line 53
PitySystem - 墨喵 Minecraft 资源
PitySystem 图标

PitySystem

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 0.0.4
本资源为搬运资源,原资源地址: https://modrinth.com/mod/pitysystem
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11

平台: paper purpur

标签: economy management

资源介绍

给CrazyCrates插件写了一个保底功能

This addon introduces a pity system to the CrazyCrates plugin.

保底机制

可以自定义保底次数,保底奖品,抽到后清空计数

Customize the pity counter threshold (number of pulls) and the guaranteed reward.
The pity counter resets automatically once the player receives the guaranteed prize.

请注意配置:

Important Configuration Notes:

保底奖池就是将此的文件名,
保底奖品是序号,而不是名字

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 : Resets a specific player's pity counter.

/pitydebug: Toggles debug/test mode.

/pityreload: Reloads the configuration file after changes.

/pityconvert [quantity]: Manually convert keys

变量

你可以通过PlaceholderAPI变量查看玩家的保底信息:

%pitysystemcount% - 玩家当前的保底计数。

%pitysystemmax% - 该奖池设定的最大保底次数。

%pitysystemleft% - 距离下一次保底还剩多少次(计算方式:max - count)

%pitysystemgroupcount% - 如果使用了共享保底,获取该组的共享计数

示例: 如果你的奖池名为 ExampleCrate,则可以使用 %pitysystem_count_ExampleCrate%

下载与版本
评论(0)
请 登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

赞助作者

请 登录 后赞助作者。

🔥 相关推荐
Blobfish - Hypixel Skyblock

价格:0 墨喵币
下载量:0

查看详情
MClans

价格:0 墨喵币
下载量:0

查看详情
ServerWardenFight

价格:0 墨喵币
下载量:0

查看详情
PvP Crosshair 3

价格:0 墨喵币
下载量:0

查看详情