70CentsApple / ChatTools

Chat Tools 一个 Minecraft Fabric 辅助模组 | A Fabric client-side Minecraft Mod
GNU General Public License v3.0
13 stars 4 forks source link

Clientside Messages #44

Closed AlphaLeoli closed 2 months ago

AlphaLeoli commented 2 months ago

Motivation

it would be super super helpful with testing regex. I know there is the command chattools has to test regex, but this would be better i think. also, it would let you have responders that respond but clientside. You can also have fake messages to trick your friends.

Description

command to put clientside text. for example, /fake &7hi there would put this clientside: image

It would also be cool if you could input custom hover text, click events, etc. Imagine an annoying message sent by a server or mod that tells you to run a command to enable something. Well now, you can run a responder to /fake a message to make "click here" text that when clicked, will make you run a command

Maybe you can choose between a few modes. Like markdown, minecraft mode (& codes), and json (like tellraw). Or maybe it can be defaulted to one, but allow the other modes. idk

Other information

Clientcommands and Aristois do this already. Clientcommands doesn't do it very well though, and Aristois is a hack client which i dont wannna install.

70CentsApple commented 2 months ago

Done, you can download the artifacts as always.

The command will be /chattools send_to_client .... Some notes: