Commit Graph

61 Commits

Author SHA1 Message Date
f0bb92bdb9 remove bot and message.go
Some checks failed
CodeQL / Analyze (go) (push) Has been cancelled
Go / Test (1.22) (push) Has been cancelled
Go / Test (^1.22) (push) Has been cancelled
2025-08-23 17:21:54 +08:00
539b4a3a7f Add 1.21.1 chat support (#284)
Merge this without verification. Otherwise can't be reviewed in the further updates.
2024-12-24 11:20:05 +08:00
47096ee53e Fix chat test 2024-04-27 23:11:09 +08:00
01d05326e0 Fix DisguisedChat handling 2024-04-27 22:54:37 +08:00
d55614cdb7 Fix player chat message decoding error 2024-04-27 22:28:40 +08:00
79c8b35389 Update Text Component defination 2024-04-27 22:09:56 +08:00
fee324e25a Rename inner type name 2024-04-27 21:01:23 +08:00
a42267ba31 Replace all interface{} to any 2023-04-05 19:35:20 +08:00
807e94e360 update comments 2023-02-05 20:10:56 +08:00
bb98d90db3 Support chat validation 2023-01-01 18:43:21 +08:00
fa83b762bf Add chat session 2023-01-01 13:17:07 +08:00
55d12fc76f fix bot/msg (offline-only support) 2022-12-11 22:00:32 +08:00
55bf5eddbb Add pk.Option API 2022-12-06 02:14:38 +08:00
ff94c600df fix player chat fort error 2022-12-04 16:08:52 +08:00
a1870dd2ff don't accept the player in offline mode 2022-12-03 18:45:57 +08:00
fde8193afd check sign from client 2022-12-03 14:59:24 +08:00
9ffed219cd add Hash for Chat Header and PlayerMessage 2022-12-02 16:15:19 +08:00
aadf28dde2 add Hash for Chat Header 2022-12-01 01:42:28 +08:00
55d79f791a 1.19.2 chat support 2022-11-30 18:50:10 +08:00
fad92fe364 format repo with "gofumpt" tool 2022-11-26 20:37:57 +08:00
7814e7b1ab update 1.19.2 bot, chat support 2022-11-26 15:58:31 +08:00
64667826d0 go fmt 2022-11-16 23:32:33 +08:00
58ca83157b Player chunk load limiter 2022-06-25 14:14:01 +08:00
60c9d84cf2 Broadcast player chat and system message 2022-06-25 02:36:58 +08:00
6eb5f35c75 A chat.Message can be deserialized from json array. 2022-05-30 11:25:56 +08:00
3c078fc503 Make HoverEvent struct work. 2022-05-29 18:41:02 -02:00
197e37017c Add document for chat.Message.Append() method 2022-04-26 10:12:10 +08:00
ec4eef2331 fix the chat.Message with empty Text and Extra message doesn't contain an empty "text" field after marshaled into json. close #151 2022-03-09 10:46:59 +08:00
23bcf9149a Clean imports 2022-02-20 19:23:41 +08:00
fee2e0c939 Add test for #148 2022-01-22 21:56:09 +08:00
e6c6684c25 fix #148 2022-01-22 21:39:40 +08:00
9b1349a274 Send player join/left message 2021-12-28 17:00:49 +08:00
a11f6410bb Fix chat tests 2021-12-27 11:29:27 +08:00
d8f5f03524 Change chat.Message Append API 2021-12-27 00:27:49 +08:00
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