Soups
将蘑菇炖汤的治疗效果添加到 Minecraft 中!这是许多服务器常见游戏模式的通用功能。
自定义
你可以通过编辑插件数据文件夹中的 config.yml 或使用 /soups setting 命令来自定义 Soups。在那里,你可以更改五项不同的设置:
enabled - 是否启用该插件。如果希望禁用它,请设置为 false。
permission - 玩家使用汤进行治疗所需的权限。如果希望任何人都能使用,请设置为 "unset"。
heal - 喝下一碗汤所恢复的 HP 值。注意,这不是直接授予的心数。
cooldown - 冷却时间(秒),定义玩家在用汤治疗后必须等待的时间。
blockOnCooldown - 当玩家处于冷却状态时,是否允许其正常食用汤。如果希望在冷却期间允许玩家正常吃汤,请设置为 false。
你只需删除 config.yml 并重启服务器即可将所有设置重置为默认值(不建议重载)。
权限
- 设置:
soups.command.setting 或 OP
- 使用:默认情况下,你不需要任何权限即可用汤进行治疗。你可以在
config.yml 中指定一个权限(参见自定义 > permission)
支持
如果你需要帮助,可以加入我的 Discord 服务器。我们很乐意为你提供协助!
贡献
本项目是开源的!欢迎查看 GitHub 上的源代码,甚至做出贡献。?
Soups
Add soup healing from mushroom stews to minecraft! This is a common feature of many common gamemodes featured on various servers.
Customization
You can customize Soups to your liking by editing the config.yml in the plugin's datafolder or with the /soups setting command. There, you can change five different settings:
enabled - Whether the plugin is enabled. Set to false if you want to disable it.
permission - The permission a player needs to heal with a soup. Set to "unset" if anyone should be able to use it.
heal - The amount of HP restored by eating a soup. Note this is not the amount of hearts granted.
cooldown - Cooldown in seconds defining how long a player has to wait after healing with a soup.
blockOnCooldown - Whether a player can eat the soup normally when he is on cooldown. Set to - false if you want to allow the player to eat a soup normally on cooldown.
You can reset all settings to their default value by just deleting the config.yml and restarting the server (reloading not recommended).
Permissions
- Settings:
soups.command.setting or OP
- Use: By default, you will not need any permission to heal with a soup. You can specify a permission in the config.yml (see Customization >
permission)
Support
You can join my Discord Server if you are looking for support. We are happy to help you out!
Contributing
This project is open source! Feel free to check out the source code on GitHub and maybe even make a contribution. ?
评论 0
登录后参与评分
还没有评论,来抢沙发吧