Skip to content

Instantly share code, notes, and snippets.

@w1lla
Created June 1, 2022 08:21
Show Gist options
  • Save w1lla/535db9be5f41b11c63eea010a203baf6 to your computer and use it in GitHub Desktop.
Save w1lla/535db9be5f41b11c63eea010a203baf6 to your computer and use it in GitHub Desktop.
XmlRpc Callbacks 2022-03-21 3.3.0
('XmlRpc.Documentation', ['{\n\t"responseid": "true"\n}', '\nXmlRpc scripted callbacks and methods\n=====================================\n\nCallbacks\n---------\n\n### XmlRpc.CallbacksList\n\n* Name: XmlRpc.CallbacksList\n* Type: CallbackArray\n* Description: A list with the names of all registered callbacks.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t{\n\t\t\t"responseid": "xyz", //< Facultative id passed by a script event \n\t\t\t"callbacks": ["Callback1", "Callback2", "Callback3", ..., "CallbackN"] //< List of callbacks names \n\t\t}\n\t]\n\t```\n\n### XmlRpc.CallbacksList_Enabled\n\n* Name: XmlRpc.CallbacksList_Enabled\n* Type: CallbackArray\n* Description: A list with the names of all enabled callbacks.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"responseid": "xyz", //< Facultative id passed by a script event\n\t\t\t"callbacks": ["Callback1", "Callback2", "Callback3", ..., "CallbackN"] //< List of callbacks names\n\t\t}"\n\t]\n\t```\n\n### XmlRpc.CallbacksList_Disabled\n\n* Name: XmlRpc.CallbacksList_Disabled\n* Type: CallbackArray\n* Description: A list with the names of all disabled callbacks.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"responseid": "xyz", //< Facultative id passed by a script event\n\t\t\t"callbacks": ["Callback1", "Callback2", "Callback3", ..., "CallbackN"] //< List of callbacks names\n\t\t}"\n\t]\n\t```\n\n### XmlRpc.CallbackHelp\n\n* Name: XmlRpc.CallbackHelp\n* Type: CallbackArray\n* Description: Description of a callback and its content. The array contains two items.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"responseid": "xyz", //< Facultative id passed by a script event\n\t\t\t"callback": "CallbackName", //< The name of the described callback\n\t\t\t"available": true, //< Is the callback available in this game mode?\n\t\t\t"disabled": false //< Is the callback blocked?\n\t\t}", \n\t\t"Description of the callback" //< The description of the callback\n\t]\n\t```\n\n### XmlRpc.MethodsList\n\n* Name: XmlRpc.MethodsList\n* Type: CallbackArray\n* Description: A list with the names of all registered methods.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"responseid": "xyz", //< Facultative id passed by a script event\n\t\t\t"methods": ["Method1", "Method2", "Method3", ..., "MethodN"] //< List of callbacks names\n\t\t}"\n\t]\n\t```\n\n### XmlRpc.MethodHelp\n\n* Name: XmlRpc.MethodHelp\n* Type: CallbackArray\n* Description: Description of a method and its parameters. The array contains two items.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"responseid": "xyz", //< Facultative id passed by a script event\n\t\t\t"method": "MethodName", //< The name of the described method\n\t\t\t"available": true //< Is the method available in this game mode?\n\t\t}", \n\t\t"Description of the method" //< The description of the method\n\t]\n\t```\n\n### XmlRpc.Documentation\n\n* Name: XmlRpc.Documentation\n* Type: CallbackArray\n* Description: Documentation about the game mode xmlrpc methods and callbacks. The array contains two items.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"responseid": "xyz" //< Facultative id passed by a script event\n\t\t}", \n\t\t"Documentation" //< The documentation\n\t]\n\t```\n\n### XmlRpc.ApiVersion\n\n* Name: XmlRpc.ApiVersion\n* Type: CallbackArray\n* Description: Give the currently selected API version.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"responseid": "xyz", //< Facultative id passed by a script event\n\t\t\t"version": "1.2.3-beta.4.5.6+build789" //< The API version in semver format\n\t\t}"\n\t]\n\t```\n\n### XmlRpc.AllApiVersions\n\n* Name: XmlRpc.AllApiVersions\n* Type: CallbackArray\n* Description: Give the latest and all available api versions.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"responseid": "xyz", //< Facultative id passed by a script event\n\t\t\t"latest": "1.2.3-beta.4.5.6+build789" //< The latest API version in semver format\n\t\t\t"versions": ["1.0.0", "1.0.1", "1.1.0", "1.2.3-beta.4.5.6+build789"] //< All available versions\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.StartServer_Start\n\n* Name: Maniaplanet.StartServer_Start\n* Type: CallbackArray\n* Description: Callback sent when the "StartServer" section start.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"restarted": false, //< true if the script was restarted\n\t\t\t"mode": {\n\t\t\t\t"updated": true, //< true if the mode was changed\n\t\t\t\t"name": "TimeAttack" //< The name of the mode\n\t\t\t},\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.StartServer_End\n\n* Name: Maniaplanet.StartServer_End\n* Type: CallbackArray\n* Description: Callback sent when the "StartServer" section end.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"restarted": false, //< true if the script was restarted\n\t\t\t"mode": {\n\t\t\t\t"updated": true, //< true if the mode was changed\n\t\t\t\t"name": "TimeAttack" //< The name of the mode\n\t\t\t},\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.StartMatch_Start\n\n* Name: Maniaplanet.StartMatch_Start\n* Type: CallbackArray\n* Description: Callback sent when the "StartMatch" section start.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"count": 123, //< Each time this section is played, this number is incremented by one\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.StartMatch_End\n\n* Name: Maniaplanet.StartMatch_End\n* Type: CallbackArray\n* Description: Callback sent when the "StartMatch" section end.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"count": 123, //< Each time this section is played, this number is incremented by one\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.StartMap_Start\n\n* Name: Maniaplanet.StartMap_Start\n* Type: CallbackArray\n* Description: Callback sent when the "StartMap" section start.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"count": 123, //< Each time this section is played, this number is incremented by one\n\t\t\t"restarted": false, //< true if the map was restarted, false otherwise\n\t\t\t"time": 123450, //< Server time when the callback was sent\n\t\t\t"map": {\n\t\t\t\t"uid": "4dNDBnxvcwDaXmQz4Qf5khJUSOd", //< Unique id of the map\n\t\t\t\t"name": "NameOfTheMap", //< Name of the map\n\t\t\t\t"filename": "Path\\\\To\\\\Map\\\\NameOfTheMap.Map.Gbx", //< Path to the file from the "Maps" folder\n\t\t\t\t"author": "AuthorLogin", //< Login of the author\n\t\t\t\t"authornickname": "AuthorNickname", //< Nickname of the author at the time the map was saved\n\t\t\t\t"environment": "Storm", //< Environment used to build the map\n\t\t\t\t"mood": "Day", //< Mood used to build the map\n\t\t\t\t"bronzetime": -1, //< Bronze medal time (valid in Trackmania only)\n\t\t\t\t"silvertime": -1, //< Silver medal time (valid in Trackmania only)\n\t\t\t\t"goldtime": -1, //< Gold medal time (valid in Trackmania only)\n\t\t\t\t"authortime": -1, //< Author medal time (valid in Trackmania only)\n\t\t\t\t"copperprice": 1008, //< Price of the map in coppers\n\t\t\t\t"laprace": false, //< Is the map a mutlilaps (valid in Trackmania only)\n\t\t\t\t"nblaps": 0, //< Number of laps if the map is a mutlilaps (valid in Trackmania only)\n\t\t\t\t"maptype": "ShootMania\\\\MapTypeArena", //< MapType used to validate the map\n\t\t\t\t"mapstyle": "StyleOfTheMap" //< Style applied to the map\n\t\t\t}\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.StartMap_End\n\n* Name: Maniaplanet.StartMap_End\n* Type: CallbackArray\n* Description: Callback sent when the "StartMap" section end.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"count": 123, //< Each time this section is played, this number is incremented by one\n\t\t\t"restarted": false, //< true if the map was restarted, false otherwise\n\t\t\t"time": 123450, //< Server time when the callback was sent\n\t\t\t"map": {\n\t\t\t\t"uid": "4dNDBnxvcwDaXmQz4Qf5khJUSOd", //< Unique id of the map\n\t\t\t\t"name": "NameOfTheMap", //< Name of the map\n\t\t\t\t"filename": "Path\\\\To\\\\Map\\\\NameOfTheMap.Map.Gbx", //< Path to the file from the "Maps" folder\n\t\t\t\t"author": "AuthorLogin", //< Login of the author\n\t\t\t\t"authornickname": "AuthorNickname", //< Nickname of the author at the time the map was saved\n\t\t\t\t"environment": "Storm", //< Environment used to build the map\n\t\t\t\t"mood": "Day", //< Mood used to build the map\n\t\t\t\t"bronzetime": -1, //< Bronze medal time (valid in Trackmania only)\n\t\t\t\t"silvertime": -1, //< Silver medal time (valid in Trackmania only)\n\t\t\t\t"goldtime": -1, //< Gold medal time (valid in Trackmania only)\n\t\t\t\t"authortime": -1, //< Author medal time (valid in Trackmania only)\n\t\t\t\t"copperprice": 1008, //< Price of the map in coppers\n\t\t\t\t"laprace": false, //< Is the map a mutlilaps (valid in Trackmania only)\n\t\t\t\t"nblaps": 0, //< Number of laps if the map is a mutlilaps (valid in Trackmania only)\n\t\t\t\t"maptype": "ShootMania\\\\MapTypeArena", //< MapType used to validate the map\n\t\t\t\t"mapstyle": "StyleOfTheMap" //< Style applied to the map\n\t\t\t}\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.StartRound_Start\n\n* Name: Maniaplanet.StartRound_Start\n* Type: CallbackArray\n* Description: Callback sent when the "StartRound" section start.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"count": 123, //< Each time this section is played, this number is incremented by one\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.StartRound_End\n\n* Name: Maniaplanet.StartRound_End\n* Type: CallbackArray\n* Description: Callback sent when the "StartRound" section end.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"count": 123, //< Each time this section is played, this number is incremented by one\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.StartTurn_Start\n\n* Name: Maniaplanet.StartTurn_Start\n* Type: CallbackArray\n* Description: Callback sent when the "StartTurn" section start.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"count": 123, //< Each time this section is played, this number is incremented by one\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.StartTurn_End\n\n* Name: Maniaplanet.StartTurn_End\n* Type: CallbackArray\n* Description: Callback sent when the "StartTurn" section end.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"count": 123, //< Each time this section is played, this number is incremented by one\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.StartPlayLoop\n\n* Name: Maniaplanet.StartPlayLoop\n* Type: CallbackArray\n* Description: Callback sent when the "PlayLoop" section start.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"count": 123, //< Each time this section is played, this number is incremented by one\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.EndPlayLoop\n\n* Name: Maniaplanet.EndPlayLoop\n* Type: CallbackArray\n* Description: Callback sent when the "PlayLoop" section end.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"count": 123, //< Each time this section is played, this number is incremented by one\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.EndTurn_Start\n\n* Name: Maniaplanet.EndTurn_Start\n* Type: CallbackArray\n* Description: Callback sent when the "EndTurn" section start.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"count": 123, //< Each time this section is played, this number is incremented by one\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.EndTurn_End\n\n* Name: Maniaplanet.EndTurn_End\n* Type: CallbackArray\n* Description: Callback sent when the "EndTurn" section end.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"count": 123, //< Each time this section is played, this number is incremented by one\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.EndRound_Start\n\n* Name: Maniaplanet.EndRound_Start\n* Type: CallbackArray\n* Description: Callback sent when the "EndRound" section start.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"count": 123, //< Each time this section is played, this number is incremented by one\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.EndRound_End\n\n* Name: Maniaplanet.EndRound_End\n* Type: CallbackArray\n* Description: Callback sent when the "EndRound" section end.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"count": 123, //< Each time this section is played, this number is incremented by one\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.EndMap_Start\n\n* Name: Maniaplanet.EndMap_Start\n* Type: CallbackArray\n* Description: Callback sent when the "EndMap" section start.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"count": 123, //< Each time this section is played, this number is incremented by one\n\t\t\t"time": 123450, //< Server time when the callback was sent\n\t\t\t"map": {\n\t\t\t\t"uid": "4dNDBnxvcwDaXmQz4Qf5khJUSOd", //< Unique id of the map\n\t\t\t\t"name": "NameOfTheMap", //< Name of the map\n\t\t\t\t"filename": "Path\\\\To\\\\Map\\\\NameOfTheMap.Map.Gbx", //< Path to the file from the "Maps" folder\n\t\t\t\t"author": "AuthorLogin", //< Login of the author\n\t\t\t\t"authornickname": "AuthorNickname", //< Nickname of the author at the time the map was saved\n\t\t\t\t"environment": "Storm", //< Environment used to build the map\n\t\t\t\t"mood": "Day", //< Mood used to build the map\n\t\t\t\t"bronzetime": -1, //< Bronze medal time (valid in Trackmania only)\n\t\t\t\t"silvertime": -1, //< Silver medal time (valid in Trackmania only)\n\t\t\t\t"goldtime": -1, //< Gold medal time (valid in Trackmania only)\n\t\t\t\t"authortime": -1, //< Author medal time (valid in Trackmania only)\n\t\t\t\t"copperprice": 1008, //< Price of the map in coppers\n\t\t\t\t"laprace": false, //< Is the map a mutlilaps (valid in Trackmania only)\n\t\t\t\t"nblaps": 0, //< Number of laps if the map is a mutlilaps (valid in Trackmania only)\n\t\t\t\t"maptype": "ShootMania\\\\MapTypeArena", //< MapType used to validate the map\n\t\t\t\t"mapstyle": "StyleOfTheMap" //< Style applied to the map\n\t\t\t}\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.EndMap_End\n\n* Name: Maniaplanet.EndMap_End\n* Type: CallbackArray\n* Description: Callback sent when the "EndMap" section end.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"count": 123, //< Each time this section is played, this number is incremented by one\n\t\t\t"time": 123450, //< Server time when the callback was sent\n\t\t\t"map": {\n\t\t\t\t"uid": "4dNDBnxvcwDaXmQz4Qf5khJUSOd", //< Unique id of the map\n\t\t\t\t"name": "NameOfTheMap", //< Name of the map\n\t\t\t\t"filename": "Path\\\\To\\\\Map\\\\NameOfTheMap.Map.Gbx", //< Path to the file from the "Maps" folder\n\t\t\t\t"author": "AuthorLogin", //< Login of the author\n\t\t\t\t"authornickname": "AuthorNickname", //< Nickname of the author at the time the map was saved\n\t\t\t\t"environment": "Storm", //< Environment used to build the map\n\t\t\t\t"mood": "Day", //< Mood used to build the map\n\t\t\t\t"bronzetime": -1, //< Bronze medal time (valid in Trackmania only)\n\t\t\t\t"silvertime": -1, //< Silver medal time (valid in Trackmania only)\n\t\t\t\t"goldtime": -1, //< Gold medal time (valid in Trackmania only)\n\t\t\t\t"authortime": -1, //< Author medal time (valid in Trackmania only)\n\t\t\t\t"copperprice": 1008, //< Price of the map in coppers\n\t\t\t\t"laprace": false, //< Is the map a mutlilaps (valid in Trackmania only)\n\t\t\t\t"nblaps": 0, //< Number of laps if the map is a mutlilaps (valid in Trackmania only)\n\t\t\t\t"maptype": "ShootMania\\\\MapTypeArena", //< MapType used to validate the map\n\t\t\t\t"mapstyle": "StyleOfTheMap" //< Style applied to the map\n\t\t\t}\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.EndMatch_Start\n\n* Name: Maniaplanet.EndMatch_Start\n* Type: CallbackArray\n* Description: Callback sent when the "EndMatch" section start.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"count": 123, //< Each time this section is played, this number is incremented by one\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.EndMatch_End\n\n* Name: Maniaplanet.EndMatch_End\n* Type: CallbackArray\n* Description: Callback sent when the "EndMatch" section end.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"count": 123, //< Each time this section is played, this number is incremented by one\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.EndServer_Start\n\n* Name: Maniaplanet.EndServer_Start\n* Type: CallbackArray\n* Description: Callback sent when the "EndServer" section start.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.EndServer_End\n\n* Name: Maniaplanet.EndServer_End\n* Type: CallbackArray\n* Description: Callback sent when the "EndServer" section end.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.LoadingMap_Start\n\n* Name: Maniaplanet.LoadingMap_Start\n* Type: CallbackArray\n* Description: Callback sent when the server starts to load a map.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"restarted": false, //< true if the map was restarted, false otherwise\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.LoadingMap_End\n\n* Name: Maniaplanet.LoadingMap_End\n* Type: CallbackArray\n* Description: Callback sent when the server finishes to load a map.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"restarted": false, //< true if the map was restarted, false otherwise\n\t\t\t"time": 123450, //< Server time when the callback was sent\n\t\t\t"map": {\n\t\t\t\t"uid": "4dNDBnxvcwDaXmQz4Qf5khJUSOd", //< Unique id of the map\n\t\t\t\t"name": "NameOfTheMap", //< Name of the map\n\t\t\t\t"filename": "Path\\\\To\\\\Map\\\\NameOfTheMap.Map.Gbx", //< Path to the file from the "Maps" folder\n\t\t\t\t"author": "AuthorLogin", //< Login of the author\n\t\t\t\t"authornickname": "AuthorNickname", //< Nickname of the author at the time the map was saved\n\t\t\t\t"environment": "Storm", //< Environment used to build the map\n\t\t\t\t"mood": "Day", //< Mood used to build the map\n\t\t\t\t"bronzetime": -1, //< Bronze medal time (valid in Trackmania only)\n\t\t\t\t"silvertime": -1, //< Silver medal time (valid in Trackmania only)\n\t\t\t\t"goldtime": -1, //< Gold medal time (valid in Trackmania only)\n\t\t\t\t"authortime": -1, //< Author medal time (valid in Trackmania only)\n\t\t\t\t"copperprice": 1008, //< Price of the map in coppers\n\t\t\t\t"laprace": false, //< Is the map a mutlilaps (valid in Trackmania only)\n\t\t\t\t"nblaps": 0, //< Number of laps if the map is a mutlilaps (valid in Trackmania only)\n\t\t\t\t"maptype": "ShootMania\\\\MapTypeArena", //< MapType used to validate the map\n\t\t\t\t"mapstyle": "StyleOfTheMap" //< Style applied to the map\n\t\t\t}\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.UnloadingMap_Start\n\n* Name: Maniaplanet.UnloadingMap_Start\n* Type: CallbackArray\n* Description: Callback sent when the server starts to unload a map.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123450, //< Server time when the callback was sent\n\t\t\t"map": {\n\t\t\t\t"uid": "4dNDBnxvcwDaXmQz4Qf5khJUSOd", //< Unique id of the map\n\t\t\t\t"name": "NameOfTheMap", //< Name of the map\n\t\t\t\t"filename": "Path\\\\To\\\\Map\\\\NameOfTheMap.Map.Gbx", //< Path to the file from the "Maps" folder\n\t\t\t\t"author": "AuthorLogin", //< Login of the author\n\t\t\t\t"authornickname": "AuthorNickname", //< Nickname of the author at the time the map was saved\n\t\t\t\t"environment": "Storm", //< Environment used to build the map\n\t\t\t\t"mood": "Day", //< Mood used to build the map\n\t\t\t\t"bronzetime": -1, //< Bronze medal time (valid in Trackmania only)\n\t\t\t\t"silvertime": -1, //< Silver medal time (valid in Trackmania only)\n\t\t\t\t"goldtime": -1, //< Gold medal time (valid in Trackmania only)\n\t\t\t\t"authortime": -1, //< Author medal time (valid in Trackmania only)\n\t\t\t\t"copperprice": 1008, //< Price of the map in coppers\n\t\t\t\t"laprace": false, //< Is the map a mutlilaps (valid in Trackmania only)\n\t\t\t\t"nblaps": 0, //< Number of laps if the map is a mutlilaps (valid in Trackmania only)\n\t\t\t\t"maptype": "ShootMania\\\\MapTypeArena", //< MapType used to validate the map\n\t\t\t\t"mapstyle": "StyleOfTheMap" //< Style applied to the map\n\t\t\t}\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.UnloadingMap_End\n\n* Name: Maniaplanet.UnloadingMap_End\n* Type: CallbackArray\n* Description: Callback sent when the server finishes to unload a map.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.Podium_Start\n\n* Name: Maniaplanet.Podium_Start\n* Type: CallbackArray\n* Description: Callback sent when the podium sequence starts.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.Podium_End\n\n* Name: Maniaplanet.Podium_End\n* Type: CallbackArray\n* Description: Callback sent when the podium sequence ends.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.ChannelProgression_Start\n\n* Name: Maniaplanet.ChannelProgression_Start\n* Type: CallbackArray\n* Description: Callback sent when the channel progression sequence starts.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.ChannelProgression_End\n\n* Name: Maniaplanet.ChannelProgression_End\n* Type: CallbackArray\n* Description: Callback sent when the channel progression sequence ends.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123450 //< Server time when the callback was sent\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.Mode.UseTeams\n\n* Name: Maniaplanet.Mode.UseTeams\n* Type: CallbackArray\n* Description: Tell if the game mode uses teams or not.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"responseid": "xyz", //< Facultative id passed by a script event\n\t\t\t"teams": true //< true if the game mode uses teams, false otherwise\n\t\t}"\n\t]\n\t```\n\n### Maniaplanet.WarmUp.Status\n\n* Name: Maniaplanet.WarmUp.Status\n* Type: CallbackArray\n* Description: The status of the warmup.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"responseid": "xyz", //< Facultative id passed by a script event\n\t\t\t"available": true, //< true if a warmup is available in the game mode, false otherwise\n\t\t\t"active": true //< true if a warmup is ongoing, false otherwise\n\t\t}"\n\t]\n\t```\n\n### UI.Event.Default\n\n* Name: UI.Event.Default\n* Type: CallbackArray\n* Description: Callback sent when the event type is not yet supported by the XmlRpc library.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured,\n\t\t\t"type": "::EType::EventType" //< The type of event\n\t\t}"\n\t]\n\t```\n\t\n### UI.Event.OnModuleCustomEvent\n\n* Name: UI.Event.OnModuleCustomEvent\n* Type: CallbackArray\n* Description: Callback sent when a module triggers a custom event.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456 //< Server time when the event occured,\n\t\t\t"login": "PlayerLogin", //< Login of the player who requested a new action\n\t\t\t"moduletype": "EModuleType::Store", //< The type of module that triggered the event\n\t\t\t"param1": "SomeParam", //< First custom param of the event\n\t\t\t"param2":["Some", "Other", "Params"] //< Second custom param of the event\n\t\t}"\n\t]\n\t```\n\t\n### UI.Event.OnModuleShowRequest\n\n* Name: UI.Event.OnModuleShowRequest\n* Type: CallbackArray\n* Description: Callback sent when a module requests to be shown.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456 //< Server time when the event occured,\n\t\t\t"login": "PlayerLogin", //< Login of the player who received the request\n\t\t\t"moduletype": "EModuleType::Store" //< The type of module that sent the request\n\t\t}"\n\t]\n\t```\n\t\n### UI.Event.OnModuleHideRequest\n\n* Name: UI.Event.OnModuleHideRequest\n* Type: CallbackArray\n* Description: Callback sent when a module requests to be hidden.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456 //< Server time when the event occured,\n\t\t\t"login": "PlayerLogin", //< Login of the player who received the request\n\t\t\t"moduletype": "EModuleType::Store" //< The type of module that sent the request\n\t\t}"\n\t]\n\t```\n\t\n### UI.Event.OnModuleStorePurchase\n\n* Name: UI.Event.OnModuleStorePurchase\n* Type: CallbackArray\n* Description: Callback sent when a player buys something in the store.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456 //< Server time when the event occured,\n\t\t\t"login": "PlayerLogin", //< Login of the player who bought something\n\t\t\t"item": "ItemName", //< The name of the item\n\t\t\t"quantity": "5" //< The amount of items bought\n\t\t}"\n\t]\n\t```\n\t\n### UI.Event.OnModuleInventoryDrop\n\n* Name: UI.Event.OnModuleInventoryDrop\n* Type: CallbackArray\n* Description: Callback sent when a player drops an item from its inventory.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456 //< Server time when the event occured,\n\t\t\t"login": "PlayerLogin", //< Login of the player who dropped the item\n\t\t\t"item": "ItemName" //< The name of the item\n\t\t}"\n\t]\n\t```\n\t\n### UI.Event.OnModuleInventoryEquip\n\n* Name: UI.Event.OnModuleInventoryEquip\n* Type: CallbackArray\n* Description: Callback sent when a player equips an item from its inventory.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456 //< Server time when the event occured,\n\t\t\t"login": "PlayerLogin", //< Login of the player who equipped the item\n\t\t\t"item": "ItemName" //< The name of the item\n\t\t}"\n\t]\n\t```\n\t\n### Maniaplanet.Pause.Status\n\n* Name: Maniaplanet.Pause.Status\n* Type: CallbackArray\n* Description: The status of the pause.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"responseid": "xyz", //< Facultative id passed by a script event\n\t\t\t"available": true, //< true if a pause is available in the game mode, false otherwise\n\t\t\t"active": true //< true if there is an ongoing pause, false otherwise\n\t\t}"\n\t]\n\t```\n\n### Common.UIModules.Properties\n\n* Name: Common.UIModules.Properties\n* Type: CallbackArray\n* Description: Properties of the UI modules loaded by the mode.\n* Data:\n\t- Version >=3.2.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"responseid": "xyz" //< Facultative id passed by a script event\n\t\t\t"uimodules": [ //< Array of UI modules loaded by the mode\n\t\t\t\t{\n\t\t\t\t\t"id": "IdOfTheModule", //< The id of the UI module\n\t\t\t\t\t"position": [10.0, 20.0], //< The position in array format. First value is the x position and the second value is the y position.\n\t\t\t\t\t"scale": 2.5,\n\t\t\t\t\t"visible": true\n\t\t\t\t}\n\t\t\t]\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.Default\n\n* Name: Trackmania.Event.Default\n* Type: CallbackArray\n* Description: Callback sent when the event type is not yet supported by the XmlRpc library.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"type": "::EType::EventType" //< The type of event\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.OnShoot\n\n* Name: Trackmania.Event.OnShoot\n* Type: CallbackArray\n* Description: Callback sent when a player shoots.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"shooter": "ShooterLogin", //< Login of the player who shot\n\t\t\t"weapon": 2 //< Id of the weapon [1-Laser, 2-Rocket, 3-Nucleus, 5-Arrow]\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.OnHit\n\n* Name: Trackmania.Event.OnHit\n* Type: CallbackArray\n* Description: Callback sent when a player is hit.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"shooter": "ShooterLogin", //< Login of the player who shot\n\t\t\t"victim": "VictimLogin", //< Login of the player who got hit\n\t\t\t"weapon": 2, //< Id of the weapon [1-Laser, 2-Rocket, 3-Nucleus, 5-Arrow]\n\t\t\t"damage": 100, //< Amount of damaged done by the hit\n\t\t\t"points": 2, //< Amount of points scored by the shooter\n\t\t\t"distance": 45.578, //< Distance between the victim and the shooter at the time of the hit\n\t\t\t"shooterposition": { "x": 19.3, "y": 9.3", "z": 59.9 }, //< Position of the shooter when their projectile hits the victim\n\t\t\t"victimposition": { "x": 87.6, "y": 10.0, "z": 84.5 } //< Position of the victim when he\'s hit by the projectile\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.OnNearMiss\n\n* Name: Trackmania.Event.OnNearMiss\n* Type: CallbackArray\n* Description: Callback sent when a player dodges a projectile.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"shooter": "ShooterLogin", //< Login of the player who shot\n\t\t\t"victim": "VictimLogin", //< Login of the player who dodged\n\t\t\t"weapon": 1, //< Id of the weapon [1-Laser, 2-Rocket, 3-Nucleus, 5-Arrow]\n\t\t\t"distance": 0.587, //< Distance of the near miss\n\t\t\t"shooterposition": { "x": 19.3, "y": 9.3", "z": 59.9 }, //< Position of the shooter when their projectile misses the victim\n\t\t\t"victimposition": { "x": 87.6, "y": 10.0, "z": 84.5 } //< Position of the victim when he dodged the projectile\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.OnArmorEmpty\n\n* Name: Trackmania.Event.OnArmorEmpty\n* Type: CallbackArray\n* Description: Callback sent when a player is eliminated.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"shooter": "ShooterLogin", //< Login of the player who eliminated the victim\n\t\t\t"victim": "VictimLogin", //< Login of the player who got eliminated\n\t\t\t"weapon": 2, //< Id of the weapon [1-Laser, 2-Rocket, 3-Nucleus, 5-Arrow]\n\t\t\t"distance": 65.948, //< Distance between the victim and the shooter at the time of the elimination\n\t\t\t"shooterposition": { "x": 19.3, "y": 9.3", "z": 59.9 }, //< Position of the shooter when the victim is eliminated\n\t\t\t"victimposition": { "x": 87.6, "y": 10.0, "z": 84.5 } //< Position of the victim when he\'s eliminated\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.OnCapture\n\n* Name: Trackmania.Event.OnCapture\n* Type: CallbackArray\n* Description: Callback sent when a landmark is captured.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"players": ["Player1", "Player2", "Player3"], //< Logins of the players who were on the landmark when it was captured\n\t\t\t"landmark": { //< Info about the captured landmark\n\t\t\t\t"tag": "LandmarkTag",\n\t\t\t\t"order": 5,\n\t\t\t\t"id": "#3",\n\t\t\t\t"position": { "x": 87.6, "y": 10.0, "z": 84.5 }\n\t\t\t}\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.OnShotDeny\n\n* Name: Trackmania.Event.OnShotDeny\n* Type: CallbackArray\n* Description: Callback sent when a player denies a projectile.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"shooter": "ShooterLogin", //< Login of the player who denied the projectile\n\t\t\t"victim": "VictimLogin", //< Login of the player who got denied\n\t\t\t"shooterweapon": 1, //< Id of the weapon [1-Laser, 2-Rocket, 3-Nucleus, 5-Arrow]\n\t\t\t"victimweapon": 2 //< Id of the weapon [1-Laser, 2-Rocket, 3-Nucleus, 5-Arrow]\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.OnFallDamage\n\n* Name: Trackmania.Event.OnFallDamage\n* Type: CallbackArray\n* Description: Callback sent when a player suffers fall damage.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"victim": "VictimLogin", //< Login of the player who fell\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.OnCommand\n\n* Name: Trackmania.Event.OnCommand\n* Type: CallbackArray\n* Description: Callback sent when a command is executed on the server.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"name": "CommandName", //< Name of the command\n\t\t\t"value": { //< The value passed by the command\n\t\t\t\t"boolean": true,\n\t\t\t\t"integer": 123,\n\t\t\t\t"real": 123.456,\n\t\t\t\t"text": "an example value"\n\t\t\t}\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.OnPlayerAdded\n\n* Name: Trackmania.Event.OnPlayerAdded\n* Type: CallbackArray\n* Description: Callback sent when a player joins the server.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"login": "PlayerLogin",\n\t\t\t"accountid": "45b9cf1e-3c97-4753-ac63-ac61b48b4bb7",\n\t\t\t"name": "Name of the player",\n\t\t\t"team": 0,\n\t\t\t"zone": "World|Europe|France|Outre-mer|Reunion",\n\t\t\t"language": "en",\n\t\t\t"ladderrank": 123456,\n\t\t\t"ladderpoints": 789.321\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.OnPlayerRemoved\n\n* Name: Trackmania.Event.OnPlayerRemoved\n* Type: CallbackArray\n* Description: Callback sent when a player leaves the server.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"login": "PlayerLogin",\n\t\t\t"accountid": "45b9cf1e-3c97-4753-ac63-ac61b48b4bb7"\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.OnPlayerRequestRespawn\n\n* Name: Trackmania.Event.OnPlayerRequestRespawn\n* Type: CallbackArray\n* Description: Callback sent when a player presses the respawn button.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"login": "PlayerLogin",\n\t\t\t"accountid": "45b9cf1e-3c97-4753-ac63-ac61b48b4bb7"\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.OnActionCustomEvent\n\n* Name: Trackmania.Event.OnActionCustomEvent\n* Type: CallbackArray\n* Description: Callback sent when an action triggers a custom event.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"shooter": "ShooterLogin", //< Login of the player who shot if any\n\t\t\t"victim": "VictimLogin", //< Login of the player who got hit if any\n\t\t\t"actionid": "NameOfTheAction", //< Id of the action that triggered the event\n\t\t\t"param1": "SomeParam", //< First custom param of the event\n\t\t\t"param2":["Some", "Other", "Params"] //< Second custom param of the event\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.OnActionEvent\n\n* Name: Trackmania.Event.OnActionEvent\n* Type: CallbackArray\n* Description: Callback sent when a player triggers an action.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"login": "PlayerLogin", //< Login of the player who triggered the action\n\t\t\t"accountid": "45b9cf1e-3c97-4753-ac63-ac61b48b4bb7",\n\t\t\t"actioninput": "" //< The input pressed to trigger the action\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.OnPlayerTouchesObject\n\n* Name: Trackmania.Event.OnPlayerTouchesObject\n* Type: CallbackArray\n* Description: Callback sent when a player touches an object.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"login": "PlayerLogin", //< Login of the player who touched the object\n\t\t\t"accountid": "45b9cf1e-3c97-4753-ac63-ac61b48b4bb7",\n\t\t\t"objectid": "#456", //< The id of the object\n\t\t\t"modelid": "#123", //< The id of the object model\n\t\t\t"modelname": "ObjectName" //< The name of the object model\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.OnPlayerTriggersSector\n\n* Name: Trackmania.Event.OnPlayerTriggersSector\n* Type: CallbackArray\n* Description: Callback sent when a player triggers a sector.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"login": "PlayerLogin", //< Login of the player who triggered the sector\n\t\t\t"accountid": "45b9cf1e-3c97-4753-ac63-ac61b48b4bb7",\n\t\t\t"sectorid": "#123" //< Id of the triggered sector\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.OnPlayerThrowsObject\n\n* Name: Trackmania.Event.OnPlayerThrowsObject\n* Type: CallbackArray\n* Description: Callback sent when a player throws an object.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"login": "PlayerLogin", //< Login of the player who threw the object\n\t\t\t"accountid": "45b9cf1e-3c97-4753-ac63-ac61b48b4bb7",\n\t\t\t"objectid": "#456", //< The id of the object\n\t\t\t"modelid": "#123", //< The id of the object model\n\t\t\t"modelname": "ObjectName" //< The name of the object model\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.OnPlayerRequestActionChange\n\n* Name: Trackmania.Event.OnPlayerRequestActionChange\n* Type: CallbackArray\n* Description: Callback sent when a player requests to use another action.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"login": "PlayerLogin", //< Login of the player who requested a new action\n\t\t\t"accountid": "45b9cf1e-3c97-4753-ac63-ac61b48b4bb7",\n\t\t\t"actionchange": 1 //< Can be -1 (request previous action) or 1 (request next action)\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.OnPlayerTriggersWaypoint\n\n* Name: Trackmania.Event.OnPlayerTriggersWaypoint\n* Type: CallbackArray\n* Description: Callback sent when a player triggers a waypoint in the map.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"login": "PlayerLogin", //< Login of the player who requested a new action\n\t\t\t"accountid": "45b9cf1e-3c97-4753-ac63-ac61b48b4bb7",\n\t\t\t"racetime": 123456, //< Total race time in milliseconds\n\t\t\t"checkpointinrace": 3, //< Number of checkpoints crossed since the beginning of the race minus one (index of the checkpoint in the curracecheckpoints array)\n\t\t\t"checkpointinlap": 0, //< Number of checkpoints crossed since the beginning of the lap minus one (index of the checkpoint in the curlapcheckpoints array)\n\t\t\t"curracecheckpoints": [1234, 5200, 7580, 9000], //< Checkpoints times since the beginning of the race. Empty by default, use the `Trackmania.Event.SetCurRaceCheckpointsMode` method to control how this array is filled.\n\t\t\t"curlapcheckpoints": [1420], //< Checkpoints time since the beginning of the lap. Empty by default, use the `Trackmania.Event.SetCurLapCheckpointsMode` method to control how this array is filled.\n\t\t\t"blockid": "#123", //< Id of the checkpoint block\n\t\t\t"speed": 456.45 //< Speed of the player in km/h\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.OnVehicleArmorEmpty\n\n* Name: Trackmania.Event.OnVehicleArmorEmpty\n* Type: CallbackArray\n* Description: Callback sent when a player requests to use another action.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"shooter": "ShooterLogin", //< Login of the player who shot\n\t\t\t"victim": "VictimLogin", //< Login of the player who got hit\n\t\t\t"weapon": 2, //< Id of the weapon [1-Laser, 2-Rocket, 3-Nucleus, 5-Arrow]\n\t\t\t"distance": 45.578, //< Distance between the victim and the shooter at the time of the hit\n\t\t\t"shooterposition": { "x": 19.3, "y": 9.3", "z": 59.9 }, //< Position of the shooter when their projectile hits the victim\n\t\t\t"victimposition": { "x": 87.6, "y": 10.0, "z": 84.5 } //< Position of the victim when he\'s hit by the projectile\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.OnVehicleCollision\n\n* Name: Trackmania.Event.OnVehicleCollision\n* Type: CallbackArray\n* Description: Callback sent when a player requests to use another action.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"shooter": "ShooterLogin", //< Login of the player who shot\n\t\t\t"victim": "VictimLogin", //< Login of the player who got hit\n\t\t\t"damage": 100, //< Amount of damaged done by the hit\n\t\t\t"shooterposition": { "x": 19.3, "y": 9.3", "z": 59.9 }, //< Position of the shooter when their projectile hits the victim\n\t\t\t"victimposition": { "x": 87.6, "y": 10.0, "z": 84.5 } //< Position of the victim when he\'s hit by the projectile\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.OnVehicleVsVehicleCollision\n\n* Name: Trackmania.Event.OnVehicleVsVehicleCollision\n* Type: CallbackArray\n* Description: Callback sent when a player requests to use another action.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"shooter": "ShooterLogin", //< Login of the player who shot\n\t\t\t"victim": "VictimLogin", //< Login of the player who got hit\n\t\t\t"damage": 100, //< Amount of damaged done by the hit\n\t\t\t"shooterposition": { "x": 19.3, "y": 9.3", "z": 59.9 }, //< Position of the shooter when their projectile hits the victim\n\t\t\t"victimposition": { "x": 87.6, "y": 10.0, "z": 84.5 } //< Position of the victim when he\'s hit by the projectile\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.StartLine\n\n* Name: Trackmania.Event.StartLine\n* Type: CallbackArray\n* Description: Callback sent when a player starts to race (at the end of the 3,2,1,GO! sequence).\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"login": "PlayerLogin",\n\t\t\t"accountid": "abcd-efgh-ijkl-mnop-qrstuvwxyz01"\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.WayPoint\n\n* Name: Trackmania.Event.WayPoint\n* Type: CallbackArray\n* Description: Callback sent when a player crosses a checkpoint.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"login": "PlayerLogin",\n\t\t\t"accountid": "45b9cf1e-3c97-4753-ac63-ac61b48b4bb7",\n\t\t\t"racetime": 123456, //< Total race time in milliseconds\n\t\t\t"laptime": 45678, //< Lap time in milliseconds\n\t\t\t"stuntsscore": 3457, //< Stunts score\n\t\t\t"checkpointinrace": 3, //< Number of checkpoints crossed since the beginning of the race minus one (index of the checkpoint in the curracecheckpoints array)\n\t\t\t"checkpointinlap": 0, //< Number of checkpoints crossed since the beginning of the lap minus one (index of the checkpoint in the curlapcheckpoints array)\n\t\t\t"isendrace": false, //< Is it the finish line checkpoint\n\t\t\t"isendlap": false, //< Is it the multilap checkpoint\n\t\t\t"curracecheckpoints": [1234, 5200, 7580, 9000], //< Checkpoints times since the beginning of the race. Empty be default, use the `Trackmania.Event.SetCurRaceCheckpointsMode` method to control how this array is filled.\n\t\t\t"curlapcheckpoints": [1420], //< Checkpoints time since the beginning of the lap. Empty by default, use the `Trackmania.Event.SetCurLapCheckpointsMode` method to control how this array is filled.\n\t\t\t"blockid": "#123", //< Id of the checkpoint block\n\t\t\t"speed": 456.45, //< Speed of the player in km/h\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.GiveUp\n\n* Name: Trackmania.Event.GiveUp\n* Type: CallbackArray\n* Description: Callback sent when a player gives up and restart from the beginning.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"login": "PlayerLogin",\n\t\t\t"accountid": "45b9cf1e-3c97-4753-ac63-ac61b48b4bb7"\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.SkipOutro\n\n* Name: Trackmania.Event.SkipOutro\n* Type: CallbackArray\n* Description: Callback sent when a player skip the outro at the end of their race.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"login": "PlayerLogin",\n\t\t\t"accountid": "45b9cf1e-3c97-4753-ac63-ac61b48b4bb7"\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.Respawn\n\n* Name: Trackmania.Event.Respawn\n* Type: CallbackArray\n* Description: Callback sent when a player respawns at the previous checkpoint.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"login": "PlayerLogin",\n\t\t\t"accountid": "45b9cf1e-3c97-4753-ac63-ac61b48b4bb7",\n\t\t\t"nbrespawns": 5, //< Number of respawns since the beginning of the race\n\t\t\t"racetime": 123456, //< Total race time in milliseconds\n\t\t\t"laptime": 45678, //< Lap time in milliseconds\n\t\t\t"stuntsscore": 3457, //< Stunts score\n\t\t\t"checkpointinrace": 13, //< Number of checkpoints crossed since the beginning of the race minus one\n\t\t\t"checkpointinlap": 4, //< Number of checkpoints crossed since the beginning of the lap minus one\n\t\t\t"speed": 456.45 //< Speed of the player in km/h\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.Eliminated\n\n* Name: Trackmania.Event.Eliminated\n* Type: CallbackArray\n* Description: Callback sent when a player is eliminated by an obstacle.\n* Data:\n\t- Version >=3.7.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"time": 123456, //< Server time when the event occured\n\t\t\t"login": "PlayerLogin",\n\t\t\t"accountid": "45b9cf1e-3c97-4753-ac63-ac61b48b4bb7",\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Scores\n\n* Name: Trackmania.Scores\n* Type: CallbackArray\n* Description: Teams and players scores.\n* Data:\n\t- Version >=2.0.0: \n\t```\n\t[\n\t\t"{\n\t\t\t"responseid": "xyz", //< Facultative id passed by a script event\n\t\t\t"section": "EndRound", //< Current progress of the match. Can be "" | "EndRound" | "EndMap" | "EndMatch"\n\t\t\t"useteams": true, //< The game mode use teams or not\n\t\t\t"winnerteam": 1, //< The team who won the match, can be -1 (no winner), 0 or 1\n\t\t\t"winnerplayer": "PlayerLogin1", //< Login of the player who won the match\n\t\t\t"teams": [ //< Scores of the teams\n\t\t\t\t{\n\t\t\t\t\t"id": 0,\n\t\t\t\t\t"name": "blue",\n\t\t\t\t\t"roundpoints": 498, \n\t\t\t\t\t"mappoints": 46,\n\t\t\t\t\t"matchpoints": 9,\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t"id": 1,\n\t\t\t\t\t"name": "red",\n\t\t\t\t\t"roundpoints": 365,\n\t\t\t\t\t"mappoints": 45,\n\t\t\t\t\t"matchpoints": 2,\n\t\t\t\t}\n\t\t\t],\n\t\t\t"players": [ //< Scores of the players\n\t\t\t\t{\n\t\t\t\t\t"login": "PlayerLogin1",\n\t\t\t\t\t"accountid": "45b9cf1e-3c97-4753-ac63-ac61b48b4bb7",\n\t\t\t\t\t"name": "Player#1",\n\t\t\t\t\t"rank": 1, //< Rank of the player in the match. This rank is the one used internally by the game mode. It can have an unexpected value sometimes. If you need to create a ranking based on a specific criterion, you should do it on your side and not rely on this value.\n\t\t\t\t\t"roundpoints": 456,\n\t\t\t\t\t"mappoints": 345,\n\t\t\t\t\t"matchpoints": 64,\n\t\t\t\t\t"bestracetime": 456789, //< Best race time in milliseconds\n\t\t\t\t\t"bestracecheckpoints": [1230, 7546, 19045, 456789], //< Checkpoints times during best race\n\t\t\t\t\t"bestlaptime": 9874, //< Best lap time in milliseconds\n\t\t\t\t\t"bestlapcheckpoints": [2458, 9874], //< Checkpoints times during best lap\n\t\t\t\t\t"prevracetime": 534824, //< Previous race time in milliseconds\n\t\t\t\t\t"prevracecheckpoints": [3250, 56845, 98745, 534824] //< Checkpoints times during the previous race\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t"login": "PlayerLogin2",\n\t\t\t\t\t"accountid": "6dde0f3e-ed3f-4216-97b0-ffed70601679",\n\t\t\t\t\t"name": "Player#2",\n\t\t\t\t\t"rank": 2,\n\t\t\t\t\t"roundpoints": 234,\n\t\t\t\t\t"mappoints": 123,\n\t\t\t\t\t"matchpoints": 32,\n\t\t\t\t\t"bestracetime": 49854, //< Best race time in milliseconds\n\t\t\t\t\t"bestracecheckpoints": [3215, 94562, 26845, 49854], //< Checkpoints times during best race\n\t\t\t\t\t"bestlaptime": 15624, //< Best lap time in milliseconds\n\t\t\t\t\t"bestlapcheckpoints": [4582, 15624], //< Checkpoints times during best lap\n\t\t\t\t\t"prevracetime": 75642, //< Previous race time in milliseconds\n\t\t\t\t\t"prevracecheckpoints": [9845, 32658, 52489, 75642] //< Checkpoints times during the previous race\n\t\t\t\t}\n\t\t\t]\n\t\t}"\n\t]\n\t```\n\t- Version >=2.1.1: \n\tThe section parameter can take one new value: "PreEndRound".\n\t```\n\t[\n\t\t"{\n\t\t\t...\n\t\t\t"section": "EndRound", //< Current progress of the match. Can be "" | "PreEndRound" | "EndRound" | "EndMap" | "EndMatch"\n\t\t\t...\n\t\t}"\n\t]\n\t```\n\t- Version >=3.3.0: \n\tThe player has a new parameter `team`.\n\t```\n\t[\n\t\t"{\n\t\t\t...\n\t\t\t"players": [ //< Scores of the players\n\t\t\t\t{\n\t\t\t\t\t"login": "PlayerLogin1",\n\t\t\t\t\t"accountid": "45b9cf1e-3c97-4753-ac63-ac61b48b4bb7",\n\t\t\t\t\t"name": "Player#1",\n\t\t\t\t\t"team": 0, //< -1 when not in team based mode, 0 or more when teams are enabled\n\t\t\t\t\t...\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t"login": "PlayerLogin2",\n\t\t\t\t\t"accountid": "6dde0f3e-ed3f-4216-97b0-ffed70601679",\n\t\t\t\t\t"name": "Player#2",\n\t\t\t\t\t"team": 1, //< -1 when not in team based mode, 0 or more when teams are enabled\n\t\t\t\t\t...\n\t\t\t\t}\n\t\t\t]\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.MatchBestPlayer\n\n* Name: Trackmania.MatchBestPlayer\n* Type: CallbackArray\n* Description: Callback sent at the end of the match with the accountid of the best player of the match\n* Data:\n\t- Version >=3.4.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"login": "PlayerLogin", //< login of the best player\n\t\t\t"accountid": "45b9cf1e-3c97-4753-ac63-ac61b48b4bb7" //< account id of the best player\n\t\t}"\n\t]\n\t```\n\n### Trackmania.WarmUp.Start\n\n* Name: Trackmania.WarmUp.Start\n* Type: CallbackArray\n* Description: Callback sent when the warm up sequence start.\n* Data:\n\t- Version >=2.5.0:\n\t```\n\t[\n\t\t"{}"\n\t]\n\t```\n\t\n### Trackmania.WarmUp.StartRound\n\n* Name: Trackmania.WarmUp.StartRound\n* Type: CallbackArray\n* Description: Callback sent when a warm up round start.\n* Data:\n\t- Version >=2.5.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"current": 2,\t//< The number of the current round\n\t\t\t"total": 3 //< The total number of warm up rounds\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.WarmUp.EndRound\n\n* Name: Trackmania.WarmUp.EndRound\n* Type: CallbackArray\n* Description: Callback sent when a warm up round end.\n* Data:\n\t- Version >=2.5.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"current": 2,\t//< The number of the current round\n\t\t\t"total": 3 //< The total number of warm up rounds\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.WarmUp.End\n\n* Name: Trackmania.WarmUp.End\n* Type: CallbackArray\n* Description: Callback sent when the warm up sequence end.\n* Data:\n\t- Version >=2.5.0:\n\t```\n\t[\n\t\t"{}"\n\t]\n\t```\n\t\n### Trackmania.WarmUp.Status\n\n* Name: Trackmania.WarmUp.Status\n* Type: CallbackArray\n* Description: The status of Trackmania\'s the warmup.\n* Data:\n\t- Version >=2.5.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"responseid": "xyz", //< Facultative id passed by a script event\n\t\t\t"available": true, //< true if a warmup is available in the game mode, false otherwise\n\t\t\t"active": true //< true if a warmup is ongoing, false otherwise\n\t\t}"\n\t]\n\t```\n\n\nMethods\n-------\n\n### XmlRpc.EnableCallbacks\n\n* Name: XmlRpc.EnableCallbacks\n* Type: TriggerModeScriptEventArray\n* Description: Enable or disable script callbacks.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"true" //< "true" to enable callbacks, "false" to disable them.\n\t]\n\t```\n\n### XmlRpc.GetCallbacksList\n\n* Name: XmlRpc.GetCallbacksList\n* Type: TriggerModeScriptEventArray\n* Description: Request a list of all available callbacks. This method will trigger the "XmlRpc.CallbacksList" callback.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"responseid" //< Facultative id that will be passed to the "XmlRpc.CallbacksList" callback.\n\t]\n\t```\n\n### XmlRpc.GetCallbacksList_Enabled\n\n* Name: XmlRpc.GetCallbacksList_Enabled\n* Type: TriggerModeScriptEventArray\n* Description: Request a list of all enabled callbacks. This method will trigger the "XmlRpc.CallbacksList_Enabled" callback.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"responseid" //< Facultative id that will be passed to the "XmlRpc.CallbacksList_Enabled" callback.\n\t]\n\t```\n\n### XmlRpc.GetCallbacksList_Disabled\n\n* Name: XmlRpc.GetCallbacksList_Disabled\n* Type: TriggerModeScriptEventArray\n* Description: Request a list of all disabled callbacks. This method will trigger the "XmlRpc.CallbacksList_Disabled" callback.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"responseid" //< Facultative id that will be passed to the "XmlRpc.CallbacksList_Disabled" callback.\n\t]\n\t```\n\n### XmlRpc.BlockCallbacks\n\n* Name: XmlRpc.BlockCallbacks\n* Type: TriggerModeScriptEventArray\n* Description: Block a callback and prevent it from being sent by the script.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"CallbackName", //< The name of the callback to block\n\t\t"CallbackNameN" //< You can pass as many callbacks as you want\n\t]\n\t```\n\n### XmlRpc.UnblockCallbacks\n\n* Name: XmlRpc.UnblockCallbacks\n* Type: TriggerModeScriptEventArray\n* Description: Unblock a blocked callback.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"CallbackName", //< The name of the callback to unblock\n\t\t"CallbackNameN" //< You can pass as many callbacks as you want\n\t]\n\t```\n\n### XmlRpc.GetCallbackHelp\n\n* Name: XmlRpc.GetCallbackHelp\n* Type: TriggerModeScriptEventArray\n* Description: Request help about a callback. This method will trigger the "XmlRpc.CallbackHelp" callback.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"callbackname", //< Name of the callback to get help for\n\t\t"responseid" //< Facultative id that will be passed to the "XmlRpc.CallbackHelp" callback.\n\t]\n\t```\n\n### XmlRpc.GetMethodsList\n\n* Name: XmlRpc.GetMethodsList\n* Type: TriggerModeScriptEventArray\n* Description: Request a list of all available methods. This method will trigger the "XmlRpc.MethodsList" callback.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"responseid" //< Facultative id that will be passed to the "XmlRpc.MethodsList" callback.\n\t]\n\t```\n\n### XmlRpc.GetMethodHelp\n\n* Name: XmlRpc.GetMethodHelp\n* Type: TriggerModeScriptEventArray\n* Description: Request help about a method. This method will trigger the "XmlRpc.MethodHelp" callback.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"callbackname", //< Name of the method to get help for\n\t\t"responseid" //< Facultative id that will be passed to the "XmlRpc.MethodHelp" callback.\n\t]\n\t```\n\n### XmlRpc.GetDocumentation\n\n* Name: XmlRpc.GetDocumentation\n* Type: TriggerModeScriptEventArray\n* Description: Request the current game mode xmlrpc callbacks and methods documentation. This method will trigger the "XmlRpc.Documentation" callback.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"responseid" //< Facultative id that will be passed to the "XmlRpc.Documentation" callback.\n\t]\n\t```\n\n### XmlRpc.SetApiVersion\n\n* Name: XmlRpc.SetApiVersion\n* Type: TriggerModeScriptEventArray\n* Description: Select the version of the API to use.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"1.2.3-beta.4.5.6+build789" //< The version to use in semver format\n\t]\n\t```\n\n### XmlRpc.GetApiVersion\n\n* Name: XmlRpc.GetApiVersion\n* Type: TriggerModeScriptEventArray\n* Description: Request the version of the API currently in use. This method will trigger the "XmlRpc.ApiVersion" callback.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"responseid" //< Facultative id that will be passed to the "XmlRpc.ApiVersion" callback.\n\t]\n\t```\n\n### XmlRpc.GetAllApiVersions\n\n* Name: XmlRpc.GetAllApiVersions\n* Type: TriggerModeScriptEventArray\n* Description: Request all available versions of the API. This method will trigger the "XmlRpc.AllApiVersions" callback.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"responseid" //< Facultative id that will be passed to the "XmlRpc.AllApiVersions" callback.\n\t]\n\t```\n\n### Maniaplanet.Mode.GetUseTeams\n\n* Name: Maniaplanet.Mode.GetUseTeams\n* Type: TriggerModeScriptEventArray\n* Description: Check if the game mode uses teams or not.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"responseid" //< Facultative id that will be passed to the "Maniaplanet.Mode.UseTeams" callback.\n\t]\n\t```\n\n### Maniaplanet.UI.SetAltScoresTableVisibility\n\n* Name: Maniaplanet.UI.SetAltScoresTableVisibility\n* Type: TriggerModeScriptEventArray\n* Description: Enable or disable the scores table display with the alt key.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"PlayerLogin", //< The login of the player to update\n\t\t"false" //< false to disable, true to enable\n\t]\n\t```\n\n### Maniaplanet.UI.SetScoresTableVisibility\n\n* Name: Maniaplanet.UI.SetScoresTableVisibility\n* Type: TriggerModeScriptEventArray\n* Description: Enable or disable the scores table.\n* Data:\n\t- Version >=2.4.0:\n\t```\n\t[\n\t\t"PlayerLogin", //< The login of the player to update\n\t\t"false" //< false to disable, true to enable\n\t]\n\t```\n\n### Maniaplanet.WarmUp.GetStatus\n\n* Name: Maniaplanet.WarmUp.GetStatus\n* Type: TriggerModeScriptEventArray\n* Description: Get the status of the warmup.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"responseid" //< Facultative id that will be passed to the "Maniaplanet.WarmUp.Status" callback.\n\t]\n\t```\n\n### Maniaplanet.Pause.GetStatus\n\n* Name: Maniaplanet.Pause.GetStatus\n* Type: TriggerModeScriptEventArray\n* Description: Get the status of the pause.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"responseid" //< Facultative id that will be passed to the "Maniaplanet.Pause.Status" callback.\n\t]\n\t```\n\n### Maniaplanet.Pause.SetActive\n\n* Name: Maniaplanet.Pause.SetActive\n* Type: TriggerModeScriptEventArray\n* Description: Enable or disable the pause if it is available.\n* Data:\n\t- Version >=2.0.0:\n\t```\n\t[\n\t\t"true", //< true to enable the pause, false to disable it.\n\t\t"responseid" //< Facultative id that will be passed to the "Maniaplanet.Pause.Status" callback.\n\t]\n\t```\n\n### Common.UIModules.GetProperties\n\n* Name: Common.UIModules.GetProperties\n* Type: TriggerModeScriptEventArray\n* Description: Request the properties of the UI modules loaded by the mode. This method will trigger the "Common.UIModules.Properties" callback.\n* Data:\n\t- Version >=3.2.0:\n\t```\n\t[\n\t\t"responseid" //< Facultative id that will be passed to the "Common.UIModules.Properties" callback.\n\t]\n\t```\n\t\n### Common.UIModules.SetProperties\n\n* Name: Common.UIModules.SetProperties\n* Type: TriggerModeScriptEventArray\n* Description: Update the properties of the UI modules loaded by the mode. Each property (except `id`) has a `propertyname_update` boolean counterpart. This boolean must be set to true if you want to update the property. Otherwise the property and update fields can be omitted. For example, if you want to update only the scale you can do `{ "id" : "IdOfTheModule", "scale": 3.0, "scale_update": true }`.\n* Data:\n\t- Version >=3.2.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"uimodules": [ //< Array of UI modules to update\n\t\t\t\t{\n\t\t\t\t\t"id": "IdOfTheModule", //< The id of the UI module\n\t\t\t\t\t"position": [10.0, 20.0], //< The position in array format. First value is the x position and the second value is the y position.\n\t\t\t\t\t"position_update": true,\n\t\t\t\t\t"scale": 2.5,\n\t\t\t\t\t"scale_update": true,\n\t\t\t\t\t"visible": true\n\t\t\t\t\t"visible_update": true\n\t\t\t\t}\n\t\t\t]\n\t\t}"\n\t]\n\t```\n\t\n### Common.UIModules.ResetProperties\n\n* Name: Common.UIModules.ResetProperties\n* Type: TriggerModeScriptEventArray\n* Description: Reset the properties of the UI modules loaded by the mode.\n* Data:\n\t- Version >=3.2.0:\n\t```\n\t[\n\t\t"{\n\t\t\t"uimodules": [ //< Array of UI modules to reset\n\t\t\t\t"IdOfModule1", "IdOfModule2", "IdOfModuleN"\n\t\t\t]\n\t\t}"\n\t]\n\t```\n\t\n### Trackmania.Event.SetCurRaceCheckpointsMode\n\n* Name: Trackmania.Event.SetCurRaceCheckpointsMode\n* Type: TriggerModeScriptEventArray\n* Description: Set when the `curracecheckpoints` array in the `Trackmania.Event.WayPoint` and `Trackmania.Event.OnPlayerTriggersWaypoint` callbacks should be filled. "always" will fill the array at each waypoint. "never" will never fill the array. "endlap" will fill the array only if the player finished a lap. "endrace" will fill the array only if the player finished the race. Default value is "never".\n* Data:\n\t- Version >=2.6.0:\n\t```\n\t[\n\t\t"always", //< The checkpoint mode. Value can be "always", "never", "endlap" or "endrace". Default value is "never".\n\t\t"RequesterId" //< If different ids request different checkpoint modes, then the mode sending the most data will be used. eg: if "A" sets checkpoint mode "always" and "B" sets checkpoint mode "endlap", then "always" will be applied.\n\t]\n\t```\n\t\n### Trackmania.Event.SetCurLapCheckpointsMode\n\n* Name: Trackmania.Event.SetCurLapCheckpointsMode\n* Type: TriggerModeScriptEventArray\n* Description: Set when the `curlapcheckpoints` array in the `Trackmania.Event.WayPoint` and `Trackmania.Event.OnPlayerTriggersWaypoint` callbacks should be filled. "always" will fill the array at each waypoint. "never" will never fill the array. "endlap" will fill the array only if the player finished a lap. "endrace" will fill the array only if the player finished the race. Default value is "never".\n* Data:\n\t- Version >=2.6.0:\n\t```\n\t[\n\t\t"always", //< The checkpoint mode. Value can be "always", "never", "endlap" or "endrace". Default value is "never".\n\t\t"RequesterId" //< If different ids request different checkpoint modes, then the mode sending the most data will be used. eg: if "A" sets checkpoint mode "always" and "B" sets checkpoint mode "endlap", then "always" will be applied.\n\t]\n\t```\n\t\n### Trackmania.Event.UnsetCurRaceCheckpointsMode\n\n* Name: Trackmania.Event.UnsetCurRaceCheckpointsMode\n* Type: TriggerModeScriptEventArray\n* Description: Unset the checkpoint mode previously set with `Trackmania.Event.SetCurRaceCheckpointsMode`.\n* Data:\n\t- Version >=3.0.0:\n\t```\n\t[\n\t\t"RequesterId" //< Id used to set the checkpoint mode with `Trackmania.Event.SetCurRaceCheckpointsMode`\n\t]\n\t```\n\t\n### Trackmania.Event.UnsetCurLapCheckpointsMode\n\n* Name: Trackmania.Event.UnsetCurLapCheckpointsMode\n* Type: TriggerModeScriptEventArray\n* Description: Unset the checkpoint mode previously set with `Trackmania.Event.SetCurLapCheckpointsMode`.\n* Data:\n\t- Version >=3.0.0:\n\t```\n\t[\n\t\t"RequesterId" //< Id used to set the checkpoint mode with `Trackmania.Event.SetCurLapCheckpointsMode`\n\t]\n\t```\n\t\n### Trackmania.GetScores\n\n* Name: Trackmania.GetScores\n* Type: TriggerModeScriptEventArray\n* Description: Request the current scores. This method will trigger the "Trackmania.Scores" callback.\n* Data:\n\t- Version >=2.0.0: \n\t```\n\t[\n\t\t"responseid" //< Facultative id that will be passed to the "Trackmania.Scores" callback.\n\t]\n\t```\n\t\n### Trackmania.SetPlayerPoints\n\n* Name: Trackmania.SetPlayerPoints\n* Type: TriggerModeScriptEventArray\n* Description: Set the points of the player. It overrides its current points. Different game modes will use different types of points.\n* Data:\n\t- Version >=2.1.0:\n\t```\n\t[\n\t\t"PlayerLogin", //< Login of the player to update\n\t\t"10", //< The round points, use an empty string to not update.\n\t\t"96", //< The map points, use an empty string to not update.\n\t\t"2" //< The match points, use an empty string to not update.\n\t]\n\t```\n\t\n### Trackmania.SetTeamPoints\n\n* Name: Trackmania.SetTeamPoints\n* Type: TriggerModeScriptEventArray\n* Description: Set the points of a team. It overrides their current points. Different game modes will use different types of points.\n* Data:\n\t- Version >=2.1.0:\n\t```\n\t[\n\t\t"1", //< Id of the team. Can be 1 or 2.\n\t\t"5", //< The round points, use an empty string to not update.\n\t\t"70", //< The map points, use an empty string to not update.\n\t\t"2" //< The match points, use an empty string to not update.\n\t]\n\t```\n\t- Version >=2.3.0:\n\tThe team id are now 0 (Blue) and 1 (Red) instead of 1 (Blue) and 2 (Red).\n\t```\n\t[\n\t\t"0", //< Id of the team. Can be 0 or 1.\n\t\t"5", //< The round points, use an empty string to not update.\n\t\t"70", //< The map points, use an empty string to not update.\n\t\t"2" //< The match points, use an empty string to not update.\n\t]\n\t```\n\t\n### Trackmania.WarmUp.ForceStop\n\n* Name: Trackmania.WarmUp.ForceStop\n* Type: TriggerModeScriptEventArray\n* Description: Stop the whole warm up sequence.\n* Data:\n\t- Version >=2.5.0:\n\t```\n\t[]\n\t```\n\t\n### Trackmania.WarmUp.ForceStopRound\n\n* Name: Trackmania.WarmUp.ForceStopRound\n* Type: TriggerModeScriptEventArray\n* Description: Stop the current warm up round.\n* Data:\n\t- Version >=2.5.0:\n\t```\n\t[]\n\t```\n\t\n### Trackmania.WarmUp.Extend\n\n* Name: Trackmania.WarmUp.Extend\n* Type: TriggerModeScriptEventArray\n* Description: If the warm up has a time limit, increase it.\n* Data:\n\t- Version >=3.0.0:\n\t```\n\t[\n\t\t12345 //< Time in milliseconds to add to the warm up\n\t]\n\t```\n\t\n### Trackmania.WarmUp.GetStatus\n\n* Name: Trackmania.WarmUp.GetStatus\n* Type: TriggerModeScriptEventArray\n* Description: Get the status of the Trackmania\'s warmup.\n* Data:\n\t- Version >=2.5.0:\n\t```\n\t[\n\t\t"responseid" //< Facultative id that will be passed to the "Trackmania.WarmUp.Status" callback.\n\t]\n\t```\n\n'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment