Skip to content

DiscordLink 4.0.0

Latest

Choose a tag to compare

@MonzUn MonzUn released this 14 Feb 19:59
· 4 commits to develop since this release
c687e0d

--- 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.