Skip to content

Commit 40da6ab

Browse files
committed
2017-05-05 version of the xmlrpc api.
1 parent 925fbe0 commit 40da6ab

File tree

1 file changed

+129
-8
lines changed

1 file changed

+129
-8
lines changed

XmlRpcListing.md

+129-8
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ Callbacks
6363
[
6464
"{
6565
"responseid": "xyz", //< Facultative id passed by a script event
66-
"callback": "CallbackName" //< The name of the described callback
66+
"callback": "CallbackName", //< The name of the described callback
67+
"available": true, //< Is the callback available in this game mode?
68+
"disabled": false //< Is the callback blocked?
6769
}",
6870
"Description of the callback" //< The description of the callback
6971
]
@@ -96,7 +98,8 @@ Callbacks
9698
[
9799
"{
98100
"responseid": "xyz", //< Facultative id passed by a script event
99-
"method": "MethodName" //< The name of the described method
101+
"method": "MethodName", //< The name of the described method
102+
"available": true //< Is the method available in this game mode?
100103
}",
101104
"Description of the method" //< The description of the method
102105
]
@@ -162,6 +165,10 @@ Callbacks
162165
[
163166
"{
164167
"restarted": false, //< true if the script was restarted
168+
"mode": {
169+
"updated": true, //< true if the mode was changed
170+
"name": "TimeAttack" //< The name of the mode
171+
},
165172
"time": 123450 //< Server time when the callback was sent
166173
}"
167174
]
@@ -178,6 +185,10 @@ Callbacks
178185
[
179186
"{
180187
"restarted": false, //< true if the script was restarted
188+
"mode": {
189+
"updated": true, //< true if the mode was changed
190+
"name": "TimeAttack" //< The name of the mode
191+
},
181192
"time": 123450 //< Server time when the callback was sent
182193
}"
183194
]
@@ -581,6 +592,7 @@ Callbacks
581592
```
582593
[
583594
"{
595+
"restarted": false, //< true if the map was restarted, false otherwise
584596
"time": 123450 //< Server time when the callback was sent
585597
}"
586598
]
@@ -596,6 +608,7 @@ Callbacks
596608
```
597609
[
598610
"{
611+
"restarted": false, //< true if the map was restarted, false otherwise
599612
"time": 123450, //< Server time when the callback was sent
600613
"map": {
601614
"uid": "4dNDBnxvcwDaXmQz4Qf5khJUSOd", //< Unique id of the map
@@ -695,6 +708,36 @@ Callbacks
695708
]
696709
```
697710

711+
### Maniaplanet.ChannelProgression_Start
712+
713+
* Name: Maniaplanet.ChannelProgression_Start
714+
* Type: CallbackArray
715+
* Description: Callback sent when the channel progression sequence starts.
716+
* Data:
717+
- Version >=2.0.0:
718+
```
719+
[
720+
"{
721+
"time": 123450 //< Server time when the callback was sent
722+
}"
723+
]
724+
```
725+
726+
### Maniaplanet.ChannelProgression_End
727+
728+
* Name: Maniaplanet.ChannelProgression_End
729+
* Type: CallbackArray
730+
* Description: Callback sent when the channel progression sequence ends.
731+
* Data:
732+
- Version >=2.0.0:
733+
```
734+
[
735+
"{
736+
"time": 123450 //< Server time when the callback was sent
737+
}"
738+
]
739+
```
740+
698741
### Maniaplanet.Mode.UseTeams
699742

700743
* Name: Maniaplanet.Mode.UseTeams
@@ -1297,6 +1340,8 @@ Callbacks
12971340
<chat_avatar visible="true" />
12981341
<!-- Ladder progression box displayed on the top of the screen at the end of the map -->
12991342
<endmap_ladder_recap visible="true" />
1343+
<!-- Scores table displayed in the middle of the screen -->
1344+
<scorestable alt_visible="true" />
13001345
</ui_properties>
13011346
",
13021347
"{
@@ -1332,6 +1377,9 @@ Callbacks
13321377
},
13331378
"endmap_ladder_recap": { //< Ladder progression box displayed on the top of the screen at the end of the map
13341379
"visible": true
1380+
},
1381+
"scorestable": { //< Scores table displayed in the middle of the screen
1382+
"alt_visible": true
13351383
}
13361384
}"
13371385
]
@@ -1833,6 +1881,8 @@ Callbacks
18331881
<multilap_info visible="true" pos="152. 49.5 5." />
18341882
<!-- Player's ranking at the latest checkpoint -->
18351883
<checkpoint_ranking visible="true" pos="75., -85.3, 5." />
1884+
<!-- Scores table displayed in the middle of the screen -->
1885+
<scorestable alt_visible="true" />
18361886
</ui_properties>
18371887
",
18381888
"{
@@ -1900,6 +1950,9 @@ Callbacks
19001950
"checkpoint_ranking": { //< Player's ranking at the latest checkpoint
19011951
"visible": true,
19021952
"pos": { "x": 75.0, "y": -85.3, "z": 5.0 }
1953+
},
1954+
"scorestable": { //< Scores table displayed in the middle of the screen
1955+
"alt_visible": true
19031956
}
19041957
}"
19051958
]
@@ -1963,6 +2016,23 @@ Callbacks
19632016
]
19642017
```
19652018

2019+
### Trackmania.WarmUp.Status
2020+
2021+
* Name: Trackmania.WarmUp.Status
2022+
* Type: CallbackArray
2023+
* Description: The status of Trackmania's the warmup.
2024+
* Data:
2025+
- Version >=2.0.0:
2026+
```
2027+
[
2028+
"{
2029+
"responseid": "xyz", //< Facultative id passed by a script event
2030+
"available": true, //< true if a warmup is available in the game mode, false otherwise
2031+
"active": true //< true if a warmup is ongoing, false otherwise
2032+
}"
2033+
]
2034+
```
2035+
19662036
Methods
19672037
-------
19682038

@@ -2152,6 +2222,20 @@ Methods
21522222
]
21532223
```
21542224

2225+
### Maniaplanet.UI.SetAltScoresTableVisibility
2226+
2227+
* Name: Maniaplanet.UI.SetAltScoresTableVisibility
2228+
* Type: TriggerModeScriptEventArray
2229+
* Description: Enable or disable the scores table display with the alt key.
2230+
* Data:
2231+
- Version >=2.0.0:
2232+
```
2233+
[
2234+
"PlayerLogin", //< The login of the player to update
2235+
"false" //< false to disable, true to enable
2236+
]
2237+
```
2238+
21552239
### Maniaplanet.WarmUp.GetStatus
21562240

21572241
* Name: Maniaplanet.WarmUp.GetStatus
@@ -2257,6 +2341,8 @@ Methods
22572341
<chat_avatar visible="true" />
22582342
<!-- Ladder progression box displayed on the top of the screen at the end of the map -->
22592343
<endmap_ladder_recap visible="true" />
2344+
<!-- Scores table displayed in the middle of the screen -->
2345+
<scorestable alt_visible="true" />
22602346
</ui_properties>
22612347
"
22622348
]
@@ -2275,9 +2361,9 @@ Methods
22752361
]
22762362
```
22772363

2278-
### Maniaplanet.WarmUp.Stop
2364+
### Maniaplanet.WarmUp.ForceStop
22792365

2280-
* Name: Maniaplanet.WarmUp.Stop
2366+
* Name: Maniaplanet.WarmUp.ForceStop
22812367
* Type: TriggerModeScriptEventArray
22822368
* Description: Stop any ongoing warmup.
22832369
* Data:
@@ -2315,6 +2401,17 @@ Methods
23152401
]
23162402
```
23172403

2404+
### Maniaplanet.WarmUp.Stop
2405+
2406+
* Name: Maniaplanet.WarmUp.Stop
2407+
* Type: TriggerModeScriptEventArray
2408+
* Description: Stop any ongoing warmup.
2409+
* Data:
2410+
- Version >=2.0.0:
2411+
```
2412+
[]
2413+
```
2414+
23182415
### Shootmania.Siege.SetProgressionUIPosition
23192416

23202417
* Name: Shootmania.Siege.SetProgressionUIPosition
@@ -2435,14 +2532,16 @@ Methods
24352532
<multilap_info visible="true" pos="152. 49.5 5." />
24362533
<!-- Player's ranking at the latest checkpoint -->
24372534
<checkpoint_ranking visible="true" pos="75., -85.3, 5." />
2535+
<!-- Scores table displayed in the middle of the screen -->
2536+
<scorestable alt_visible="true" />
24382537
</ui_properties>
24392538
"
24402539
]
24412540
```
24422541

2443-
### Trackmania.WarmUp.Stop
2542+
### Trackmania.WarmUp.ForceStop
24442543

2445-
* Name: Trackmania.WarmUp.Stop
2544+
* Name: Trackmania.WarmUp.ForceStop
24462545
* Type: TriggerModeScriptEventArray
24472546
* Description: Stop the whole warm up sequence.
24482547
* Data:
@@ -2451,9 +2550,9 @@ Methods
24512550
[]
24522551
```
24532552

2454-
### Trackmania.WarmUp.StopRound
2553+
### Trackmania.WarmUp.ForceStopRound
24552554

2456-
* Name: Trackmania.WarmUp.StopRound
2555+
* Name: Trackmania.WarmUp.ForceStopRound
24572556
* Type: TriggerModeScriptEventArray
24582557
* Description: Stop the current warm up round.
24592558
* Data:
@@ -2462,6 +2561,28 @@ Methods
24622561
[]
24632562
```
24642563

2564+
### Trackmania.WarmUp.GetStatus
2565+
2566+
* Name: Trackmania.WarmUp.GetStatus
2567+
* Type: TriggerModeScriptEventArray
2568+
* Description: Get the status of the trackmania's warmup.
2569+
* Data:
2570+
- Version >=2.0.0:
2571+
```
2572+
[
2573+
"responseid" //< Facultative id that will be passed to the "Trackmania.WarmUp.Status" callback.
2574+
]
2575+
```
2576+
2577+
### Trackmania.Chase.ForceStopRound
2578+
2579+
* Name: Trackmania.Chase.ForceStopRound
2580+
* Type: TriggerModeScriptEventArray
2581+
* Description: Force the end of the current round.
2582+
* Data:
2583+
- Version >=2.0.0:
2584+
```[]```
2585+
24652586
### Trackmania.ForceEndRound
24662587

24672588
* Name: Trackmania.ForceEndRound

0 commit comments

Comments
 (0)