特征:
在熟食中添加保质期。
自定义过期时间。
如果你吃了变质的食物,就会生病。
自定义应用于播放器的负面效果的类型和强度。
将熟食重新转化为生食(保护)。
使用冰块或雪块(或两者兼而有之)定制生食的制作。
可配置的自动检查器,用于实时更新物品知识。
选择在物品传说中显示到期日期和/或剩余时间。
权限:
nmc.command.check : 访问检查命令
nmc.command.set : 访问设置命令
nmc.command.info : 访问信息命令
nmc.command.help : 访问帮助命令 命令
/nmc set <edible|spoiled>:将主手中的物品状态设置为“可食用”或“已变质”。
/nmc info:在主手牌中显示物品的过期信息。
/nmc help:显示插件命令的帮助信息。
安装:
下载 jar
将 jar 放入 plugins 文件夹中
启动服务器
#####################################################################
# #
# No More Cooked by Zandrax #
# #
#####################################################################
config-version: 1 # DO NOT MODIFY
# 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
# 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
|