Lootr icon indicating copy to clipboard operation
Lootr copied to clipboard

More Notification Configuration

Open ChloeDawn opened this issue 1 year ago • 6 comments

I would like to be able to change the formatting and color of refresh and decay notifications, optionally also having them be action bar messages or titles instead of chat messages. Additionally (but lower priority) it would be great to have KubeJS events for these interactions so I could, for example, have a custom GUI appear as the notification.

ChloeDawn avatar Feb 10 '24 17:02 ChloeDawn

Can you expand more on what you want with regards to formatting? The colour can most likely be configured, but I'm not sure what you mean by formatting.

If you mean the actual test, these are outsourced to translation keys, so you can adjust the text to have it read whatever you'd like.

noobanidus avatar Feb 11 '24 04:02 noobanidus

I forgot you could use formatting codes in translation strings. It's just the color that I would like migrated then, it would be great if that could be moved to the translation string instead of hardcoded so that it can be changed.

ChloeDawn avatar Feb 11 '24 17:02 ChloeDawn

I'm not too keen on including colour or formatting codes directly in the translation strings as it may cause confusion when translating, especially since we've moved to the automated CrowdIn system.

That said, I'm happy to include a configuration option that disables all formatting and thus allows you to create a resource pack that adds the formatting yourself.

noobanidus avatar Feb 12 '24 05:02 noobanidus

This is implemented in 1.20.0/1.20.1 for Minecraft Forge. I'm in the process of back-porting to 1.19 and I'll update. I'll go as far back as 1.18.2 for Forge. For Fabric, I will most likely only do 1.19, 1.20 and 1.20.4.

noobanidus avatar Mar 22 '24 04:03 noobanidus

Now available for Forge for 1.18.2.

noobanidus avatar Mar 30 '24 05:03 noobanidus

This is done for Fabric, although I haven't forward-ported for NeoForge yet.

noobanidus avatar Apr 15 '24 04:04 noobanidus