@@ -63,7 +63,9 @@ Callbacks
63
63
[
64
64
"{
65
65
"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?
67
69
}",
68
70
"Description of the callback" //< The description of the callback
69
71
]
@@ -96,7 +98,8 @@ Callbacks
96
98
[
97
99
"{
98
100
"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?
100
103
}",
101
104
"Description of the method" //< The description of the method
102
105
]
@@ -162,6 +165,10 @@ Callbacks
162
165
[
163
166
"{
164
167
"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
+ },
165
172
"time": 123450 //< Server time when the callback was sent
166
173
}"
167
174
]
@@ -178,6 +185,10 @@ Callbacks
178
185
[
179
186
"{
180
187
"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
+ },
181
192
"time": 123450 //< Server time when the callback was sent
182
193
}"
183
194
]
@@ -581,6 +592,7 @@ Callbacks
581
592
```
582
593
[
583
594
"{
595
+ "restarted": false, //< true if the map was restarted, false otherwise
584
596
"time": 123450 //< Server time when the callback was sent
585
597
}"
586
598
]
@@ -596,6 +608,7 @@ Callbacks
596
608
```
597
609
[
598
610
"{
611
+ "restarted": false, //< true if the map was restarted, false otherwise
599
612
"time": 123450, //< Server time when the callback was sent
600
613
"map": {
601
614
"uid": "4dNDBnxvcwDaXmQz4Qf5khJUSOd", //< Unique id of the map
@@ -695,6 +708,36 @@ Callbacks
695
708
]
696
709
```
697
710
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
+
698
741
### Maniaplanet.Mode.UseTeams
699
742
700
743
* Name: Maniaplanet.Mode.UseTeams
@@ -1297,6 +1340,8 @@ Callbacks
1297
1340
<chat_avatar visible="true" />
1298
1341
<!-- Ladder progression box displayed on the top of the screen at the end of the map -->
1299
1342
<endmap_ladder_recap visible="true" />
1343
+ <!-- Scores table displayed in the middle of the screen -->
1344
+ <scorestable alt_visible="true" />
1300
1345
</ui_properties>
1301
1346
",
1302
1347
"{
@@ -1332,6 +1377,9 @@ Callbacks
1332
1377
},
1333
1378
"endmap_ladder_recap": { //< Ladder progression box displayed on the top of the screen at the end of the map
1334
1379
"visible": true
1380
+ },
1381
+ "scorestable": { //< Scores table displayed in the middle of the screen
1382
+ "alt_visible": true
1335
1383
}
1336
1384
}"
1337
1385
]
@@ -1833,6 +1881,8 @@ Callbacks
1833
1881
<multilap_info visible="true" pos="152. 49.5 5." />
1834
1882
<!-- Player's ranking at the latest checkpoint -->
1835
1883
<checkpoint_ranking visible="true" pos="75., -85.3, 5." />
1884
+ <!-- Scores table displayed in the middle of the screen -->
1885
+ <scorestable alt_visible="true" />
1836
1886
</ui_properties>
1837
1887
",
1838
1888
"{
@@ -1900,6 +1950,9 @@ Callbacks
1900
1950
"checkpoint_ranking": { //< Player's ranking at the latest checkpoint
1901
1951
"visible": true,
1902
1952
"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
1903
1956
}
1904
1957
}"
1905
1958
]
@@ -1963,6 +2016,23 @@ Callbacks
1963
2016
]
1964
2017
```
1965
2018
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
+
1966
2036
Methods
1967
2037
-------
1968
2038
@@ -2152,6 +2222,20 @@ Methods
2152
2222
]
2153
2223
```
2154
2224
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
+
2155
2239
### Maniaplanet.WarmUp.GetStatus
2156
2240
2157
2241
* Name: Maniaplanet.WarmUp.GetStatus
@@ -2257,6 +2341,8 @@ Methods
2257
2341
<chat_avatar visible="true" />
2258
2342
<!-- Ladder progression box displayed on the top of the screen at the end of the map -->
2259
2343
<endmap_ladder_recap visible="true" />
2344
+ <!-- Scores table displayed in the middle of the screen -->
2345
+ <scorestable alt_visible="true" />
2260
2346
</ui_properties>
2261
2347
"
2262
2348
]
@@ -2275,9 +2361,9 @@ Methods
2275
2361
]
2276
2362
```
2277
2363
2278
- ### Maniaplanet.WarmUp.Stop
2364
+ ### Maniaplanet.WarmUp.ForceStop
2279
2365
2280
- * Name: Maniaplanet.WarmUp.Stop
2366
+ * Name: Maniaplanet.WarmUp.ForceStop
2281
2367
* Type: TriggerModeScriptEventArray
2282
2368
* Description: Stop any ongoing warmup.
2283
2369
* Data:
@@ -2315,6 +2401,17 @@ Methods
2315
2401
]
2316
2402
```
2317
2403
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
+
2318
2415
### Shootmania.Siege.SetProgressionUIPosition
2319
2416
2320
2417
* Name: Shootmania.Siege.SetProgressionUIPosition
@@ -2435,14 +2532,16 @@ Methods
2435
2532
<multilap_info visible="true" pos="152. 49.5 5." />
2436
2533
<!-- Player's ranking at the latest checkpoint -->
2437
2534
<checkpoint_ranking visible="true" pos="75., -85.3, 5." />
2535
+ <!-- Scores table displayed in the middle of the screen -->
2536
+ <scorestable alt_visible="true" />
2438
2537
</ui_properties>
2439
2538
"
2440
2539
]
2441
2540
```
2442
2541
2443
- ### Trackmania.WarmUp.Stop
2542
+ ### Trackmania.WarmUp.ForceStop
2444
2543
2445
- * Name: Trackmania.WarmUp.Stop
2544
+ * Name: Trackmania.WarmUp.ForceStop
2446
2545
* Type: TriggerModeScriptEventArray
2447
2546
* Description: Stop the whole warm up sequence.
2448
2547
* Data:
@@ -2451,9 +2550,9 @@ Methods
2451
2550
[]
2452
2551
```
2453
2552
2454
- ### Trackmania.WarmUp.StopRound
2553
+ ### Trackmania.WarmUp.ForceStopRound
2455
2554
2456
- * Name: Trackmania.WarmUp.StopRound
2555
+ * Name: Trackmania.WarmUp.ForceStopRound
2457
2556
* Type: TriggerModeScriptEventArray
2458
2557
* Description: Stop the current warm up round.
2459
2558
* Data:
@@ -2462,6 +2561,28 @@ Methods
2462
2561
[]
2463
2562
```
2464
2563
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
+
2465
2586
### Trackmania.ForceEndRound
2466
2587
2467
2588
* Name: Trackmania.ForceEndRound
0 commit comments