配置文件
#存储方法 yaml/mysql
#更改后需重启服务器
Store: yaml
Mysql:
address: localhost
port: 3306
database: test
user: root
password: 123456
HikariCP:
connectionTimeout: 30000
#连接超时时间 默认值:30000(30秒)
minimumIdle: 10
#最小空闲连接数
maximumPoolSize: 50
#池允许达到的最大大小,包括空闲和正在使用的连接
settings:
level:
#最大等级
max: 5
exp:
#对应着每级升级需要的经验值 (始终保持 最大等级-1)
0: 100
1: 1000
2: 5000
3: 10000
4: 30000
bar:
hot: '✦'
string: '&#e0ffff&l火候值: %hot%'
pot:
#烹饪锅方块设置
#更改后需重启服务器
block:
#default:原版方块 ia_block:ItemsAdder方块 ia_furniture:ItemsAdder家具
type: default
#ID
value: CAULDRON
hologram:
# holographicdisplays / cmi / decentholograms
#更改后需重启服务器
plugin: decentholograms
#全息文字偏移
offset:
x: 0.5
y: 2
z: 0.5
text:
- '&6&l烹饪锅'
- '&e烹饪: &a%cook%'
- '&e烹饪进度: &a%progress%'
- '&f[ &b右键烹饪锅操作 &f]'
put:
#当玩家距离烹饪锅多远时自动移除烹饪锅
break_distance: 10
#当玩家输入放置烹饪锅指令时指针所指的位置最远放置距离
max_put_distance: 4
#放置限制
limit:
world:
# 是否启用白名单模式(只有在该名单内的世界能放置)
whiteblack: false
#当whiteblack为false时下面的世界无法放置烹饪锅
list:
- 'testworldname'
- 'xxx'
sound:
cook_put: ITEM_BOTTLE_FILL
cook_begin: BLOCK_NOTE_BLOCK_BELL
effect:
progress: DRIP_LAVA
success: VILLAGER_HAPPY
fail: VILLAGER_ANGRY
message.yml
plugin: '&f[&#BA55D3&lLeg⒚DB&lend⛌CC&laryⒸD3&lCooA2BE2&lk&f] &#e0ffff'
level:
up: '你的烹饪等级提高了 &a%amount% &#e0ffff目前等级为 &a%level%'
take: '你的烹饪等级被降了 &a%amount% &#e0ffff目前等级为 &a%level%'
exp:
gain: '你的烹饪经验提高了 &a%amount% &#e0ffff点'
lost: '你的烹饪经验减少了 &a%amount% &#e0ffff点'
other:
online: '该玩家不在线!'
exists: '该玩家不存在!'
math: '请输入一个正确的数字!'
unlock: '你解锁了配方 %cook%'
unlock_admin: '你为玩家 %player% 解锁了配方 %cook%'
cook:
noexists: '该配方不存在!'
alreadyexists: '该配方已经存在了!'
back_gaming: '你正在烹饪中,请先取消本次烹饪后再收回烹饪锅..'
put: '你在火候为 &a%hot% &#e0ffff投入了 &f%item% &a×%amount%. &#e0ffff还需投放 &a%less% &#e0ffff个材料即可完成烹饪...'
begin_title: '&#FFC125&l开始烹饪;%cook%'
cancel_title: '&c取消烹饪;&#e0ffff食材返回背包..'
cancel: '你取消了本次烹饪,食材已经返回至背包内..'
timeout_title: '&c烹饪失败!;&f超时...'
timeout: '额..动作再快点...'
locked: '该配方未解锁,无法烹饪..'
message:
- '&#FF7F00&l开始炼制丹药 &f- %name%'
- 'F9EA0&l提示'
- '&f &f &f &f· &#e0ffff注意物品栏上方的&a火候值'
- '&f &f &f &f· &#e0ffff每过&a1s&#e0ffff提升1点火候值'
- '&f &f &f &f· &#e0ffff持续按住&aShift 1s&#e0ffff可降低火候值'
- '&f &f &f &f· &a右键&#e0ffff炼药锅进行&a投入食材、取消烹饪&#e0ffff操作'
- '&f &f &f &f· &#e0ffff当锅内&a食材需求数&#e0ffff达到&a指定值&#e0ffff将烹饪完成'
- ''
- '&f &f &f &f· &c注意食材放入的顺序、火候、数量'
add_recipes_experience: '你对 %cook% &#e0ffff的熟练度提升了 &a%amount%'
take_recipes_experience: '你对 %cook% &#e0ffff的熟练度降低了 &a%amount%'
pot:
too_far: '你所指的地方太远了,烹饪锅无法放置!'
cant: '该位置不可放置烹饪锅,请换个地方试试看..'
cant_world: '该世界无法放置烹饪锅!'
remove: '烹饪锅已收回'
Categorizes.yml
普通食物:
display: '&f普通的美食'
material: BREAD
data: 0
amount: 1
model: 0
lore:
- ''
- '&#e0ffff收录着各种普通的美食'
- ''
- '&a&l> &e点击打开'
cooks:
- '配方1'
CategorizesMenu.yml
title: '%cat% &e选择一个配方进行烹饪'
size: 54
#烹饪配方出现的格子
layout: [11,12,13,14,15,20,21,22,23,24,29,30,31,32,33]
placeholder:
lock: '&c - 该配方未解锁 -'
lore-format:
- '%lore%'
- ''
- '%lock%'
- '&f[ &e左键开始烹饪 &f]'
- '&f[ &b右键查看成品 &f]'
customItems:
pre:
display: '&7上一页'
amount: 1
material: ARROW
data: 0
model: 0
lore:
- ''
slot: [47]
fuction:
type: pre
next:
display: '&7下一页'
amount: 1
material: ARROW
data: 0
model: 0
lore:
- ''
slot: [51]
fuction:
type: next
back:
display: '&7返回'
amount: 1
material: BARRIER
data: 0
model: 0
lore:
- ''
slot: [49]
fuction:
type: back
MainMenu.yml
title: '&e所有类别'
size: 36
customItems:
cat1:
display: '&e普通食物类'
material: PAPER
amount: 1
data: 0
model: 0
lore:
- ''
- '&f- &e点击进入'
slot: [13]
fuction:
type: categorize
value: 普通食物
close:
display: '&c关闭'
material: BARRIER
amount: 1
data: 0
model: 0
lore:
- ''
slot: [31]
fuction:
type: close
MaterialPut.yml
title: '&0当前火候: &a%hot%'
size: 54
#材料投放的位置
put_slot: 13
#fuction:
# null: 点击后没有任何效果,为装饰
# confirm: 确认投入材料按钮
# cancel: 取消炼制按钮
# run: 点击后执行命令组,可参考wiki命令组部分
#写法示例: fuction:
# type: run
# value:
# - 'xx'
# - 'xxx'
customItems:
i1:
material: GRAY_STAINED_GLASS_PANE
data: 0
amount: 1
model: 0
display: '&f '
lore:
- ''
slot: [0,1,7,8,9,17,18,26,27,28,34,35,36,37,38,42,43,44]
fuction:
type: null
i2:
material: RED_STAINED_GLASS_PANE
data: 0
amount: 1
model: 0
display: '&f '
lore:
- ''
slot: [2,6,10,11,15,16,19,20,24,25]
fuction:
type: null
i3:
material: ORANGE_STAINED_GLASS_PANE
data: 0
amount: 1
model: 0
display: '&e此处投放材料'
lore:
- ''
slot: [3,4,5,12,14,21,22,23]
fuction:
type: null
i4:
material: LIME_STAINED_GLASS_PANE
data: 0
amount: 1
model: 0
display: '&f '
lore:
- ''
slot: [29,30,32,33,39,40,41]
fuction:
type: null
i5:
material: BROWN_STAINED_GLASS_PANE
data: 0
amount: 1
model: 0
display: '&f '
lore:
- ''
slot: [53,52,51,50,48,47,46,45]
fuction:
type: null
confirm:
material: LIME_WOOL
data: 0
amount: 1
model: 0
display: '&f&l# EEE94点击确认投入 &f&l#'
lore:
- ''
- 'ᥟED&l提示'
- ' - &#e0ffff注意把控&a火候&#e0ffff以及材料投入&a数量'
slot: [31]
fuction:
type: confirm
cancel:
material: BARRIER
data: 0
amount: 1
model: 0
display: '&#FF4040取消烹饪'
lore:
- ''
- 'ᥟED&l提示'
- ' - &#e0ffff点击后取消本次烹饪'
- ' - &#e0ffff并返回以及投入的材料.'
slot: [49]
fuction:
type: cancel
Items.yml
该文件为插件物品保存文件。
在游戏内手持需要保存的物品输入/lamy save ID
PotData.yml
该文件为炼药锅位置缓存文件。
防止服务器内因为未知原因导致的炼药锅残留。
Last updated