Select "MX Randomizer" in the "Plugins" tab of the Openplanet overlay.
Select "Random Map Challenge" to play one of the following game modes:
- Random Map Challenge (RMC)
- Random Map Survival (RMS)
- Random Map Objective (RMO)
- Random Map Together (RMT) (TM2020 only, requires MLFeed)
bool MXRandom::IsRMCRunning()- Returns true if RMC is running.bool MXRandom::IsRMCPaused()- Returns true if RMC is paused.int MXRandom::RMCGoalMedal()- Returns the medal chosen as the RMC goal. (See Goal Medals table)string MXRandom::RMCGoalMedalName()- Returns the name of the medal chosen as the RMC goal. (See Goal Medals table)bool MXRandom::RMCGotGoalMedal()- Returns true if the player got the goal medal on the current map.bool MXRandom::RMCGotBelowMedal()- Returns true if the player got the previous medal to the goal (e.g. Gold if goal is Author) on the current map.int MXRandom::RMCGoalMedalCount()- Returns the number of goal medals achieved on a current RMC run.int MXRandom::RMCGameMode()- Returns the game mode of the current RMC run. (See Game Modes table)
bool MXRandom::CustomParameters- Returns true if the player is using custom searching parameters.
void MXRandom::LoadRandomMap(bool customParameters = false)- Loads a random map from MX.string MXRandom::GetRandomMapUrlAsync(bool customParameters = false)[ASYNC] - Get a random map URL from MX and retuns its download URL.Json::Value@ MXRandom::GetRandomMapInfoAsync(bool customParameters = false)[ASYNC] - Get a random map URL from MX and retuns a JSON object with the fields listed in MapInfo.as.
The parameter customParameters decides if the plugin should use the custom searching parameters selected by the user when fetching a map from MX. Defaults to false.
| Identifier | Medal |
|---|---|
| 0 | Bronze |
| 1 | Silver |
| 2 | Gold |
| 3 | Author |
| 4 | WR (TM2020 only) |
Game modes are in an enumerated list.
| Identifier | Mode |
|---|---|
| 0 | Challenge |
| 1 | Survival |
| 2 | Objective |
| 3 | Together |