Skip to content

Releases: xNarnia/TCR-TerrariaChatRelay

TCR v2.0.0 - The BIGGEST TCR Update EVER MADE! NOW WITH v2.0.0.0! [TShock 5.1.3+][TML 1.4]

09 Dec 23:35
Compare
Choose a tag to compare

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 Linux users! ⚠️
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]

01 Aug 14:52
Compare
Choose a tag to compare

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.

⚠️ TModLoader Users! The Mod Workshop has a bug that makes your TCR run on both clients and your server. If you want it to only run on your server (without having to worry about constantly disabling it on your end), then download directly from this release!

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]

09 Dec 17:41
0d9edae
Compare
Choose a tag to compare

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]

06 Dec 16:06
Compare
Choose a tag to compare

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]

30 Nov 18:09
7d29606
Compare
Choose a tag to compare

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

TCR v1.0.3.2 for TML 1.3 & TShock 4.5.5+ - Minor Bugfixes

24 Nov 17:53
Compare
Choose a tag to compare

Hello everyone!

With this update brings a few minor bugfixes for TShock & TModLoader. No more pesky issues with commands for TShock, no more pesky powered by messaged for tModLoader!

Here's the good stuff

TShock

  • Fixed an issue where command prefixes greater than 1 length would break
  • When players join, they are now greeted with "This chat is powered by TerrariaChatRelay"

TModLoader

  • "This chat is powered by TerrariaChatRelay" will only appear when players join the server
  • As a result, the message will no longer appear when you die! (I bet that got old fast)

Happy spelunking!

TCR v1.0.3 for TShock 4.5.5 - The Little Big Release

09 Oct 22:06
Compare
Choose a tag to compare

We've had our big release, it's time for a little release. This update comes with a bunch of bugfixes and fixes a critical bug on Linux machines where it would even load! The XNA dependency has also been removed from TCR all together, only requiring it for the adapter (translation, good for tModLoader developers!)

New Features

  • Version command to see what version of TCR you're on
  • Changed AlwaysShowFirstTimeMessage and FirstTimeMessageShown config options to just ShowPoweredByMessageOnStartup

Bugfixes

  • Fix Add/remove Admin/manager commands to work with pings
  • Also fix add/remove commands to save to the config
  • Fixed a critical error for commands where the Command command wasn't running commands (that's a mouthful)

Dev Stuff

  • Remove XNA dependency from TCR and Discord layer
  • Added ITCRAdapter interface and updated TShock/tMod layers accordingly
  • Removed NetHelpers with removal of Xna dependency
  • Tick version to 1.0.3

TCR v1.0.2 for TShock 4.5.5 - World command and bugfixes

08 Oct 13:32
Compare
Choose a tag to compare

This is mostly a dev release with a lot of changes on the backend. That doesn't mean you don't get new features though!

New Features

  • World command with option to display seed in config
  • Unban command for easy unbanning
  • Adjust [i:xx] tags from chat to Discord
  • TModLoader releases now added alongside TShock releases!

Bugfixes

  • Fixed an issue where Empress of Light didn't use the config BossAwakened formatting
  • Fixed an issue where ban didn't ban

Big thank you to @hdseventh for adding features and bugfixes!

TCR v1.0.1 for TShock 4.5.5 - Big bugfixes

25 Sep 21:51
Compare
Choose a tag to compare

When there's a big release, there can be big bugs. Thankfully, there weren't any serious ones!
We have plenty of bugfixes in this one, as well as a small quality of life to some commands to help with readability.

Bugfixes

  • Add back in forgotten Kick command
  • Fix an issue where a command could be ran with any prefix other than the one in the config
  • Fixed PlayersOnline command to show the correct Max Players for a server
  • Fixed an issue where PlayersOnline not showing any players incorrectly showed ``````

Quality of Life

  • Added example usage to all commands in the Help comamnd
  • Cleaned up Help command a little bit to make it a little more readable
  • Added a warning to the console when the Owner ID is set to 0

Dev stuff

  • Added Usage to the ICommand interface!

TCR v1.0.0

24 Sep 12:52
Compare
Choose a tag to compare

Wow. It really has been years this library has been inching toward the big release. It's finally here!
This is a huge commit filled with massive amounts of changes. The code base almost isn't recognizable!
I hope you all enjoy this incredible release. As always, you can create issues or join the new Discord as you find bugs and keep in touch.

https://discord.gg/xAQGT4VetN

New Features

  • Completely overhauled command system with brand new commands!
  • Added the ability to put Group prefix's and suffix's into Discord using the config file. (Thanks HDSeventh!)
  • Permission system has been added to assign Managers, Admins, and specify the Owner.
    • Use !help to figure out how to assign them!

Dev stuff

  • Software layers separated-ish into their own layers (finally).
  • Software layer separation finally makes Terraria-to-Terraria much less daunting for the future.
  • Complete overhaul of command system with an easy-to-create command system for developers.
  • Events are all handled within the Core "Event Manager" instead of in random places.
  • Additional event added for when TerrariaChatRelay receives a message.

Bugfixes

  • Fixed an issue where using :'s in World broadcasts would cause messages to not send to Discord.
  • Fixed an issue where chat messages starting with a "." were being sent to Discord.
  • Fixed an issue where chat messages would appear twice when BroadcastWorldEvents was enabled.

Note: TCR has been split into 3 DLL's. Please remove the old TerraraChatRelay.dll when installing this plugin.