登录密码时候的提示消息怎么换行,或者用什么办法换行,打空格不同玩家的分辨率看到的是不一样的,有的正常有的就乱了
貌似没办法换行== 我都是一次一次测试 才达到满足的板式
The_jimeng 发表于 2021-2-16 19:57
貌似没办法换行== 我都是一次一次测试 才达到满足的板式
关键一个玩家看到是我预设好的,另一个玩家看到看到的就是错行
shenren3-f 发表于 2021-2-16 20:03
关键一个玩家看到是我预设好的,另一个玩家看到看到的就是错行
换不了行 你只能以着大部分玩家进行调试 屏幕尺寸一致就差不多
login_msg: |
xxxxxx[消息]xxxxxxx
xxxxxxxxxxxxxxxxxxx
格式这这样的
xxxxxx[消息]xxxxxxx
xxxxxxxxxxxxxxxxxxx
格式这这样的
见 messages_xx_.yml 中 最上面的部分
复制代码
- # List of global tags:
 
- # %nl% - Goes to new line. 新的行
 
- # %username% - Replaces the username of the player receiving the message.  替换成玩家id
 
- # %displayname% - Replaces the nickname (and colors) of the player receiving the message.  替换成玩家的显示id [带颜色代码和前缀]
 
- # Edited: 2020/11/26 Leonard Jiang @ Waveland
(之前的那个回复错了
见 messages_xx_.yml 中 最上面的部分
复制代码
见 messages_xx_.yml 中 最上面的部分
- # List of global tags:
 
- # %nl% - Goes to new line. 新的行
 
- # %username% - Replaces the username of the player receiving the message.  替换成玩家id
 
- # %displayname% - Replaces the nickname (and colors) of the player receiving the message.  替换成玩家的显示id [带颜色代码和前缀]
 
- # Edited: 2020/11/26 Leonard Jiang @ Waveland
3174941841 发表于 2021-2-16 20:41
(之前的那个回复错了
见 messages_xx_.yml 中 最上面的部分
你这是在说些什么
shenren3-f 发表于 2021-2-16 20:49
你这是在说些什么
。。。。。
(是我太花里胡哨了吗。。。。
使用 %nl% 这个变量就可以开启一个新的行
栗子: example: "hi, %nl% 这是下一行的消息"
3174941841 发表于 2021-2-16 20:53
。。。。。
(是我太花里胡哨了吗。。。。
你直接给我一个文件吧 我看看
shenren3-f 发表于 2021-2-17 17:14
你直接给我一个文件吧 我看看
...
 
- 'login_request': '&ahi %nl% &8[&6玩家系统&8] &c请输入“/login <密码>”以登录 %nl% &bnihao'
 
3174941841 发表于 2021-2-17 20:33
...
效果:
你给我发一个附件 我按照附件改 我这个被我改的太乱了
等我号解封了就给你最佳啊