黑羽快斗´
登录密码时候的提示消息怎么换行,或者用什么办法换行,打空格不同玩家的分辨率看到的是不一样的,有的正常有的就乱了

The_jimeng
貌似没办法换行== 我都是一次一次测试 才达到满足的板式

黑羽快斗´
The_jimeng 发表于 2021-2-16 19:57
貌似没办法换行== 我都是一次一次测试 才达到满足的板式

关键一个玩家看到是我预设好的,另一个玩家看到看到的就是错行

The_jimeng
shenren3-f 发表于 2021-2-16 20:03
关键一个玩家看到是我预设好的,另一个玩家看到看到的就是错行

换不了行 你只能以着大部分玩家进行调试 屏幕尺寸一致就差不多

MC小鱼儿
login_msg: |
  xxxxxx[消息]xxxxxxx
  xxxxxxxxxxxxxxxxxxx
格式这这样的

BlessAzek
见 messages_xx_.yml 中 最上面的部分
  1. # List of global tags:
  2. # %nl% - Goes to new line. 新的行
  3. # %username% - Replaces the username of the player receiving the message.  替换成玩家id
  4. # %displayname% - Replaces the nickname (and colors) of the player receiving the message.  替换成玩家的显示id [带颜色代码和前缀]
  5. # Edited: 2020/11/26 Leonard Jiang @ Waveland
复制代码

BlessAzek
(之前的那个回复错了

见 messages_xx_.yml 中 最上面的部分
  1. # List of global tags:
  2. # %nl% - Goes to new line. 新的行
  3. # %username% - Replaces the username of the player receiving the message.  替换成玩家id
  4. # %displayname% - Replaces the nickname (and colors) of the player receiving the message.  替换成玩家的显示id [带颜色代码和前缀]
  5. # Edited: 2020/11/26 Leonard Jiang @ Waveland
复制代码

黑羽快斗´
3174941841 发表于 2021-2-16 20:41
(之前的那个回复错了

见 messages_xx_.yml 中 最上面的部分

你这是在说些什么

BlessAzek
shenren3-f 发表于 2021-2-16 20:49
你这是在说些什么

。。。。。
(是我太花里胡哨了吗。。。。

使用 %nl% 这个变量就可以开启一个新的行

栗子:   example: "hi, %nl% 这是下一行的消息"

黑羽快斗´
3174941841 发表于 2021-2-16 20:53
。。。。。
(是我太花里胡哨了吗。。。。

你直接给我一个文件吧 我看看

BlessAzek
shenren3-f 发表于 2021-2-17 17:14
你直接给我一个文件吧 我看看

...

  1. 'login_request': '&ahi %nl% &8[&6玩家系统&8] &c请输入“/login <密码>”以登录 %nl% &bnihao'
复制代码
效果:




黑羽快斗´

你给我发一个附件 我按照附件改 我这个被我改的太乱了

BlessAzek
messages_zhcn.yml (9.48 KB, 下载次数: 1)

星世界_Star

等我号解封了就给你最佳啊