Skip to content

Releases: Eco-DiscordLink/EcoDiscordPlugin

DiscordLink 4.0.0

14 Feb 19:59
c687e0d

Choose a tag to compare

--- User Actions ---

  • Delete the old install of DiscordLink - Some dependencies are no longer relevant and should be cleaned up.
  • Old display messages will need to be removed manually - The way DiscordLink tracks Display messages has changed and it can no longer find the old messages.
  • If the new commands are not installed for your Discord server or the old commands are not uninstalled, you can either run the /ReinstallCommands command, invoke the same functionality via the dropdown in the server GUI or restart the Eco server.

--- Notes ---

  • Version 4.0 is mostly comprised of some much needed refactoring of core systems, such as display message tracking, message splitting, command registration and invocation, and logging for Discord communication. As such, this is a rather large update, even if it may not look like it.
  • Removed MinEmbedSizeForFooter configuration as it was mostly unused and a source of complexity.
  • All Discord command names have been changed to use lower_snake_case - This is a result of updating to DSharp 5.
  • All "Report" style commands have been renamed to no longer use a "Report" postfix.

--- Additions ---

  • Added config parameter DiscordServerOwnerIsAdmin for allowing the server owner to be considered a DiscordLink admin regardless of role assignment. Defaults to false.
  • Added skill display module.
  • Added repair bounty display module.
  • Added /SkillReport command which provides a summary of skill distribution for a settlement or globally.
  • Added BountiesReport command which provides a summary of available repair bounties.
  • Added /ReinstallCommands command which forces DiscordLink to attempt to reinstall its commands to the Discord server.
  • Added GUI option for reinstalling discord commands.

--- Improvements ---

  • Updated to DSharp 5 - Sorta kinda... The latest version of DSharp 5 requires a .Net version that Eco hasn't yet updated to, so it's an older version of DSharp 5.
  • Updated the Discord command handler.
  • Added custom autocomplete functionality to all command parameters.
  • Added "Active circulation" field to currency reports.

--- Bugfixes ---

  • Prevented non-admins from executing commands before the plugin status is fully ready.
  • Blocked plugin restarts until DiscordLink has properly connected to Discord.
  • Fixed /Echo command not always responding.
  • Fixed non-timer based display modules not updating right after they are first enabled.
  • Many minor fixes to display modules.
  • Fixed bot users being considered in cases where all users on a server need to be checked/acted on.

DiscordLink 3.6.0

12 Oct 17:31
8bdc0f4

Choose a tag to compare

--- Improvements ---

  • Compatibility for Eco 0.12.0.0.
  • Added a hold response while waiting for an eco command to respond.
  • Added config parameter DiscordServerOwnerIsAdmin for allowing the server owner to be considered a DiscordLink admin regardless of role assignment.
  • Added tag stripping to the "AddTradeWatcher" command.

--- Bugfixes ---

  • Fixed trade watcher command names not being the same in Discord as in Eco.
  • Fixed 404 errors on startup triggered by linked users leaving the Discord server.

DiscordLink 3.5.3

04 Dec 22:48
9a858b4

Choose a tag to compare

--- Improvements ---

  • Compatibility for Eco 0.11.1.3.
  • Added support for code block formatting and applied it to the Connection Info field of the server status message.
  • Added config value for customizing the color of embed outlines

--- Bugfixes ---

  • Fixed several issues related to linked users not being updated in DiscordLink when they changed in Discord.
  • Fixed several issues related to comparisons between linked users.
  • Fixed roles being added and removed over and over.
  • Fixed roles not being updated correctly unless they were already assigned when the server started.
  • Fixed an exception that could occur when revoking roles.
  • Fixed modded currencies without backing items breaking currency descriptions.

DiscordLink 3.5.2

27 Oct 15:12
5f44d51

Choose a tag to compare

--- Improvements ---

  • New chat channel links will now default to the #general channel in Eco.
  • Added RCON command support.
  • Added multiple parameters to CurrencyReport command.
  • Added WebServerURL to config verification.

--- Bugfixes ---

  • Fixed version checking not working.
  • Fixed Trades command not finding stores belonging to demographics or titles containing searched user.
  • Fixed a case where invalid layer links could be processed by the layer display module.

DiscordLink 3.5.1

27 Oct 15:11
37e6d25

Choose a tag to compare

--- Important Notes ---

  • Removed DL prefix from config file names.
  • Go to "Storage/Mods/DiscordLink" and rename the files to "PersistentData.json" and "WorldData.json".
  • Updated Discord interface library DSharpPlus to version 4.5.

--- Improvements ---

  • Added Map Display module - Keeps an updated preview link to the map image.
  • Added Layer Display module - Keeps an updated preview link to the requested layer image.
  • Added support for reference messages in the Discord chat feed module.
  • Added ShowMap Command - Posts a link to the map preview image.
  • Added ShowWorldHistory Command - Posts a link to the map history gif.
  • Added ShowLayer Command - Posts a link to the requested layer image.
  • Added ReloadConfig command - Reloads the plugin config.
  • Added mod registration.
  • Added deferred handling of commands that may take more than 3 seconds to complete.
  • Added exception printouts when a command triggers an exception.
  • Added support for a command output to be split into multiple messages if it is too long.
  • Added support for UnlinkAccount command to Discord.
  • Improved embed formatting when a field is split because it is too long.
  • Improved Webpage Address field in server status Module messages with a fallback to IP & port.
  • Removed CommandChannel functionality since Discord now supports this natively.

--- Bugfixes ---

  • Fixed embeds failing to send because of miscalculations of the total character length.
  • Fixed tags being included in /Trades output.
  • Fixed outdated references to /DL-TradeWatchers command.
  • Fixed Discord chat feed module using the wrong color for Discord names.
  • Fixed display modules attempting to update deleted messages.
  • Fixed PlayerReport command parameter dropdown not showing Experience as an option and having Reputation duplicated.
  • Fixed nullref when posting embeds without footers.

DiscordLink 3.5.0

31 Aug 18:43
ec3a681

Choose a tag to compare

--- Important Notes ---

  • DiscordLink has been folded into the MightyMoose mod group as it depends on MooseCore and is developed by the staff of the MightyMoose server.
  • Install location moved to Mods/MightyMoose/DiscordLink.
  • Some dependencies moved to Mods/MightyMoose/Dependencies.
  • Account links using only SLGID will no longer be valid as they have been deprecated by Eco.

--- Improvements ---

  • Added compatibility for Eco 0.11.0.0.
  • Added role synchronization for elected titles.
  • Added "PersistentStorageData" and "WorldStorageData" commands for inspecting storage data.
  • Added pruning of linked users that have left the Discord server.
  • Added ingame feedback when verifying account link.
  • Merged all announcement commands into a single parameterized "/announce" command.
  • Improved /LinkInformation command output to be more clear.
  • Improved formatting of ingame output for commands shared between Eco and Discord.

--- Bugfixes ---

  • Fixed it being possible to vote in elections while not being eligable for that election.
  • Fixed exhaustion reset time not being correct if the new consistent time setting in the Eco server was set.
  • Fixed demographic roles being added for demographics from non-founded settlements.
  • Fixed role references being kept for roles that have been removed from outside of DiscordLink and causing error logs.
  • Fixed roles for demographics and specialities being applied on account linking even if the feature was off
  • Fixed NullReferenceException when adding special demographic roles (Everyone, admin, abandoned etc).
  • Fixed formatting issues in embeds by removing ServerLogo functionality and config parameter.

DiscordLink 3.4.2

08 Apr 19:18

Choose a tag to compare

  • Compatibility for Eco 0.10.2.0.
  • Fixed a potential permissions exploit when combined with EM.Framework.

DiscordLink 3.4.1

08 Apr 19:18

Choose a tag to compare

  • Compatibility for Eco 0.10.1.4.

DiscordLink 3.4.0

20 Jan 20:46

Choose a tag to compare

--- Important Notes ---

  • The dependency EcoWorldCore.dll has been renamed MightyMooseCore.dll. Make sure to delete EcoWorldCore.dll.
  • The "DebugVerbose" log level has been renamed to "Trace".

--- Improvements ---

  • Added a Settlement list component to the Server Info display.
  • Added Settlement information to election embeds.
  • Added Settlement information to Law and Election lists.
  • Added sorting based on settlement influence to Law and Election lists.
  • Added EcoSnippet command to Discord for sending a snippet to Eco.
  • Added Version command for checking the installed and latest mod version available.
  • Added documentation command.
  • Changed channel dropdown sorting to use the same ordering as in Discord rather than sorting by name.
  • Improved log feedback when the bot lacks permission to manipulate roles.
  • Improved debug logging.

--- Bugfixes ---

  • Fixed an issue that could cause a server crash in when creating Eco chat channels if there were corrupted users on the server.
  • Fixed commands sending various types of message boxes to users, returning false if successful and vice versa.
  • Fixed Snippet command not behaving as documented in the Discord command description.
  • Fixed a nullreferenceexception when changing the config while disconnected from Discord.
  • Fixed version printouts using 4 version components rather than 3.
  • Fixed Discord discriminators still being used in some cases despite being obsoleted by Discord.
  • Fixed descriptions for linking and unlinking account using an outdated command name.

DiscordLink 3.3.2

21 Dec 10:35

Choose a tag to compare

  • Fixed the asset bundle conflicting with other mods.