返回顶部

[娱乐] [1.14-1.20]NoMoreCooked - 为熟食添加保质期

[复制链接]
像素搬运菌Lv.7 显示全部楼层 发表于 2024-3-18 23:12:33 |阅读模式 打印 上一主题 下一主题 来自 亚太地区
服务器插件
中文名称:
英文名称: NoMoreCooked
插件来源: 转载
适用服务端: CraftBukkit Spigot Paper 
插件类型: 综合
语言支持: 中文 英文 
适用版本: 1.14.x 1.15.x 1.16.x 1.17.x 1.18.x 1.19.x 1.20.x 
前置插件/mod:
下载地址: https://www.spigotmc.org/resources/nomorecooked-add-expiration-dates-to-cooked-foods-fridge-added.114602/
原贴地址: https://www.spigotmc.org/resources/nomorecooked-add-expiration-dates-to-cooked-foods-fridge-added.114602/

马上登录/注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

x
本帖最后由 像素搬运菌 于 2024-3-18 23:13 编辑

什么是NoMoreCooked?

这是一个为食物⭐添加新机制的插件


简而言之,它为食物增加了一个过期系统,一个延长食物剩余寿命的冰箱,一个保存仍然好的食物的简单系统,让吃了过期食物的玩家生病

通过将此插件添加到您的服务器,您可以以原始方式改进您的服务器,增加沉浸感,增加挑战并让您的玩家更加了解食物浪费



支持的食物过程中会发生什么 吃健康肉和腐烂肉

冰箱

合成: 6x 铁块、1x 箱子、1x 铁门、1x 冰块

特征
  • 添加冰箱及其工艺品
  • 延长食物存放在冰箱中的保质期
  • 冰箱可配置有效期乘以 r
  • 冰箱里只能存放食物
  • 在烘焙食品和面包上添加保质期。(在将来的更新中将支持更多食物。
  • 自定义过期时间
  • 如果你吃了变质的食物,就会生病
  • 自定义应用于播放器的负面效果的类型和强度
  • 在工作台上 将煮熟的食物转换回生食
  • 使用冰块或雪块(或两者兼而有之)自定义生食的制作
  • 可配置的自动检查器,用于实时更新物品传说中的食物和文本状态。
  • 选择在物品传说中显示到期日期和/或剩余时间。

权限

nmc.command.check : 访问检查命令
nmc.command.set : 访问设置命令
nmc.command.info : 访问 info 命令
nmc.command.help : 访问帮助命令




命令 /nmc 检查:强制检查主手中的项目的过期状态。
/nmc set <edible|spoiled>:将主手中物品的状态设置为“可食用”或“已变质”。
/nmc info:在主手牌中显示项目的到期信息。
/nmc help:显示插件命令的帮助信息。


安装


  • 下载 jar
  • 将 jar 放在 plugins 文件夹中
  • 启动服务器
  • 修改config.yml并保存
  • 重新启动服务器
Config.yml
#####################################################################
#                                                                   #
#                   No More Cooked by Zandrax                       #
#                                                                   #
#####################################################################

# DO NOT TOUCH
config-version: 2

# Choose your language (Available languages can be found in the lang folder; just type the two-letter code found between "lang_" and ".yml")
# You can create your own file and use the corresponding two-letter code.
lang: "us"

# Enable crafting of raw foods from cooked foods
food-conservation-enabled: true # Enables preservation of food

# Crafting recipes for converting cooked foods back to raw
requires-snow-for-transformation: false # Requires snow to revert foods to raw state
requires-ice-for-transformation: true # Requires ice to revert foods to raw state

# Fridge mechanics and settings
enable-fridge-mechanic: true # Activate fridge mechanics (if deactivated, the fridge will not work)
fridge-expiration-multiplier: 5 # Define the fridge multiplier. Multiplies the remaining expiry time when added to the fridge and divides when removed from the fridge.
fridge-instant-lore-update: true # Instantly update the lore of the items when they are added and removed from the fridge. if false, lore will be updated when the fridge will be open or when auto-checker runs.
other-foods-in-fridge-enabled: true  # Allows other foods to be stored in the refrigerator. If false, only cooked and raw meat, fish and vegetables can be stored in the fridge.

# Food expiration duration (in seconds)
expiration-time-seconds: 3600 # Time before cooked food expires

# Show expiration time in item lore
show-expiration-time: true # Displays remaining time until expiration

# This option is useful when real-time updating is not feasible,
# e.g., when the item is sold through a plugin that doesn't use InventoryOpenEvent.
# Enable this and disable "show-expiration-time" to resolve potential issues.
show-expiration-date: true # Displays the expiration date

# Date and time format in item lore
date-format: "dd/MM/yyyy" # Preferred date format
hour-format: "HH:mm:ss" # Preferred time format

# Intensity of negative effects (0 = Disable the effect)
effects:
  hunger: 2
  poison: 0
  weakness: 2
  blindness: 1
  miningfatigue: 1
  wither: 0
  slowness: 3
  nausea: 3

# Duration of negative effects in seconds
effects-duration: 60

# Interval for automatic expiration date checks (in seconds)
auto-checker-interval: 60

# Experimental and currently LESS efficient than the classic lore update
placeholder-support: false # Enable placeholder support
关于当前版本

该插件目前正在开发中,虽然它被设计为在服务器上使用,但您可能会遇到各种错误或插件无法按预期工作。

如果您遇到任何问题,请告诉我。我将尽我所能提供快速有效的解决方案。

请参阅下面的“错误报告和功能请求”部分。

错误报告或功能请求


点击此链接: https://github.com/The-Zandrax/NoMoreCooked/issues



NoMoreCooked-0.0.7a-RELEASE.jar (55.79 KB, 下载次数: 5)



帖子地址: 

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

像素世界 成立于2022年8月,是中国开发者开创的一个综合像素沙盒游戏交流社区,拥有稳定的开发维护及运营技术,提供长期交流需求。本社区开放了我的世界模组、地图、插件等资源交流版块,集中了大量资源为玩家和开发者提供了优质的游戏环境。
  • 官方B站

  • 微信公众号

  • 商务合作