跳到主要内容

新邮件提示

玩家有三种时候会看到提示:上线时、收到新邮件时、有附件一直没领时。聊天栏的提示都能点,点了打开邮箱。

上线​

上线 3 秒后提示「你有 2 封未读邮件,1 封附件待领取」。默认只有真的有未读或待领时才提示。

notify:
join-delay-seconds: 3
join-only-when-unread: true

join-delay-seconds: 0 就不提示。

收到新邮件​

在线时收到新信,聊天栏一行「收到来自 星月邮局 的新邮件:活动奖励」,屏幕中间跳标题,再播一声音效。跨服寄来的在几秒内提示。

notify:
new-mail:
chat: true
title: '<gradient:#9BB8FF:#E7C6FF>✉ 新邮件</gradient>'
subtitle: '<gray>{sender}<dark_gray>:<white>{title}'
actionbar: ''
sound: 'BLOCK_NOTE_BLOCK_CHIME:0.8:1.6'

标题、副标题、动作栏可以用 {sender} 寄件人、{title} 标题、{count} 一次收到几封。标题和副标题都写成 '' 就不跳标题。音效写法是 音效名:音量:音调,留空不播。

附件一直没领​

notify:
reminder-minutes: 15

有没领的附件时,每 15 分钟提醒一次「你还有 1 封邮件的附件没有领取」。0 就不提醒。

改文字​

聊天栏的文字在 messages.yml:上线是 join,新邮件是 new-mail,一次好几封是 new-mails,提醒是 reminder。写成 '' 就不发,见 messages.yml。

没有提示时​

先看 notify.new-mail.chat 是不是 true、messages.yml 的 new-mail 有没有被清空。上线提示要 join-delay-seconds 不是 0。跨服寄来的要等下一次轮询,默认 3 秒。

0:000:00