此为 [Continue Project] 的一部分,点击链接可了解更多。
<center>
想要提交漏洞,提交建议或者讨论新点子吗?
请点击图片加入我们的 Discord 聊天群组!
</center>
你在给服务器找些新脑洞吗?想要在饱食度以外的地方加点料吗?
本插件为你带来了口渴机制及其相关的内容,能很好地和饱食度搭配。
这能让服务器更加生动有趣、和谐友爱(笑)!
支持插件:
<details>
<summary>config.yml</summary>
Sql:
Enable: false
Host: 'localhost'
Port: '3306'
Username: 'root'
Password: '123456'
Database: 'ThirstBar'
StopDrinking: true # 阻止玩家在不口渴的时候喝水
CustomActionBar: false
Thirsty:
Max: 100
Reduce: 1
Time: 100 # 单位为刻 (20 刻 = 1 秒)
Damage: 1.5 # 在口渴度为 0 时每单位时间损失 1.5 生命值
CooldownRefresh: 5 # 单位为秒
DisabledGamemode:
- "CREATIVE"
- "SPECTATOR"
DisabledWorlds:
- "world_nether"
DrinkingRawWater:
Enable: true
Delay: 10 # 单位为刻
Value: 5 # 增加口渴度的值
Reduce: 50
# 口渴速度会提升 50%
Duration: 100 # 单位为刻
TitleActionBar: "&a<value>&f/&b<max> &f- <reduce>/<time>s &f-&c 饮用生水"
TitleBossBar: "&a<value>&f/&b<max> &f- <reduce>/<time>s &f-&c 饮用生水"
Color: BLUE
Style: SEGMENTED_10
Effects:
- "SLOW:1"
Actions:
- "[zxsq-anti-bbcode-message] &c你在喝生水!"
- "[zxsq-anti-bbcode-sound] ENTITY_GENERIC_DRINK"
# 可以将注释符号去掉.
# - "[zxsq-anti-bbcode-title] &c小心"
# - "[zxsq-anti-bbcode-subtitle] &c你喝的是生水!"
# - "[zxsq-anti-bbcode-player] help"
# - "[zxsq-anti-bbcode-console] msg <player> 你在喝生水!."
DrinkingRain:
Enable: true
Delay: 10
Value: 5
Reduce: 50
Duration: 100
TitleActionBar: "&a<value>&f/&b<max> &f- <reduce>/<time>s &f-&c 雨水"
TitleBossBar: "&a<value>&f/&b<max> &f- <reduce>/<time>s &f-&c 雨水"
Color: BLUE
Style: SEGMENTED_10
Effects:
- "SLOW:1"
Actions:
- "[zxsq-anti-bbcode-message] &c你在喝雨水!"
- "[zxsq-anti-bbcode-sound] ENTITY_GENERIC_DRINK"
# You can uncomment if you want.
# - "[zxsq-anti-bbcode-title] &c小心"
# - "[zxsq-anti-bbcode-subtitle] &c你在喝雨水!"
# - "[zxsq-anti-bbcode-sound] BLOCK_ANVIL_BREAK"
# - "[zxsq-anti-bbcode-player] help"
# - "[zxsq-anti-bbcode-console] msg <player> 你在喝雨水!."
ReplaceHunger: false
# 若启用, 玩家的饥饿条上会出现口渴条.
BossBar:
Enable: true
Title: "&a<value>&f/&b<max> &f- <reduce>/<time>s"
DisableTitle: "&a<value>&f/&b<max> &f- <reduce>/<time>s - &4禁用"
Color: BLUE # BLUE, GREEN, PINK, PURPLE, RED, WHITE, YELLOW
Style: SEGMENTED_10 # SOLID, SEGMENTED_6, SEGMENTED_10, SEGMENTED_12, SEGMENTED_20
ActionBar:
Enable: true
Title: "&a<value>&f/&b<max> &f- <reduce>/<time>s"
DisableTitle: "&a<value>&f/&b<max> &f- <reduce>/<time>s - &4禁用"
Materials:
- "APPLE:20"
- "POTATO:20%"
- "POTION:30"
- "GOLDEN_APPLE:50"
- "MILK_BUCKET:75%"
RawPotion:
Name: "&c脏水瓶"
Lore:
- "&f- 这喝了会生病的."
- "&e&o得烧开."
</details>
<details>
<summary>messages.yml</summary>
SetItemSuccess: "&e成功设置物品."
Refresh: "&e你的状态已被刷新."
RefreshOther: "&e<player> 的状态已被成功刷新."
RefreshAll: "&e所有玩家的状态已被刷新."
Set: "&e你的口渴度已被设置为 <value> 点."
SetOther: "&e玩家 <player> 的口渴度已被设置为 <value> 点."
Restore: "&e你恢复了 <value> 点口渴度."
RestoreOther: "&e玩家 <player> 恢复了 <value> 点口渴度."
Reduce: "&e你的口渴度减少了 <value> 点."
ReduceOther: "&e玩家 <player> 的口渴度减少了 <value> 点."
Load: "&e你获得了 <item>."
LoadOther: "&e玩家 <player> 获得了 <item>."
Disable: "&e你的口渴功能已被禁用."
DisableOther: "&e玩家 <player> 的口渴功能已被禁用."
Enable: "&e你的口渴功能已启用."
EnableOther: "&e玩家 <player> 的口渴功能已被启用."
DisableAll: "&e所有玩家的口渴度已被禁用."
SetMax: "&e你的口渴度上限已被设置为 <value> 点."
SetMaxOther: "&e玩家 <player> 的口渴度上限已被设置为 <value>."
SetStage: "&e你的状态已被设置为 <stage>."
SetStageOther: "&e玩家 <player> 的状态已被设置为 <value>."
SetStageAll: "&e所有玩家的状态已被设置为 <value>."
Reload: "&e重载成功."
Reset: "&e重置成功."
CommandNotExist: "&c命令不存在."
ItemNotFound: "&c物品不存在."
StageNotFound: "&c状态不存在."
PlayerNotFound: "&c玩家不在线."
NeedItemInHand: "&c你的手上是空的."
WaitingRefresh: "&c你需要等待 <time> 秒后才可以再次使用这个功能."
ErrorFormat: "&c你输入的格式不正确."
OnlyPlayerUseCommand: "&c只有玩家才可以执行这个命令."
DontHavePermission: "&c你没有这么做的权限."
</details>
<details>
<summary>stages.yml</summary>
Stage1:
Range: "40:20"
Reduce: 50 # 该状态下口渴速度会比正常快 50%
TitleActionBar: "&a<value>&f/&b<max> &f- <reduce>/<time>s &c- 状态 1"
TitleBossBar: "&a<value>&f/&b<max> &f- <reduce>/<time>s &c- 状态 1"
Color: YELLOW
Style: SEGMENTED_10
Effects:
- "SLOW:1"
Actions:
- "[zxsq-anti-bbcode-title] &6你开始觉得口渴"
- "[title-sub] &f找些水喝喝吧"
# 你也可以在这下面添加其他动作:
# - "[zxsq-anti-bbcode-sound] BLOCK_ANVIL_BREAK"
# - "[zxsq-anti-bbcode-message] &e你开始觉得渴了."
# - "[zxsq-anti-bbcode-player] idk"
# - "[zxsq-anti-bbcode-console] msg <player> 管理员提醒你记得喝水"
# - "[zxsq-anti-bbcode-console] give <player> milk_bucket"
Stage2:
Range: "19:0"
Reduce: 100
TitleActionBar: "&a<value>&f/&b<max> &f- <reduce>/<time>s &c- 状态 2"
TitleBossBar: "&a<value>&f/&b<max> &f- <reduce>/<time>s &c- 状态 2"
Color: RED
Style: SEGMENTED_10
Effects:
- "SLOW:2"
- "NAUSEA:1"
- "WEAKNESS:1"
Actions:
- "[zxsq-anti-bbcode-title] &c急需水源"
- "[title-sub] &f再不喝就渴死了"
</details>
欢迎光临 MCBBS纪念版 (https://mcbbs.win/) | Powered by Discuz! X3.5 |