Closed MoSadie closed 1 month ago
Ok, had an improvement that allows for vanilla servers & worlds to trigger effects, even with command blocks or datapacks. (via /tellraw)
Hook into incoming chat messages and watch for a translatable message with some unique prefix as part of the key. Prevent displaying the message and parse it into an effect trigger. Can use the translation fallback to just show a blank message for non-modded clients.
To Do:
~~This would be a way, likely a dedicated server-side command, to trigger effects on clients from a server packet. This would require the mod to be able to be loaded on the server side.~~ (Edit: See comment below, don't need mod on server side) This will require an opt-in trust by the client. (Likely run trust command, get server packet, trust server hash)
A quick reminder that this is a concept, not a guarantee that it will be a feature. If you have any thoughts/feedback please feel free to leave it in the comments of this issue.