
Dev Console
Recreate the console used by the developer
Last updated | 3 days ago |
Total downloads | 22 |
Total rating | 1 |
Categories | Mods Misc |
Dependency string | PattyHoswell_reupload-Dev_Console-1.0.0 |
Dependants | 0 other packages depend on this package |
This mod requires the following mods to function

BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
Dev Console
Recreate the console used by the developer (For Monster Train 2).
This's a reupload of Nexus mod with the author PattyHoswell's permission.
How to manually install:
- Install BepInEx 5.4 (or you can use the preconfigured ones)
- Run the game onces (To initialize BepInEx for first time)
- Put the mod into (gamedata)\BepInEx\plugins
- Restart the game (If the mod does not shows, check the game logs if there's Patty_DevConsole_MOD installed and if BepInEx is installed correctly).
- if you installed Stoker before, you need to disable it or uninstall it when use this mod.
How to use:
- Press Tilde ~ to open the console
- Type the method name (and specify the argument if present)
- If the argument has default value (e.g. Battle (String battleName = "")). Then you can technically type without the argument, but it'll just execute the command with that default value. In this case it will start a blank battle
- There is a command called Man (String command = "") to print a message what the function expects (not available to all function).
- I have not tested every command here so you should experiment yourself
How to use (for function that expects Asset-Name/GUID/Hash):
- In the mod folder there are all of the game data needed by the console, with all language available.
- You only really need the Asset-Name/GUID/Hash but for convenience I put all language so you can easily check in your language what is the Asset-Name/GUID/Hash of the data you want
- For example if you want to add Heaven’s Light. Find the relic name on CollectableRelicData.json, and see what the GUID/Asset-Name is, now you already found it. Then you need to type Artifact GUID/Asset-Name (replace GUID/Asset-Name with the guid/asset-name you just found) in the console
- If the data was outdated (or you have a mod installed that add new data). Use the ExtractGameData command to re-extract the game data needed for the console
This mod recreates the console used by the developer, while its not an exact version used by the developer (frankly I don't even know what their version looks like). This mod attempts to recreate it based on the information leftover in the game.
There is 2 new function the mod add. ExtractCommandList (to extract the command list into a file) and ExtractGameData (to extract all of the game data into a file)
Command List:
- Ability (String unitId) [Activate the ability of a unit of the given ID. See IDs by using the command unitinfo.]
- AdvanceStoryProgression [Advances to the next story dialogue without the criteria being met.]
- AmbientOcclusion [Toggle Ambient Occlusion]
- Artifact (String artifact) [Add artifact. Parameter is either GUID or Asset Name.]
- Ascension (String amount) [Increase max ascension level for challenge covenant. Parameter indicates how much to increase the ascension level by.]
- Battle (String battleName = "") [Start an battle by name. If no name specified, start a blank battle.]
- Bloom [Toggle Bloom]
- BundledAssetsReport [Prints a report to the log of the state of AssetLoadingManager.]
- Capacity (Int32 amount, Int32 room) [Set the capacity in a room. Usage is capacity {amount} {room}]
- Card (String card) [Add card to your hand or deck. Parameter is either GUID or Asset Name.
Card will go to hand in battle, to deck out of battle.]
- ChangeSides [Go to the other path in this node.]
- Chatter [Toggle chatter on and off. Video recording use mostly.]
- ClassLevel (String amount) [Adjust the level of the main class by some amount.
Usage is classlevel {amount} where amount can be positive or negative.]
- ClearAllAbilityCooldowns [Clears the ability cooldown status effect from all units.]
- ClearAllEncounteredEnemies [Clear all discovered enemies.]
- ClearCards [Remove all cards from your deck]
- ClearCompletedDialogues [Resets all the character dialogues so that they will show up again.]
- ClearDialogueCompleted (String dialogueName) [Set dialogue as not completed (i.e. seen). Usage is ClearDialogueCompleted {dialogueDataName} or showdialogue {dialogueDataId}.]
- ClearEquippedPyre [Clears the currently equipped pyre. This will affect the next new run you start.]
- ClearStoryProgression (Int32 numRemaining = 0) [Sets the story progression back to the start.]
- ClearTrainCosmetics [Clears all the equipped train and room cosmetics so that you are using the defaults.]
- ClearUser [Simulate the player signing out.]
- CompleteAllStoryProgression [Completes all the story.]
- CompleteFTUE [Complete the First Time User Experience.]
- Continue [Continue the run from your save file.]
- ContinueStartingConditionsSave (String fileName, String replayFileName = "") [Load a file in MonsterTrain2\editor-save\starting-conditions and continue the save. Optionally play a replay from a later save.]
- ContinueStartingConditionsSaveReplayLastBattle (String fileName) [Load a file in MonsterTrain2\editor-save\starting-conditions, continue the save, and replay the last battle.]
- Corrupt (String amount, String room) [Set the amount of corruption in a room. Usage is corrupt {amount} {room}]
- CorruptMax (String amount, String room) [Set the max amount of corruption in a room. Usage is corruptmax {amount} {room}]
- DeleteLocalRunHistory [Delete run history on the local file system.]
- DirtyBattle (Boolean allowLogs = False) [Dirty the battle state to force-update previews. Set allowLogs to true if you want logs during the preview (usually they're supressed).]
- DisableAllGraphicsSettings [Disable All Graphics Settings]
- DisableTFBKillCam [Turns off the TFB kill camera view]
- Discard (String cardIndexString) [Discard card at an index. Usage is discard {cardIndex}]
- DiscardAll [Discard all cards in hand.]
- DiscoverAll [Discover all champion upgrades, relics, cards, and enemies.]
- DragonsHoard (String amount) [Set Dragons Hoard Amount]
- DrawCards (String count) [Draw cards. Usage is drawcards {amount} where amount is a positive number.]
- Ember (String amount) [Adjust ember. Parameter must be one of the following forms:
+X - to add X ember
-X - to subtract X ember
X - to set ember amount to X exactly]
- EnableAllGraphicsSettings [Enable All Graphics Settings]
- EnableTFBKillCam [Moves the camera to match the TFB kill camera]
- EncounterAllEnemies [Discover all enemies.]
- EncounterEnemy (String searchTerm) [Discover enemy.]
- EndBattle [End the current battle.]
- EndlessDraft [Show an endless run mutator draft]
- EndlessMutator (String sin) [Add an endless mutator. Parameter is either GUID or Asset Name.]
- EndTurn [End the player's current turn (as if the End Turn button was pressed)]
- Event (String eventName) [Start an event. Parameter is either GUID or Asset Name.]
- Exception [Force an exception to happen. This is used to test our pipeline.]
- ExtractCommandList [Extract all command list available on the console]
- ExtractGameData [Extract all game datas needed by the console]
- FastBloom [Toggle Fast Bloom]
- Feedback [Send feedback without any textual description. Used for sending bug reports w/ screenshot and save on console.]
- FinalNode [Go to the final node in the map.]
- GameOver [End the current run - go to 'Game Over' with a loss.]
- GameSpeed (String speedString) [Set the game's speed. Parameter may be one of the following:
0 - Normal
1 - Fast
2 - Ultra
3 - Instant]
- GC [Toggle the gc outside the loading screen on/off.]
- GetAllEquipment [Add all equipment cards to your hand or deck.
Card will go to hand in battle, to deck out of battle.]
- GetEnumValues (String enumName)- GetRandomArtifact [Give a random artifact, avoiding dupes.]
- GetRandomCard [Give a random card, avoiding dupes.]
- GetTrackedValue (String trackedValueName) [Get a tracked value by name. Use ListTrackedValues to get a list of the tracked value names.]
- GodAll [Toggle all the god mode settings: ember, train, monster]
- GodEmber [Toggle unlimited ember]
- GodEnemies [Toggle enemy god mode]
- GodMonsters [Toggle monster god mode]
- GodPyre [Toggle pyre god mode]
- Gold (String amount) [Adjust gold. Parameter must be one of the following forms:
+X - to add X gold
-X - to subtract X gold
X - to set gold amount to X exactly]
- Graphics (String qualitySetting, String onOffText) [Turn on/off the individual settings that are all turned on when Graphics Quality is High. Usage is graphics {setting} {on/off} Where setting is:
all
msaa
ambientOcclusion
motionBlur
bloom
fastBloom
lightsCastShadows
iceRefraction]
- Hud (String input) [Set HUD mode. 0 = no HUD at all. 1 = HUD on. 2 = HUD on, beta/f8 text off. 3 = top HUD off, battle HUD on.]
- IceRefraction [Toggle Ice Refraction]
- IncrementTrackedValue (String trackedValueName, Int32 amount = 1) [Increment a tracked value. Use ListTrackedValues to get a list of the tracked value names.]
- Kill (String unitId) [Kill a unit of the given ID. See IDs by using the command unitinfo.]
- LightsCastShadows [Toggle Lights Cast Shadows]
- ListCardsWithReplayHash (Int32 hash) [For debugging replay bugs. What card goes with this hash.]
- ListCardUpgrades [List card upgrades]
- ListClanLevels [List the metagame level of each clan]
- ListEnemies [List all enemies.]
- ListEvents [List all events.]
- ListFeatures [List the unlocks that are 'features']
- ListRunClanLevels [List the level of each clan in the starting conditions of this run]
- ListTrackedValues [List the MetagameSaveData values that are used by unlock conditions.]
- LoadAll [Loads all the card and character addressables]
- LockAllChallenges [Lock all challenges.]
- LockAllFeatures [Lock the features: SP Challenges, Challenge Runs, True Final Boss, Original Clans]
- LockAllPyreHearts [Locks all the pyre hearts. Usage is LockAllPyreHearts]
- LockAllRoomCosmetics [Locks all the room cosmetics. Usage is LockAllRoomCosmetics]
- LockAnyPyreHeart (Int32 numToLock = 1) [Locks a random unlocked pyre heart.]
- LockChallengeByName (String challengeNameToUnlock) [Lock challenge by name.]
- LockFeature (String feature) [Lock a feature from ListFeatures]
- LocWrap [Toggle wrapping untranslated text. Example: French>>Single player<<]
- Man (String command = "") [Look up information about other commands by typing man {command}]
- MasterAllCards [Add mastery for all accessible cards]
- MotionBlur [Toggle Motion Blur]
- MSAA [Toggle MSAA]
- Mutator (String mutator) [Add mutator. Parameter is either GUID or Asset Name.]
- NewRun [Start a new single player run immediately.]
- NextNode [Go to the next node in the map.]
- PlayRecentAsEndless (Int32 numMostRecentToSkip = 0) [Load a file in saves-old and play it as an endless run.]
- PlayStartingConditions (String fileName, Boolean replay = False, Boolean verify = False) [Load a file in MonsterTrain2\editor-save\starting-conditions and play it as a normal run.]
- PreviousNode [Go to the previous node in the map.]
- PrintAvailableDialogues [Logs a list of all the dialogues currently available to the player.]
- PrintCompletedDialogues [Logs a list of all the dialogues that have been completed (seen) by the player.]
- PyreHP (String amount) [Adjust pyre HP. Parameter must be one of the following forms:
+X - to add X health
-X - to subtract X health
X - to set health amount to X exactly]
- PyreMaxHP (String maxHpValue) [Sets the pyre Max HP.]
- RemoveArtifact (String artifact) [Remove artifact. Parameter is either GUID or Asset Name.]
- RemoveCard (String cardName) [Purge a card with specified name from your deck.]
- RemoveUnitAbility (String unitId) [Removes the ability of a unit of the given ID. See IDs by using the command unitinfo.]
- ReplayOne (String replayLogText) [Replay a single entry from its log string]
- ResetNode [Reset the state of the POIs on this node.]
- ResetSave [Deletes all save progress.]
- ResetStory [Reset the story state.]
- RestartBattle [Restart the current battle.]
- RollDialogues [Re-rolls the dialogues the way it does at run end.]
- RunScript (String script, Boolean addCmdsToHistory = True) [Run the given script. Editor-only equivalency for drag & drop.
Do not specify the script's extension. Scripts are located in titan/RunScripts or MonsterTrain2/editor-save/run-scripts]
- Save [Write the current run save to file]
- SaveStartingConditions (String fileName) [Write the current save's starting conditions to a file in MonsterTrain2\editor-save\starting-conditions]
- ScrollSensitivity (String input) [Set the scroll sensitivity. Usage is scrollsensitivity {sensitivity}. Where <i>sensitivity</i> is >= 1. 100 is the default. Or scrollsensitivity log, which prints the current sensitivity.]
- SeeAllOneTimeMessages [See all one-time messages]
- SetAttack (String unitId, String atkString) [Set the Attack for the unit of the given ID. See IDs by using the command unitinfo. Usage is setattack {id} {atk}]
- SetDialogueCompleted (String dialogueName) [Set dialogue as completed (i.e. seen). Usage is SetDialogueCompleted {dialogueDataName} or showdialogue {dialogueDataId}.]
- SetEquippedPyre (String pyreCharacterDataId) [Sets the currently equipped pyre. This will affect the next new run you start. Usage is setequippedpyre {characterid}]
- SetHp (String unitId, String hpString, String maxHpString = "") [Set the HP for the unit of the given ID. See IDs by using the command unitinfo. Usage is sethp {id} {hp} {maxhp}]
- SetRoomCosmeticGlobal (String floorIndexString, String roomId) [Sets the room cosmetic global slot. Usage is setroomcosmeticglobal {floorIndex} {roomId}. Where floorIndex is 0-2 with 0 being the bottom room.]
- SetSeed (String input) [Set the single player RNG seed. Usage is setseed {seeed}. Where <i>seed</i> is an integer. Seed <i>0</i> means go back to generating a random seed.]
- SetStatus (String unitId, String statusId, String stackCount = "1") [Set a status effect stack for the unit of the given ID. See IDs by using the command unitinfo.
Usage is setstatus {id} {status} {stack} where:
status is the shorthand string constant representation of a status effect, e.g. <i>multistrike</i>, <i>poison</i>
Status IDs cannot use spaces in this command, so use hyphens to represent spaces, e.g. <i>damage-shield</i> for <i>damage shield</i>
stack is an optional integer amount of stacks to add. If negative, will remove stacks. If unset, will default to 1.]
- SetTrackedValue (String trackedValueName, Int32 value) [Set a tracked value. Use ListTrackedValues to get a list of the tracked value names.]
- SetUnitAbility (String unitId, String cardName) [Adds an ability to a unit of the given ID. See IDs by using the command unitinfo. Usage is SetUnitAbility {unit} {card}]
- ShakeTest [Test the game camera by shaking it in battle repeatedly. Validate if position has changed at the end.]
- ShowDialogue (String dialogueName) [Open the character dialogue screen. Usage is showdialogue {dialogueDataName} or showdialogue {dialogueDataId}.]
- Sin (String sin) [Add sin. Parameter is either GUID or Asset Name. Only usable in battle.]
- SkipToTFB [Go to the TFB fight.]
- Soak (String soakTypeName = "") [Start a soak test. Usage is soak {soaktype}. Type soak to get list of soak types.]
- SpawnSpamEnemies [Spawn an enemy unit on each floor.]
- SpawnSpamFriendlies [Spawn a friendly unit on each floor.]
- StopReplay [Stop replay playback]
- TargetFramerate (String fps) [Sets the target framerate for the game. Usage is targetframerate {fps}.]
- TimeScale (String time) [Set time scale to parameter value. Values smaller than 1 slow down time. Values larger than 1 speed up time.]
- Timing [Toggle the timing display window on/off.]
- ToggleBackground [Toggle Background]
- ToggleControlHints [Shows or hides the control hints.]
- ToggleSelectionErrors [Allows or suppresses displaying card selection errors on screen.]
- ToggleTrainChasis [Toggle Train Chasis]
- ToggleTrainChasisParticles [Toggle Train Chasis Particles]
- ToggleTrainRoomBackground [Toggle Train Room Background]
- ToggleTrainRoomParticles [Toggle Train Room Particles]
- ToggleUnitFloatingText [Disables unit floating text.]
- Undo (Boolean visible = False) [Go back to the beginning of the turn.]
- Unit (String unit, String team, String room = "") [Spawn a unit. Usage is unit {unit} {team} {room} where:
unit is the GUID or Asset Name of the CharacterData
team is player for monsters and enemy for heroes
room is the integer index of the room, starting from 0 for the bottom room. Optional, defaults to current room]
- UnitChatter (String unitId, Single delaySeconds = 1) [Plays all specified unit chatter.]
- UnitInfo [Toggle unit info display on/off.]
- UnitStatsUI (String input) [Set Unit stats UI on or off for units currently in the train.]
- UnlockAll [Unlock all clans, challenges, pyre hearts, train cosmetics, and card frames.]
- UnlockAllCardFrames [Unlock all card frames.]
- UnlockAllChallenges [Unlock all challenges.]
- UnlockAllClasses [Unlock all classes.]
- UnlockAllFeatures [Unlock the features: SP Challenges, Challenge Runs, True Final Boss, Original Clans]
- UnlockAllPyreHearts [Unlocks all the pyre hearts. Usage is UnlockAllPyreHearts]
- UnlockAllRoomCosmetics [Unlocks all the room cosmetics. Usage is UnlockAllRoomCosmetics]
- UnlockAnyPyreHeart (Int32 numToUnlock = 1) [Unlocks a random locked pyre heart.]
- UnlockChallengeByName (String challengeNameToUnlock) [Unlock challenge by name.]
- UnlockCovenant (Int32 level = 10) [Unlock a covenant level.]
- UnlockFeature (String feature) [Unlock a feature from ListFeatures]
- UnlockNewClasses [Unlock the MT2 classes.]
- UnlockPyreHeart (String pyreCharacterName) [Unlocks a pyre heart. Usage is UnlockPyreHeart {characterid or name}]
- UnlockRoomCosmetic (String roomName) [Unlocks a room cosmetic. Usage is UnlockRoomCosmetic {room data id or name}]
- UnMasterAllCards [Remove mastery from all cards]
- UnseeAllOneTimeMessages [Unsee all one-time messages]
- UpgradeCard (String enhancerName) [Upgrade a card]
- ValidateAttack (String unitId, String attackString) [Validate the Attack for the unit of the given ID. See IDs by using the command unitinfo. Usage is validateattack {id} {attack}]
- ValidateHp (String unitId, String hpString) [Validate the HP for the unit of the given ID. See IDs by using the command unitinfo. Usage is validatehp {id} {hp}]
- ValidatePosition (String unitId, String roomString, String positionString) [Validate the spawn position in a room for the given ID. See IDs by using the command unitinfo. Usage is validateposition {id} {room} {position}]
- ValidateRoomEmpty (String team, String roomString) [Validate that a room with the given index (0 to 3) has no units of a specific team (player/enemy). Usage is validateroomempty {team} {index}]
- Wait (Int32 time) [Wait for the set amount of time in milliseconds. Parameter is an integer.]
- WaitForBattleStart [Wait for the next battle to start. Used by cheat scripts that have Undo or RestartBattle in them.]
- WaitForSpacebar [Wait for the user to hit the spacebar. Used by cheat scripts.]
- Warning [Force a warning to be logged. This is used to test our pipeline.]
- WinAnyChallenge (Int32 numToWin = 1) [Marks a single-player challenge as won.]
- WinRun [Win the current run.]
- WinWithAllClassCombos [Win with all class combos.]
- WriteYesterdaysChallenge (String fileName) [Write yesterday's challenge's starting conditions to a file in MonsterTrain2\editor-save\starting-conditions]
- XP (String amount) [Add XP to the main class.
Usage is xp {amount} where amount is a positive number.]