Commit Graph

14 Commits

Author SHA1 Message Date
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
020b07fef0 Chat Message support Encode now,fix 2019-07-24 03:10:23 +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
6feed6f193 chat message support json.Marshal 2019-06-02 20:48:46 +08:00
7e8118e21f PluginMessage event 2019-05-19 11:32:31 +08:00
150a5c6f8c fix chat color error 2019-05-03 19:46:53 +08:00
e3e10e5eee trans README 2019-05-03 09:53:26 +08:00
c74cffcc22 Decode ChatMsg as chat.Message but not pk.String 2019-05-02 12:18:00 +08:00
0d436609ce init 2019-05-01 15:22:42 +08:00