Commit Graph

10 Commits

Author SHA1 Message Date
67806abcdb fix #88 2020-11-30 14:29:15 +08:00
ebf1d5c2c2 Update languages file. Add two function to chat packet: Append and TranslateMsg 2020-04-12 14:58:44 +08:00
ced82a1cab Now we could use package chat to translate in many language.
But you must call chat.SetLanguage now.
(or just import _ "github.com/Tnze/go-mc/data/lang/en-us"
2019-08-06 14:51:48 +08:00
3a6211d180 Chat Message support Encode now,fix test 2019-07-24 03:21:31 +08:00
a91caff32f Chat Message support Encode now 2019-07-24 02:54:36 +08:00
ff7439c28e 修复了§设置的格式不恢复的问题 2019-06-19 02:01:04 +08:00
840e4b1cf8 修正了解析§格式的大小写敏感问题 2019-06-19 01:51:50 +08:00
8c0b0e89ab support old chat format system which based on § 2019-06-19 01:44:21 +08:00
f625f06001 you can use chat.Message.ClearString()
to output the message without ansi color
2019-06-18 17:41:00 +08:00
0d436609ce init 2019-05-01 15:22:42 +08:00