TwelveIterationMods / ChatTweaks

Minecraft Mod. Emoticons, Image Preview, Tabs and Filters. Client-side only.
https://mods.twelveiterations.com/mc/chat-tweaks/
MIT License
18 stars 10 forks source link

How do you include timestamp as part of the "Output Format" field? #52

Closed Schwaitz closed 5 years ago

Schwaitz commented 6 years ago

I have a specific view where I want to show the timestamp, but I don't want it for every chat message. Is there a special code (like {timestamp} or such) that I can include in the Output Format field?

BlayTheNinth commented 6 years ago

The $t variable in the output format should work.

Schwaitz commented 6 years ago

I tried that (here is what I have in the output): Imgur Link

All that happens in chat is the literal characters "$t" and then the rest of the message. I'm on 1.12.2, by the way.

I scoured the code looking to see where it might be, and couldn't find anything.

BlayTheNinth commented 6 years ago

Sorry, it's ${t}