Skip to main content

Extra Console Commands (List)

This is a list of custom console commands that are included with the standard library. By default, they will not be enabled. You can enable them by upgrading your mod with ISCFeature.EXTRA_CONSOLE_COMMANDS. (Also see the Extra Console Commands feature documentation.)

As a quality of life feature, you do not have to match the casing of the command. For example, you can type the "addCharges" command as "addcharges", and it will still work the same.

Additionally, you can also abbreviate any command by omitting letters that do not overlap with any other command. For example, the command of "c" will be interpreted as the "card" command.

In order for the custom console commands to work, you first have to enable ISCFeature.EXTRA_CONSOLE_COMMANDS when upgrading your mod. (See the "Extra Console Commands (Init)" page for more details.)

Each command has a corresponding function of the same name, but these functions are not exported for end-user consumption. (This is to cut down on namespace conflicts and because the names of the functions are not very descriptive.)

Functions

addCharges

addCharges(params): void

Adds a single charge to the player's specified active item. You must provide the active slot number. Provide a second number to give a custom amount of charges. (You can use negative numbers to remove charge.)

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:151


angelRoom

angelRoom(): void

Warps to the Angel Room for the floor. If the Devil Room has already been visited or initialized, this will uninitialize it and make an Angel Room instead.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:196


ascent

ascent(): void

Activates the flags for the Ascent (i.e. Backwards Path).

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:201


bedroom

bedroom(): void

Warps to the first Clean Bedroom or Dirty Bedroom on the floor.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:209


blackHearts

blackHearts(params): void

Gives a half black heart. Provide a number to give a custom amount of hearts. (You can use negative numbers to remove hearts.)

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:233


blackMarket

blackMarket(): void

Warps to the Black Market for the floor.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:238


blind

blind(): void

Toggles permanent Curse of the Blind.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:243


bloodCharges

bloodCharges(params): void

Gives a blood charge. This only affects Bethany. Provide a number to give a custom amount of charges. (You can use negative numbers to remove charges.)

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:252


bm

bm(): void

Alias for the "blackMarket" command.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:269


bomb

bomb(params): void

Gives a bomb. Provide a number to give a custom amount of bombs. (You can use negative numbers to remove bombs.)

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:277


bombs

bombs(params): void

Gives 99 bombs. Provide a number to give a custom amount of bombs. (You can use negative numbers to remove bombs.)

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:297


boneHearts

boneHearts(params): void

Gives a bone heart. Provide a number to give a custom amount of hearts. (You can use negative numbers to remove hearts.)

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:317


boss

boss(): void

Alias for the "bossRoom" command.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:322


bossNextRoom

bossNextRoom(): void

Warps to the room next to the first Boss Room on the floor.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:327


bossRoom

bossRoom(): void

Warps to the first Boss Room on the floor (or the Delirium Boss Room if on The Void).

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:332


bossRush

bossRush(): void

Warps to the Boss Rush for the floor.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:357


brokenHearts

brokenHearts(params): void

Gives a broken heart. Provide a number to give a custom amount of hearts. (You can use negative numbers to remove hearts.)

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:365


card

card(params): void

Gives the specified card. Accepts either the card type or the partial name of the card.

For example:

  • card 5 - Gives The Emperor.
  • card spa - Gives 2 of Spades.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:376


cards

cards(): void

Spawns every card on the ground, starting at the top-left-most tile.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:407


cc

cc(): void

Alias for the "chaosCardTears" command.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:423


chaosCardTears

chaosCardTears(): void

Toggles Chaos Card tears for the player. Useful for killing enemies very fast without using "debug 10".

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:431


character

character(params): void

Restart as the specified character. Accepts either the character sub-type or the partial name of the character.

For example:

  • character 2 - Restarts as Cain.
  • character ta - Restarts as Tainted Azazel.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:444


charge

charge(params): void

Alias for the "addCharges" command.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:475


cleanBedroom

cleanBedroom(): void

Warps to the first Clean Bedroom on the floor.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:480


coin

coin(params): void

Gives a coin. Provide a number to give a custom amount of coins. (You can use negative numbers to remove coins.)

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:488


coins

coins(params): void

Gives 999 coins. Provide a number to give a custom amount of coins. (You can use negative numbers to remove coins.)

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:508


collectible

collectible(params): void

Alias for the "spawnCollectible" command.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:525


crawlSpace

crawlSpace(): void

Creates a crawl space next to the player.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:530


cursed

cursed(): void

Toggles permanent Curse of the Cursed.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:535


d20

d20(): void

Uses the D20.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:541


d6

d6(): void

Uses the D6.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:547


dadsNote

dadsNote(): void

Warps to the Mausoleum 2 Boss Room that has Dad's Note in it.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:553


damage

damage(params): void

Toggles a set damage stat for the player. You can provide an optional argument to this command in order to set the damage to a specific amount. Default is 500.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:563


darkness

darkness(): void

Toggles permanent Curse of Darkness.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:584


dd

dd(): void

Alias for the "devil" command.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:590


devilRoom

devilRoom(): void

Warps to the Devil Room for the floor. If the Angel Room has already been visited or initialized, this will uninitialize it and make an Devil Room instead.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:598


dirtyBedroom

dirtyBedroom(): void

Warps to the first Dirty Bedroom on the floor.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:603


disableCurses

disableCurses(): void

Toggles whether curses can appear.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:608


dogma

dogma(): void

Warps to the Dogma Boss Room.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:614


down

down(params): void

Moves the player 0.5 units down. Provide a number to move a custom amount of units.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:620


dungeon

dungeon(): void

Warps to the Dungeon (i.e. the crawl space room) for the floor.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:625


effects

effects(): void

Logs the player's current temporary effects to the "log.txt" file.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:630


errorRoom

errorRoom(): void

Alias for the "iAmError" command.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:637


eternalHearts

eternalHearts(params): void

Gives an eternal heart. Provide a number to give a custom amount of hearts. (You can use negative numbers to remove hearts.)

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:645


flies

flies(): void

Grants the maximum amount of blue flies to the player.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:650


flight

flight(params): void

Toggles flight for the player.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:656


fool

fool(): void

Alias for the "startingRoom" command.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:682


getChallenge

getChallenge(): void

Displays the current challenge, if any.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:687


getCharge

getCharge(params): void

Prints the charge for the specified slot. By default, will use ActiveSlot.PRIMARY.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:700


getPosition

getPosition(): void

Prints the current position of all players.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:720


giant

giant(): void

Toggles permanent Curse of the Giant.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:730


gigaBomb

gigaBomb(params): void

Gives a Giga Bomb. Provide a number to give a custom amount of Giga Bombs. (You can use negative numbers to remove bombs.)

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:739


goldBomb

goldBomb(): void

Alias for the "goldenBomb" command.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:756


goldHearts

goldHearts(params): void

Alias for the "goldenHearts" command.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:761


goldKey

goldKey(): void

Alias for the "goldenKey" command.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:766


goldPill

goldPill(): void

Alias for the "goldenPill" command.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:771


goldTrinket

goldTrinket(params): void

Alias for the "spawnGoldenTrinket" command.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:776


goldenBomb

goldenBomb(): void

Gives the player a golden bomb.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:781


goldenHearts

goldenHearts(params): void

Gives a golden heart. Provide a number to give a custom amount of hearts. (You can use negative numbers to remove hearts.)

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:790


goldenKey

goldenKey(): void

Gives the player a golden key.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:795


goldenPill

goldenPill(): void

Gives the player a golden pill.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:801


goldenTrinket

goldenTrinket(params): void

Alias for the "spawnGoldenTrinket" command.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:807


grid

grid(): void

Alias for the "debug 11" command. Useful for seeing the coordinates and grid index of each tile in the room.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:815


grid2

grid2(): void

Alias for the "gridCosts" command.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:820


gridCosts

gridCosts(): void

Alias for the "debug 2" command. Useful for seeing the grid costs of each tile in the room.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:825


gridEntities

gridEntities(): void

Spawns every grid entity, starting at the top-left-most tile.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:830


hearts

hearts(params): void

Gives a half red heart. Provide a number to give a custom amount of hearts. (You can use negative numbers to remove hearts.)

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:850


hitboxes

hitboxes(): void

Alias for the "debug 6" command.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:855


horse

horse(params): void

The same thing as the pill command, but gives a horse pill instead of a normal pill.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:860


hush

hush(): void

Warps to the Blue Womb Boss Room.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:865


iAmErrorRoom

iAmErrorRoom(): void

Warps to the I AM ERROR room for the floor.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:871


key

key(params): void

Gives a key. Provide a number to give a custom amount of key. (You can use negative numbers to remove keys.)

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:879


keys

keys(params): void

Gives 99 keys. Provide a number to give a custom amount of coins. (You can use negative numbers to remove keys.)

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:899


labyrinth

labyrinth(): void

Toggles permanent Curse of the Labyrinth.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:916


left

left(params): void

Moves the player 0.5 units left. Provide a number to move a custom amount of units.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:922


library

library(): void

Warps to the first Library on the floor.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:927


list

list(params): void

Logs the entities in the room to the "log.txt" file. Provide a number to only log that specific EntityType.

By default, this command will exclude background effects. If that is not desired, use the "listAll" command instead.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:938


listAll

listAll(params): void

Logs the entities in the room to the "log.txt" file. Provide a number to only log that specific EntityType.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:946


listGrid

listGrid(params): void

Logs the grid entities in the room to the "log.txt" file. Provide a number to only log that specific GridEntityType.

By default, this command will exclude walls. If that is not desired, use the "listGridAll" command instead.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:957


listGridAll

listGridAll(params): void

Logs the grid entities in the room to the "log.txt" file. Provide a number to only log that specific GridEntityType.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:965


lost

lost(): void

Toggles permanent Curse of the Lost.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:970


lowHP

lowHP(): void

Alias for the "1hp" command.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:976


luck

luck(): void

Alias for "debug 9".

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:981


mana

mana(params): void

Alias for the "poopMana" command.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:986


map

map(): void

Completely reveals the entire map, including the Ultra Secret Room.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:991


maxHearts

maxHearts(params): void

Gives a heart container. Provide a number to give a custom amount of heart containers. (You can use negative numbers to remove heart containers.)

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1013


maze

maze(): void

Toggles permanent Curse of the Maze.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1018


megaSatan

megaSatan(): void

Warps to the Mega Satan room on the floor. (Every floor has a Mega Satan room.)

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1024


miniboss

miniboss(): void

Warps to the first Miniboss Room on the floor.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1029


music

music(): void

Logs the currently playing music track to the "log.txt" file.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1034


noCurses

noCurses(): void

Alias for the "disableCurses" command.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1040


oneHP

oneHP(): void

Sets every NPC in the room to 1 HP.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1045


pill

pill(params, isHorse?): void

Gives a pill with the specified pill effect. Accepts either the effect ID or the partial name of the effect.

For example:

  • pill 5 - Gives a "Full Health" pill.
  • pill suns - Gives a "Feels like I'm walking on sunshine" pill.

Parameters

NameTypeDefault value
paramsstringundefined
isHorsebooleanfalse

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1062


pills

pills(): void

Spawns every pill on the ground, starting at the top-left-most tile.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1105


planetarium

planetarium(): void

Warps to the first Planetarium on the floor.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1141


playSound

playSound(params): void

Alias for the "sound" command.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1146


pocket

pocket(params): void

Sets the player's pocket item to the specified collectible type.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1151


poop

poop(): void

Creates a poop grid entity next to the player.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1171


poopMana

poopMana(params): void

Gives a poop mana charge. This only affects Tainted Blue Baby. Provide a number to give a custom amount of charges. (You can use negative numbers to remove charges.)

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1183


position

position(): void

Alias for the "getPosition" command.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1200


redHearts

redHearts(params): void

Alias for the "hearts" command.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1205


reloadRoom

reloadRoom(): void

Starts a room transition to the same room that you are already in.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1210


right(params): void

Moves the player 0.5 units right. Provide a number to move a custom amount of units.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1215


room

room(): void

Logs information about the room to the "log.txt" file.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1220


rottenHearts

rottenHearts(params): void

Gives a rotten heart. Provide a number to give a custom amount of hearts. (You can use negative numbers to remove hearts.)

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1229


runTests

runTests(): void

Run the suite of tests that prove that the "deepCopy" helper function and the "merge" function work properly. For more information, see the runDeepCopyTests and the runMergeTests functions.

In general, running the tests is only useful if you are troubleshooting the save data manager.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1240


s

s(params): void

Alias for the "stage" command.

For example:

  • s 3 - Warps to Caves 1.
  • s 1c - Warps to Downpour 1.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1252


sacrificeRoom

sacrificeRoom(): void

Warps to the first Sacrifice Room on the floor.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1286


secretRoom

secretRoom(): void

Warps to the first Secret Room on the floor.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1291


secretShop

secretShop(): void

Warps to the Secret Shop that you would normally get to with a Member Card.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1296


seedStick

seedStick(): void

Changes to a seeded run, using the seed of the current run.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1301


seeds

seeds(): void

Logs all of the current run's seed effects to the "log.txt" file.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1309


setCharges

setCharges(params): void

Sets a charge to the player's specified active item. You must provide the active slot number and the number of charges to set.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1318


setPosition

setPosition(params): void

Moves the first player to the specified position.

For example:

  • setPosition 100 50

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1371


shop

shop(): void

Warps to the first shop on the floor.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1407


smelt

smelt(): void

Uses the Smelter to smelt the current player's trinket.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1412


soulCharges

soulCharges(params): void

Gives a soul charge. This only affects Tainted Bethany. Provide a number to give a custom amount of charges. (You can use negative numbers to remove charges.)

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1421


soulHearts

soulHearts(params): void

Gives a half soul heart. Provide a number to give a custom amount of hearts. (You can use negative numbers to remove hearts.)

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1441


sound

sound(params): void

Play the supplied sound effect.

For example:

  • sound 1 - Plays the 1-Up sound effect.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1451


sounds

sounds(): void

Logs all of the currently playing sound effects to the "log.txt" file.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1462


spam

spam(): void

Toggles spamming Blood Rights on every frame. Useful for killing enemies very fast without using "debug 10".

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1471


spawnCollectible

spawnCollectible(params): void

Spawns a collectible in the center of the room. You must specify the collectible name or the number corresponding to the collectible type.

For example, all of the following commands would spawn Spoon Bender:

spawnCollectible spoon bender
spawnCollectible spoon
spawnCollectible spo
spawnCollectible 3

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1489


spawnCollectibleAt

spawnCollectibleAt(params): void

Spawns a collectible at a specific grid tile location. You must specify the number corresponding to the collectible type and the number corresponding to the grid tile location.

For example, this would spawn Spoon Bender in the top-left corner of a 1x1 room:

spawnCollectibleAt 3 16

(You can use the "grid" command to toggle displaying the numerical grid indexes corresponding to a grid tile.)

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1532


spawnGoldTrinket

spawnGoldTrinket(params): void

Alias for the spawnGoldenTrinket command.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1573


spawnGoldenTrinket

spawnGoldenTrinket(params): void

The same thing as the spawnTrinket command but spawns a golden version of the specified trinket.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1581


spawnGoldenTrinketAt

spawnGoldenTrinketAt(params): void

The same thing as the spawnTrinketAt command but spawns a golden version of the specified trinket.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1589


spawnTrinket

spawnTrinket(params, golden?): void

Spawns a trinket in the center of the room. You must specify the trinket name or the number corresponding to the trinket type.

For example, all of the following commands would spawn the Wiggle Worm trinket:

spawnTrinket wiggle worm
spawnTrinket wiggle
spawnTrinket wig
spawnTrinket 10

Also see the spawnGoldenTrinket command.

Parameters

NameTypeDefault value
paramsstringundefined
goldenbooleanfalse

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1608


spawnTrinketAt

spawnTrinketAt(params, golden?): void

Spawns a trinket at a specific grid tile location. You must specify the number corresponding to the trinket type and the number corresponding to the grid tile location.

For example, this would spawn Wiggle Worm in the top-left corner of a 1x1 room:

spawnTrinketAt 10 16

(You can use the "grid" command to toggle displaying the numerical grid indexes corresponding to a grid tile.)

Parameters

NameTypeDefault value
paramsstringundefined
goldenbooleanfalse

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1654


speed

speed(params): void

Toggles a set movement speed and flight for the player. You can provide an optional argument to this command in order to set the speed to a specific amount. Default is 2.0 (which is the maximum that the stat can be set to).

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1698


spikes

spikes(): void

Creates a spikes grid entity next to the player.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1723


startRoom

startRoom(): void

Alias for the "startingRoom" command.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1732


startingRoom

startingRoom(): void

Warps to the starting room of the floor.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1737


superSecretRoom

superSecretRoom(): void

Warps to the first Super Secret Room on the floor.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1744


tears

tears(params): void

Toggles a set tear delay (e.g. fire rate) for the player. You can provide an optional argument to this command in order to set the tear delay to a specific amount. Default is 1 (which is equivalent to the Soy Milk tear rate).

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1753


tests

tests(): void

Alias for the "runTests" command.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1774


trapdoor

trapdoor(): void

Creates a trapdoor next to the player.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1779


treasureRoom

treasureRoom(): void

Warps to the first Treasure Room on the floor.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1784


trinket

trinket(params): void

Alias for the "spawnTrinket" command.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1789


ultraSecretRoom

ultraSecretRoom(): void

Warps to the first Ultra Secret Room on the floor.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1794


unknown

unknown(): void

Toggles permanent Curse of the Unknown.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1799


unseed

unseed(): void

If currently on a set seed, changes to an unseeded state and restarts the game.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1805


up

up(params): void

Moves the player 0.5 units up. Provide a number to move a custom amount of units.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1816


warp

warp(params): void

Warps to the specified room type. Accepts either the room type number or the partial name of the room type.

For example:

  • warp 5 - Warps to the first Boss Room on the floor, if any.
  • warp tr - Warps to the first Treasure Room on the floor, if any.

Parameters

NameType
paramsstring

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1828


xl

xl(): void

Alias for the "labyrinth" command.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/extraConsoleCommands/commands.ts:1857