Commit Graph

27 Commits

Author SHA1 Message Date
19481ab95e ClickEvent and HoverEvent support of /chat package 2021-12-17 01:05:32 +08:00
7cfe5145d2 Enhance support of screens 2021-07-04 12:38:24 +08:00
951bedbb13 Fix tests, changes pk.NBT api 2021-02-28 15:14:52 +08:00
f8b3501b60 Fix other code for compatible with new go-mc/net packet 2021-02-25 20:22:06 +08:00
624fc138ba Fix the circle import 2021-02-18 16:57:11 +08:00
8cc4747f88 Import github.com/Tnze/go-mc/data/lang/en-us by default that the chat.Message.String() will handle Translate Message correctly at any time. 2021-02-18 14:38:29 +08:00
bc9cd93066 Fix some warnings and typos 2021-02-18 14:07:30 +08:00
67806abcdb fix #88 2020-11-30 14:29:15 +08:00
8ff82db3c8 Fix "italic" bug mentioned in #76 2020-09-11 10:32:20 +08:00
e3052668a3 Merge remote-tracking branch 'origin/master' 2020-05-01 10:44:36 +08:00
3257c81a27 expose control sequences function 2020-05-01 10:43:50 +08:00
ebf1d5c2c2 Update languages file. Add two function to chat packet: Append and TranslateMsg 2020-04-12 14:58:44 +08:00
73af09e2ea chat package will not ignore the translate message now, but return the row msg. 2019-08-07 15:23:25 +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
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