节日 · 管理
模块 ID festival,MiaoSkyCore 分支 main。玩家视角的说明见节日。
命令一览
/msc festival
权限
| 权限 | 默认 | 说明 |
|---|---|---|
miaoskycore.festival.admin | OP | 管理节日(模拟、发放节庆券) |
说明
以下内容摘自 MiaoSkyCore docs/MODULES.md。
职责 设计稿第 9 节。festival.yml 写整张日历(30 个节日,日期含首尾两天,上海时间)。节日期间:车站广场与节庆广场范围内(bossbar-areas)显示 Boss 栏;告示牌(boards)显示当前或下一个节日;节庆司仪打开节日委托界面。三项委托类型:deliver(在司仪处从背包交付)、talk(与指定 NPC 交谈,听 NpcInteractEvent)、order(为全服订单贡献,听 OrderContributeEvent)、produce(天工科技 TgtProductionEvent,按岛分给全体岛员)。每完成一项得 vouchers-per-task 张节庆券;三项都完成 → 领取本届全部图纸(每人每个节日一次,msc_festival_claim 先写库再发)。节日期间可用 rerun-cost 张节庆券兑换同一 family 往年的图纸。
数据 msc_festival_task、msc_festival_claim、msc_festival_rerun。命令 /msc festival;管理(miaoskycore.festival.admin)list、simulate <ID|off>、voucher <玩家> [数量]。变量 %msc_festival_name%、%msc_festival_next%。
配置
文件 plugins/MiaoSkyCore/festival.yml(默认值):
展开 festival.yml
# 节日日历(设计稿第 9 节)。时间按 Asia/Shanghai,start、end 都含当天(end 当天 24:00 结束)。
# 节日期间完成三项节日委托 → 在节庆广场的司仪处领取本届全部图纸(每人每个节日一次)。
# 委托类型:
# deliver 在节庆广场司仪处交付物品(target:物品键,原版写材质名,粘液/天工写 sf:ID)
# talk 与指定 NPC 交谈(target:npc.yml 里的 ID)
# order 为全服订单贡献物品(target:物品键,* 表示任意)
# produce 岛上的天工科技机器产出(target:产出物或机器的 ID,* 表示任意;数量按个或 mB)
# 每完成一项委托额外获得 vouchers-per-task 张节庆券;节日期间可用 rerun-cost 张节庆券复刻同一 family 往年的图纸。
# 交付物品、交谈对象和数量是策划未定的部分,先按节日主题填写,可直接修改。
# 图纸 ID 是给天工科技(tgt-extra)的约定,天工科技注册同名图纸后自动生效。
# 校准(econ,2026-11-29,见 /tg/out/econ/changes.md):
# - 全服订单当周达成后不再接受交付(contracts 模块 deliverGlobal → global-done-already),短节日(不足 7 天)
# 可能整段落在「本周全服订单已完成」的时间里,「为全服订单贡献」这一项就做不成了;短节日一律改成 produce。
# - produce 的 target 写具体流体(steam / water),不写 *:写 * 时同一条产出按「产物」和「机器」各算一次(翻倍),
# 而且泵抽水几秒就能凑满 1000。steam 用天工 t1 的固体燃料锅炉即可(40 mB/秒),新玩家开服当天就能做。
# - 赛季节日的全服订单贡献 500 → 300;元旦(开服第 1 天)不要求烟花火箭(空岛第 1 天没有火药来源),改交圆石。
host-npc: festival_host
vouchers-per-task: 1
rerun-cost: 3
voucher:
material: PAPER
name: '&6节庆券'
lore:
- '&7完成节日委托时获得。'
- '&7节日期间可在节庆广场兑换往年的节日图纸。'
custom-model-data: 220200
# 节日期间在这些范围内显示 Boss 栏(车站广场、节庆广场;占位坐标)
bossbar-areas:
- {world: world, x: 0, z: 0, radius: 48}
# 告示牌(TextDisplay;占位坐标)
boards:
station:
world: world
x: 0.5
y: 66.5
z: -6.5
plaza:
world: world
x: 0.5
y: 66.5
z: 6.5
festivals:
'2027_new_year':
name: 元旦·开工
family: new_year
season: S1
start: '2027-01-01'
end: '2027-01-01'
blueprints:
- id: fest_kaigong_medal
name: 开工纪念章图纸
unlocks: 开工纪念章
- id: fest_confetti_cannon
name: 礼花筒图纸
unlocks: 礼花筒
tasks:
- id: deliver
type: deliver
target: COBBLESTONE
amount: 128
- id: talk
type: talk
target: newsboy
amount: 1
- id: produce
type: produce
target: 'water'
amount: 2000
'2027_spring':
name: 新春(除夕至元宵)
family: spring
season: S1
start: '2027-02-05'
end: '2027-02-20'
blueprints:
- id: fest_firework_workshop
name: 烟花工坊图纸
unlocks: 烟花工坊
- id: fest_red_lantern
name: 红灯笼图纸
unlocks: 红灯笼
tasks:
- id: deliver
type: deliver
target: CAKE
amount: 8
- id: talk
type: talk
target: baker
amount: 1
- id: order
type: order
target: '*'
amount: 300
'2027_valentine':
name: 情人节
family: valentine
season: S1
start: '2027-02-14'
end: '2027-02-14'
blueprints:
- id: fest_heart_neon
name: 心形霓虹灯图纸
unlocks: 心形霓虹灯
tasks:
- id: deliver
type: deliver
target: POPPY
amount: 32
- id: talk
type: talk
target: painter
amount: 1
- id: produce
type: produce
target: 'steam'
amount: 10000
'2027_equinox':
name: 春分·万物生
family: equinox
season: S2
start: '2027-03-19'
end: '2027-03-28'
blueprints:
- id: fest_auto_planter
name: 自动植树机图纸
unlocks: 自动植树机
tasks:
- id: deliver
type: deliver
target: OAK_SAPLING
amount: 64
- id: talk
type: talk
target: gardener
amount: 1
- id: order
type: order
target: '*'
amount: 300
'2027_qingming':
name: 清明
family: qingming
season: S2
start: '2027-04-03'
end: '2027-04-05'
blueprints:
- id: fest_qingtuan_steamer
name: 青团蒸笼图纸
unlocks: 青团蒸笼
tasks:
- id: deliver
type: deliver
target: WHEAT
amount: 64
- id: talk
type: talk
target: gardener
amount: 1
- id: produce
type: produce
target: 'steam'
amount: 20000
'2027_labor':
name: 劳动节
family: labor
season: S3
start: '2027-05-01'
end: '2027-05-05'
blueprints:
- id: fest_model_toolbox
name: 劳模工具箱图纸
unlocks: 劳模工具箱
tasks:
- id: deliver
type: deliver
target: IRON_INGOT
amount: 64
- id: talk
type: talk
target: blacksmith
amount: 1
- id: produce
type: produce
target: 'steam'
amount: 50000
'2027_expo':
name: 天工博览会
family: expo
season: S3
start: '2027-05-14'
end: '2027-05-23'
blueprints:
- id: fest_exhibit_stand
name: 展台基座图纸
unlocks: 展台基座
tasks:
- id: deliver
type: deliver
target: ITEM_FRAME
amount: 16
- id: talk
type: talk
target: town_clerk
amount: 1
- id: order
type: order
target: '*'
amount: 300
'2027_duanwu':
name: 端午
family: duanwu
season: S3
start: '2027-06-07'
end: '2027-06-11'
blueprints:
- id: fest_zongzi_steamer
name: 粽子蒸笼图纸
unlocks: 粽子蒸笼
- id: fest_dragon_boat
name: 龙舟模型图纸
unlocks: 龙舟模型
tasks:
- id: deliver
type: deliver
target: BAMBOO
amount: 64
- id: talk
type: talk
target: brewer
amount: 1
- id: produce
type: produce
target: 'steam'
amount: 30000
'2027_summer':
name: 大暑·消夏会
family: summer
season: S4
start: '2027-07-16'
end: '2027-07-25'
blueprints:
- id: fest_ice_maker
name: 制冰机图纸
unlocks: 制冰机
- id: fest_electric_fan
name: 电风扇图纸
unlocks: 电风扇
tasks:
- id: deliver
type: deliver
target: ICE
amount: 64
- id: talk
type: talk
target: pharmacist
amount: 1
- id: order
type: order
target: '*'
amount: 300
'2027_qixi':
name: 七夕
family: qixi
season: S4
start: '2027-08-07'
end: '2027-08-09'
blueprints:
- id: fest_magpie_bridge_lamp
name: 鹊桥灯图纸
unlocks: 鹊桥灯
tasks:
- id: deliver
type: deliver
target: GLOWSTONE_DUST
amount: 64
- id: talk
type: talk
target: tailor
amount: 1
- id: produce
type: produce
target: 'steam'
amount: 30000
'2027_midautumn':
name: 中秋
family: midautumn
season: S5
start: '2027-09-11'
end: '2027-09-19'
blueprints:
- id: fest_mooncake_oven
name: 月饼烘焙炉图纸
unlocks: 月饼烘焙炉
- id: fest_moon_terrace
name: 望月台图纸
unlocks: 望月台
tasks:
- id: deliver
type: deliver
target: PUMPKIN_PIE
amount: 32
- id: talk
type: talk
target: astronomer
amount: 1
- id: order
type: order
target: '*'
amount: 300
'2027_national':
name: 国庆
family: national
season: S5
start: '2027-10-01'
end: '2027-10-07'
blueprints:
- id: fest_salute_cannon
name: 礼炮图纸
unlocks: 礼炮
tasks:
- id: deliver
type: deliver
target: FIREWORK_ROCKET
amount: 64
- id: talk
type: talk
target: conductor
amount: 1
- id: order
type: order
target: '*'
amount: 300
'2027_chongyang':
name: 重阳
family: chongyang
season: S6
start: '2027-10-08'
end: '2027-10-08'
blueprints:
- id: fest_chrysanthemum_jar
name: 菊花酒坛图纸
unlocks: 菊花酒坛
tasks:
- id: deliver
type: deliver
target: OXEYE_DAISY
amount: 32
- id: talk
type: talk
target: brewer
amount: 1
- id: produce
type: produce
target: 'steam'
amount: 10000
'2027_halloween':
name: 万圣夜·南瓜灯会
family: halloween
season: S6
start: '2027-10-29'
end: '2027-11-04'
blueprints:
- id: fest_jack_o_lantern_workshop
name: 南瓜灯工坊图纸
unlocks: 南瓜灯工坊
tasks:
- id: deliver
type: deliver
target: JACK_O_LANTERN
amount: 32
- id: talk
type: talk
target: lighthouse_keeper
amount: 1
- id: order
type: order
target: '*'
amount: 300
'2027_winter':
name: 冬至·圣诞·开服周年
family: winter
season: S7
start: '2027-12-22'
end: '2028-01-04'
blueprints:
- id: fest_dumpling_machine
name: 饺子机图纸
unlocks: 饺子机
- id: fest_gift_wrapper
name: 礼物包装机图纸
unlocks: 礼物包装机
- id: fest_anniversary_clock
name: 周年纪念钟图纸
unlocks: 周年纪念钟
tasks:
- id: deliver
type: deliver
target: SNOWBALL
amount: 64
- id: talk
type: talk
target: postman
amount: 1
- id: order
type: order
target: '*'
amount: 300
'2028_spring':
name: 新春(除夕至元宵)
family: spring
season: S7–S8
start: '2028-01-25'
end: '2028-02-09'
blueprints:
- id: fest_lion_dance
name: 舞狮机关图纸
unlocks: 舞狮机关
- id: fest_trotting_lantern
name: 走马灯图纸
unlocks: 走马灯
tasks:
- id: deliver
type: deliver
target: CAKE
amount: 8
- id: talk
type: talk
target: baker
amount: 1
- id: order
type: order
target: '*'
amount: 300
'2028_jingzhe':
name: 惊蛰·春雷
family: jingzhe
season: S8
start: '2028-03-01'
end: '2028-03-08'
blueprints:
- id: fest_lightning_tower
name: 避雷塔图纸
unlocks: 避雷塔
tasks:
- id: deliver
type: deliver
target: COPPER_INGOT
amount: 64
- id: talk
type: talk
target: clockmaker
amount: 1
- id: produce
type: produce
target: 'steam'
amount: 50000
'2028_qingming':
name: 清明
family: qingming
season: S9
start: '2028-04-02'
end: '2028-04-04'
blueprints:
- id: fest_kite
name: 风筝图纸
unlocks: 风筝
tasks:
- id: deliver
type: deliver
target: STRING
amount: 64
- id: talk
type: talk
target: painter
amount: 1
- id: produce
type: produce
target: 'steam'
amount: 20000
'2028_expo':
name: 第二届天工博览会
family: expo
season: S9
start: '2028-04-19'
end: '2028-04-28'
blueprints:
- id: fest_holo_stand
name: 全息展台图纸
unlocks: 全息展台
tasks:
- id: deliver
type: deliver
target: ITEM_FRAME
amount: 16
- id: talk
type: talk
target: town_clerk
amount: 1
- id: order
type: order
target: '*'
amount: 300
'2028_labor':
name: 劳动节
family: labor
season: S9
start: '2028-05-01'
end: '2028-05-05'
blueprints:
- id: fest_model_worker_medal
name: 劳模奖章图纸
unlocks: 劳模奖章
tasks:
- id: deliver
type: deliver
target: IRON_INGOT
amount: 64
- id: talk
type: talk
target: blacksmith
amount: 1
- id: produce
type: produce
target: 'steam'
amount: 50000
'2028_duanwu':
name: 端午
family: duanwu
season: S10
start: '2028-05-27'
end: '2028-05-29'
blueprints:
- id: fest_mugwort_sachet
name: 艾草香囊图纸
unlocks: 艾草香囊
tasks:
- id: deliver
type: deliver
target: BAMBOO
amount: 64
- id: talk
type: talk
target: pharmacist
amount: 1
- id: produce
type: produce
target: 'steam'
amount: 30000
'2028_summer_solstice':
name: 夏至·长昼
family: summer_solstice
season: S10
start: '2028-06-16'
end: '2028-06-22'
blueprints:
- id: fest_sundial
name: 日晷图纸
unlocks: 日晷
tasks:
- id: deliver
type: deliver
target: SUNFLOWER
amount: 16
- id: talk
type: talk
target: clockmaker
amount: 1
- id: order
type: order
target: '*'
amount: 300
'2028_perseid':
name: 立秋·星夜(英仙座流星雨)
family: perseid
season: S11
start: '2028-08-07'
end: '2028-08-13'
blueprints:
- id: fest_meteor_observer
name: 流星观测仪图纸
unlocks: 流星观测仪
tasks:
- id: deliver
type: deliver
target: AMETHYST_SHARD
amount: 32
- id: talk
type: talk
target: astronomer
amount: 1
- id: order
type: order
target: '*'
amount: 300
'2028_qixi':
name: 七夕
family: qixi
season: S11
start: '2028-08-25'
end: '2028-08-27'
blueprints:
- id: fest_galaxy_projector
name: 银河投影灯图纸
unlocks: 银河投影灯
tasks:
- id: deliver
type: deliver
target: GLOWSTONE_DUST
amount: 64
- id: talk
type: talk
target: tailor
amount: 1
- id: produce
type: produce
target: 'steam'
amount: 30000
'2028_midautumn':
name: 中秋·国庆
family: midautumn
season: S12
start: '2028-09-30'
end: '2028-10-08'
blueprints:
- id: fest_jade_rabbit_lamp
name: 玉兔灯图纸
unlocks: 玉兔灯
- id: fest_lunar_model
name: 月面模型图纸
unlocks: 月面模型
tasks:
- id: deliver
type: deliver
target: PUMPKIN_PIE
amount: 32
- id: talk
type: talk
target: astronomer
amount: 1
- id: order
type: order
target: '*'
amount: 300
'2028_chongyang':
name: 重阳
family: chongyang
season: S12
start: '2028-10-26'
end: '2028-10-26'
blueprints:
- id: fest_climbing_terrace
name: 登高台图纸
unlocks: 登高台
tasks:
- id: deliver
type: deliver
target: OXEYE_DAISY
amount: 32
- id: talk
type: talk
target: brewer
amount: 1
- id: produce
type: produce
target: 'steam'
amount: 10000
'2028_halloween':
name: 万圣夜
family: halloween
season: S12
start: '2028-10-31'
end: '2028-10-31'
blueprints:
- id: fest_ghost_lantern
name: 幽灵灯笼图纸
unlocks: 幽灵灯笼
tasks:
- id: deliver
type: deliver
target: JACK_O_LANTERN
amount: 32
- id: talk
type: talk
target: lighthouse_keeper
amount: 1
- id: produce
type: produce
target: 'steam'
amount: 10000
'2028_annual':
name: 天工年度盛典
family: annual
season: S13
start: '2028-12-01'
end: '2028-12-07'
blueprints:
- id: fest_annual_trophy
name: 年度奖杯图纸
unlocks: 年度奖杯
tasks:
- id: deliver
type: deliver
target: GOLD_INGOT
amount: 32
- id: talk
type: talk
target: town_clerk
amount: 1
- id: order
type: order
target: '*'
amount: 300
'2028_winter':
name: 冬至·圣诞
family: winter
season: S13
start: '2028-12-21'
end: '2028-12-25'
blueprints:
- id: fest_snow_globe
name: 雪景球图纸
unlocks: 雪景球
tasks:
- id: deliver
type: deliver
target: SNOWBALL
amount: 64
- id: talk
type: talk
target: postman
amount: 1
- id: produce
type: produce
target: 'steam'
amount: 30000
'2029_new_year':
name: 开服两周年
family: new_year
season: '—'
start: '2029-01-01'
end: '2029-01-01'
blueprints:
- id: fest_two_year_clock
name: 两周年纪念钟图纸
unlocks: 两周年纪念钟
tasks:
- id: deliver
type: deliver
target: FIREWORK_ROCKET
amount: 32
- id: talk
type: talk
target: newsboy
amount: 1
- id: produce
type: produce
target: 'water'
amount: 2000