花了一下午,好不容易写好了DeluxeMenus简单的菜单,兴奋地打开游戏……
全部字都是乱码!
后台并没有报错,菜单yml文件如下:
复制代码
怎么才能解决乱码?……

全部字都是乱码!
后台并没有报错,菜单yml文件如下:
- menu_title: '主菜单'
- open_command: menu
- csize: 54
- items:
- '1':
- material: bed
- slot: 21
- display_name: '&6回家'
- lore:
- - '&f左键 &7| &f回家'
- left_click_commands:
- - '[player] is'
- - '[message] &a正在传送'
- - '[close]'
- '2':
- material: book
- slot: 22
- display_name: '&f海岛帮助'
- lore:
- - '&f左键 &7| &f海岛帮助'
- left_click_commands:
- - '[player] is help'
- - '[close]'
- '3':
- material: anvil
- slot: 23
- display_name: '&f海岛挑战'
- lore:
- - '&f左键 &7| &f打开挑战'
- left_click_commands:
- - '[player] c'
- - '[close]'
- '4':
- material: compass
- slot: 30
- display_name: '&f返回出生点'
- lore:
- - '&f左键 &7| &f返回出生点'
- left_click_commands:
- - '[console] tp @p 384 57 -1047'
- - '[close]'
- '5':
- material: chest
- slot: 31
- display_name: '&f商店'
- lore:
- - '&f左键 &7| &f打开商店'
- left_click_commands:
- - '[message] &a功能暂未开启,敬请期待!'
- - '[close]'
- '6':
- material: barrier
- slot: 32
- display_name: '&f关闭菜单'
- lore:
- - '&f左键 &7| &f关闭菜单'
- left_click_commands:
- - '[close]'
-
怎么才能解决乱码?……
转UTF-8编码或ANSI编码呢
折叠 发表于 2020-4-3 20:44
转UTF-8编码或ANSI编码呢
转……转码?什么东西
可乐菌KeLe 发表于 2020-4-3 20:45
转……转码?什么东西
上传一下你的配置文件 顺便告诉我一下游戏版本
本帖最后由 帕帕武 于 2020-4-3 20:48 编辑
使用Notepad++
找到“编码”
然后转换为ANSI或者UTF-8高版本的一般用UTF-8
你可别说你拿的笔记本写的配置?
可乐菌KeLe 发表于 2020-4-3 20:45
转……转码?什么东西
使用Notepad++
找到“编码”
然后转换为ANSI或者UTF-8高版本的一般用UTF-8

折叠 发表于 2020-4-3 20:58
换上去重载试试
dalao就是dalao,一次搞定(我还是那么垃圾)(划掉)
可乐菌KeLe 发表于 2020-4-3 21:06
dalao就是dalao,一次搞定(我还是那么垃圾)(划掉)
建议装个Notepad++编辑配置文件
https://notepad-plus.en.softonic.com/