Skip to content

v1.0.0-beta

Pre-release
Pre-release

Choose a tag to compare

@EkoDy EkoDy released this 01 May 15:08

What's new

Note

If a changes is marked with [⚠] it means it will break the code if left untouched

General changes

  • [⚠] CreateMatchAsync will no longer automatically add the created server to the queue
  • The server returned by CreateMatchAsync and ReadAsync now uses a new server managment API (see new features)
  • [⚠] AddAsync will no longer create a new server if the server argument is empty
  • GetRangeAsync will now ignore empty servers
  • The utility functions (in the Util module) CompileDefaultServer, AddPlayersToMatch and IsPlayerInMatch are now deprecated and should be replaced by the new API (they can still be used) (NOTE: these functions are not usable by default unless the Util module is required)

Bug fixes

  • Fixed GetRangeAsync erroring and not working when using the players argument

New Features

  • Created a new API to better manage and edit servers (ServerUtil module)
  • CheckPlayerTeam function now accepts a callback function as an optional argument (not passing a callback function will make the function work the same as before)
  • UpdateAsync player parameter has been replaced by the following parameters: playersToAdd and playersToRemove (both parameters are optional and leaving both arguments empty will cause the function to not run)
  • [⚠] AddAsync will now accept a server as a parameter instead of match credentials