Skip to content

v2.0.1

Latest
Compare
Choose a tag to compare
@valzargaming valzargaming released this 21 Apr 21:41
· 473 commits to main since this release

BC:

  • Moved functions relating to Byond's API to a dedicated class for easier abstraction.

New features:

  • The main Civ13 class now has onFulfilledDefault and onRejectedDefault closures for use with handling promises. These are passed by default with the new built-in function then which takes a promise and two callbacks. This function should be used with any promise that does not have additional logic to be performed afterwards, and the default closures can be used where no other method would be suitable for handling one of the two output conditions.
  • Added new /assign_faction role which takes both a Byond ckey (or Discord ID) and a team to automate assigning and removal of faction-related roles, for use by faction organizers.

Updates:

  • Removed the Event Admin bitflags, updated bitflags for Admins and Moderators, and added placeholder bitflags for the Developer role.
  • Moderators can now send direct messages to players in-game from Discord.

Bug fixes:

  • Fix race condition with verification where a new member would not be available in the cache until the next timer call.
  • Restrict ban reason max string length to 150.
  • Added handling for HTTP 502 errors.
  • Fixed ranking methods using deprecated file path references.