Repository navigation
v1.0.0-beta
Pre-release
Pre-release
What's new
Note
If a changes is marked with [⚠] it means it will break the code if left untouched
General changes
- [⚠]
CreateMatchAsyncwill no longer automatically add the created server to the queue - The server returned by
CreateMatchAsyncandReadAsyncnow uses a new server managment API (see new features) - [⚠]
AddAsyncwill no longer create a new server if theserverargument is empty GetRangeAsyncwill now ignore empty servers- The utility functions (in the
Utilmodule)CompileDefaultServer,AddPlayersToMatchandIsPlayerInMatchare now deprecated and should be replaced by the new API (they can still be used) (NOTE: these functions are not usable by default unless theUtilmodule is required)
Bug fixes
- Fixed
GetRangeAsyncerroring and not working when using theplayersargument
New Features
- Created a new API to better manage and edit servers (
ServerUtilmodule) CheckPlayerTeamfunction now accepts a callback function as an optional argument (not passing a callback function will make the function work the same as before)UpdateAsyncplayerparameter has been replaced by the following parameters:playersToAddandplayersToRemove(both parameters are optional and leaving both arguments empty will cause the function to not run)- [⚠]
AddAsyncwill now accept a server as a parameter instead of match credentials