Giter VIP home page Giter VIP logo

Comments (4)

BlayTheNinth avatar BlayTheNinth commented on July 19, 2024

I think currently it is possible and should just work as normal (see https://minecraft.gamepedia.com/Formatting_codes) - however, formatting codes being present in filter checks is actually a bug that is going to be fixed in the Minecraft 1.13/1.14 port (see #47).

Starting then, the only way to detect those kind of messages would be by defining them in the filter one-by-one, or through a separate addon that bundles those kind of messages to a specific channel (kinda like the system/action messages channels provided by Chat Tweaks right now).

from chattweaks.

rayblon avatar rayblon commented on July 19, 2024

I see. Would it be easy to implement a toggle that lets you detect formatting codes? I'm asking because I'm working with a server to tailor a bunch of system messages to be easily sorted with this mod, and we wanted to use strings of formatting codes as invisible sorting tags.

from chattweaks.

BlayTheNinth avatar BlayTheNinth commented on July 19, 2024

I think what I will do is to keep the formatting codes in as long as the formatting code character ("ยง") appears in the filter.

Which reminds me, I'm not sure if you can type the character in the GUI, since Minecraft is really weird about it. You may have to manually edit the views.json file to add it to the filter.

from chattweaks.

rayblon avatar rayblon commented on July 19, 2024

Yeah, though adding it to the JSON directly causes a crash, and the escape code \u00A7 added to the config doesn't seem to translate into the character, from what I've seen

from chattweaks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.