/trust/CIRCLE_NAME/karma/PLAYER_LOGIN/ : Get how many times a player has been blacklisted and whitelisted within a circle
/trust/%s/black/ OR /trust/black/ : Get your own blacklist or a shared one
/trust/%s/white/ OR /trust/white/ : Get your own whitelist or a shared one
POST /trust/black/ : Blacklist a player
POST /trust/unblack/ : Unblacklist a player
POST /trust/white/ : Whitelist a player
POST /trust/unwhite/ : Unwhitelist a player
NEW GET /report-abuse/list/:login/ get report abuses on this server login
Maniaconnect new routes:
NEW: /player/teams/
NEW: /player/titles/owned/
NEW: /player/titles/installed/
NEW: /player/dedicated/:serverLogin/reportAbuse/
ID_STRING of current titles are :
SMStorm
TMCanyon
SMStormJoust@nadeolabs
SMStormElite@nadeolabs
SDK Changes
Main changes are :
Maniaplanet\WebServices\Dedicated.php is moved to Maniaplanet\WebServices\Servers.php
NEW getReportAbuses($login): return the list of report abuse created on the given login
NEW getFilteredList($filters): return the list of server filtered by the associative array $filters
NEW: getFavoritedCount($login) return the number of people who has this server in favorites
Maniaplanet\WebServices\Zones.php
NEW : getPopulation($id) return the population (in number of players) of a zone
NEW: Maniaplanet\WebServices\Teams.php
get($id): return infos about the team (name, description)
getContracts($id): list of players of the team
getAdmins($id): list of admins of the team
Maniaplanet\WebServices\Players.php
NEW: getContracts($login): return the teams’s contract
Maniaplanet\WebServices\Trust.php
getKarma($circle, $player) : Get how many times a player has been blacklisted and whitelisted within a circle
getBlackList($circle = null) : Get your own blacklist or a shared one
getWhiteList($circle = null) : Get your own whitelist or a shared one
blackList($player) : Blacklist a player
whiteList($player) : WhiteList a player
unBlackList($player) : unBlacklist a player
unWhiteList($player) : unWhiteList a player
Rankings has completely changed. Each environment are in separated files, and an additional file is available for titles. Moreover, multiplayer and solo rankings are now in the same files.
The function are the same as in previous version.
Maniaplanet\WebServices\Rankings\Canyon.php
getMultiplayerPlayer($login)
getMultiplayerWorld($offset, $length)
getSoloWorld($login)
…
Maniaplanet\WebServices\Rankings\Storm.php
Only multiplayer function are available
In ManiaConnect :
NEW: getTeams() return the player’s list of team’s contract (scope teams)
NEW: getOwnedTitles() return the titles owned by the player (scope titles)
NEW: getInstalledTitles() return the titles installed by the player (scope titles)
NEW: getReportAbuses($serverLogin) return the list of report abuses created on the server
3.3 has been pushed
New path added to ManiaConnect to get report abuse of a server owned by the authenticated player
New path added to servers to get the server list. To filter this list you have to provide an associative array to the method Maniaplanet\WebServices\Servers::getFilteredList($array)
Here is the key, type and description of the value you can provide. To filter the list use any of these keys.
titleint The environment name, at the moment only Storm or Canyon
titlestring The Title idString for example SMStormElite@nadeolabs
playersMinint Minimum number of player connected on the server
playersMaxint Maximum number of player connected on the server
hideFullbool If true, full servers will not be displayed
visibilitystring It can take one of those 3 values: all, public or private
zonestring The path to a zone, for example: World|France. It will display every server in France subzones
modemixed It can be one of class constant, or directly the game mode name itself (TimeAttack, Melee, ...)
offsetint The offset in the list where the results will start