Releases: xNarnia/TCR-TerrariaChatRelay
TCR v2.6.1 - Embed Settings! [TShock 5.2.1+][TML 2024.11.3.0]
Here is a minor release to add configurations for what YOU want to embed! Before, you could only embed or not embed player chat.
After this update, you will be able to choose what to embed in your config!
Changelog
- New EmbedSettings config options
TCR v2.6 - A Million Dreams in One [TShock 5.2.1+][TML 2024.11.3.2]
This is a huge update with a slew of features everyone has been asking for! A huge effort has been made to make server setup as simple as can be. With ModConfig tweaks, Slash Commands, and some other helpful tricks to help users find their way.
We've also managed to fit several major features in this release!!! There's too much to go into, so I'll just bullet point every change down below.
Changelog
General
- Slash Commands have been added for configuration & management of your server
- This can be enabled or disabled in your config
- Console Output can now be routed to a Discord channel
- Bot Token validator will now warn users of invalid Bot Tokens
- Added a config option for embedding Player Chat messages
- ModConfig has been fixed for channel id support
- TerrariaChatRelay will update ModConfig and JsonConfig to the latest version, based on which is newer
Devs
- New IDiscordService interface can be used to extend functionality without bloating the DiscordChatClient.cs class
- Initialization and adding to the List is still required in this file for now
- SlashCommands introduce their own auto-loader style configuration for extensible SlashCommand support
Thank you all again for using TerrariaChatRelay, and I hope you enjoy these new updates!
TCR v2.3.0.4 - Config regen, new features, stability improvements and more! [TShock 5.2.1+][TML 2024.11.3.0]
Knocking out tons of changes to help make your experience smooth as possible and deliver new features! Really happy with this one, this will cement the stability of your server by a lot!!!
Changelog
- Improved Disposing of client for retry
- No more duplicate client when reloading
- New "Hide Message With String" feature will allow you to prevent relay of specific messages! (Like announcements on a timer)
- Usage: Go to your config, add a string to the new HideMessagesWithString list, and ta-da magic!
- TerrariaChatRelay config will always regenerate to be indented and fill in missing properties
- TShock: Added a check for user's canchat permission to prevent griefing of non-registered members
- TML: Added ModConfig localizations back (woops!)
Note:
- If you experience a JSON parsing error, try deleting your config to regenerate it!
- (Don't forget to make a backup!)
TCR v2.3.0.2 - Gentle Bugfixes, Code Cleanup, Quality of Life [TShock 5.2.1+][TML 2024.11.3.0]
It's never a release without a bug or two! Moving to the PlayerChat hook introduced some issues, so I've undone that change back to ServerChat. Alongside code cleanup and quality of life changes, the game status now includes string variables!
Changelog
- Removed unnecessary usings where possible
- Now using TShock nuget package instead of lib folder references
- Add framework version to t!version command
- Game status now supports custom string variables such as playercount and maxplayers
- Json formatter now indents Json to make it easier to read
- Adjust Json help names to make file easier to read
- Tick internal version to 2.3.0.2
TCR v2.3.0.1 - Major Refactor, separation, and upgrades! [TShock 5.2.1+][TML 2024.11.3.0]
Hey! So it's been a while and I know a lot of you have been struggling with some pretty serious issues around griefing, stability, and mod/plugin compatibility. I've also heard your pains around building the solution (frankly, I'm tired of it too. It SUCKS.) and have helped on that department too.
I hope these changes make managing your server and bonding with your community a much easier, stress-free, fun experience!
The following abbreviations are as follows:
- TShock = TS
- TModLoader = TML
Changelog
- TS and TML are now separated into their own solutions
- TS and TML's separate solutions have been squashed from 4 to 1
- Removed tModLoader and TML TS prefixes as they're separated now
- Discord client now uses Discord.Net instead of crappy custom Api
- New config option to customize the bot's playing status
- New config option to edit the channel description with live updates on player count & world name
- Chat messages are now in embeds
TModLoader
- New moderation commands
- SubworldLibrary support
- New command: t!restart - Restarts the bot for quick reloading of everything
- ModConfig will no longer overwrite the other config. The newest config between the two will be prioritized
- Updated to support TML 2024.11.3.0+
TShock
- Changed player chat to hook on PlayerChat instead of ServerChat
- Commands will no longer relay commands and their args (sensitive info is safe now)
TCR v2.0.0 - The BIGGEST TCR Update EVER MADE! NOW WITH v2.0.0.0! [TShock 5.1.3+][TML 1.4]
I CAN'T STRESS HOW BIG THIS UPDATE IS!
New features galore, loads of refactoring, lots of bugfixes, shiny new documentation, .NET 6 SUPPORT, the updates are ENDLESS!
The Discord engine has been rewritten using the polished, years of work, Discord.NET!
TML and TShock used to use Mono heavily limiting the use of libraries. Now, we can use everything!
Programmers
TShock and TModLoader have had their projects separated into separate solutions. (This should makes things easier)
TModLoader currently BREAKS TerrariaChatRelay only on Linux!
This is not an issue on Windows. A REALLY difficult workaround is provided in the downloads below.
If you need TCR today, you can use that workaround. Otherwise, you will need to wait for an official TML update.
What a journey. I hope all of this makes a huge impact for you, and good luck with your server hosting!
(Reload should work now btw)
Changelog
Server Owners
- Reload functionality no longer duplicates chat
- Command service is upgraded with aliasing
- Game status can now be assigned
- Improved help command to output based on permission
- Channels can now toggle chat to and from the game with exclusions (new commands added!)
- Spam pings are automatically removed
Programmers
- Refactored all solutions to use dot notation instead of dashes
- Upgraded all solutions to .NET6
- TML build.txt has been updated to reflect the new DLL names
- Split TML and TShock into their own solutions
- Removed proprietary Discord library files and code in exchange for Discord.NET
- Discord WebSocket client now exclusively uses Discord.NET for all data transmission
- Command service now passes the sender when executing a command
- Cleaned up help command code to be much more readable
- Discord ChatClient now initiates with an Endpoint instead of just the Channel ID's and BOT_TOKEN
- Major refactoring for clarity
- Updated author to Narnia
New Documentation
TCR v1.4.2.1 - Post-post-apocalyptic TCR Survival [TShock 4.5.17+][TML 1.4]
So Discord has disabled all old forms of TLS! This is a really good change, except there was no warning.so everything broke. This update fixes it!
Version 1.4.2.1 is the de-facto standard version going forward.
If you want to continue receiving wonder spam from your loving community into your Discord server, you must upgrade to this version.
Changelog
- Configured WebSocketSharp's new endpoint for connection failures
- Configured TLS 1.2 support to adjust for Discord's secret new forced policy of TLS 1.2 only
- Added new configuration parameters for retrying in TerrariaChatRelay-Discord.json
- Reload command now works like a charm
- Found logging blindspots and added console outputs where appropriate
TCR v1.0.3.5 - Update Powered By TerrariaChatRelay! [TShock 4.5.5+][TML 1.3]
This chat is powered by TerrariaChatRelay!
This chat is powered by TerrariaChatRelay!
This chat is powered by TerrariaChatRelay!
You must all really be tired of seeing that message on the tModLoader side.
This is an update to fix that issue, and provide stronger disconnection checking for both TShock & TModLoader!
What's New
- Client will no longer auto-restart when non-critical errors occur
- Client now restarts silently when a disconnection happens
TCR v1.0.3.4 - Baby bugfixes [TShock 4.5.5+][TML 1.3]
This week's release is a tiny update, filled with some nifty little bugfixes provided by @gnnoh!
Please make sure to thank them for this release 😊 As always... enjoy!
What's New?
- Short input no longer breaks command service
- Fixed a typo in the world command
- Added mod software type to version command
New Contributors
- @gnnoh made their first contribution in #26
TCR v1.0.3.3 - Better logging & version check fix [TShock 4.5.5+][TML 1.3]
Setting up the bot has always been a little finicky. "You're unauthorized!" "You're forbidden!" Okay.... What does that mean?
This version aims to help improve that experience by describing what those errors mean and what could potentially be the problem. Yay!
There is also a noted incompatibility for TML with the NoMoreTombs mod. A message now appears in the window to signify this. Woohoo! 🎉
- User-friendly errors
- Logging specifies source more accurately
- Version checker now points to updated version files
- Added a NoMoreTombs incompatibility message for tModLoader TCR