While Text Tunnels automatically sets up default channels for popular servers, smaller community servers or custom game modes may use unique message formats. You can set up your own custom channels using regex filters to catch and sort these messages.
Setting Up a Custom Filter
1. Open a message on the server and take note of the exact text pattern or prefix the server uses (for example, how a trade channel or staff broadcast is formatted).
2. Open the Text Tunnels in-game settings screen, which is powered by YetAnotherConfigLib.
3. Navigate to the custom channels and regex filter settings.
4. Create or select a tunnel tab where you want these specific messages to go.
5. Enter a custom regular expression (regex) filter that matches the server's message format.
6. Save your settings and return to the game.
Testing Your Channel
Once your filter is saved, any incoming server message that matches your custom regex pattern is automatically routed into its assigned tab. If you also want to talk directly in that custom channel, make sure your tunnel settings are configured to adjust outgoing messages when you have that tab selected.
