Duck Game Wikia
Advertisement

The console is a way to control Duck Game in a way that wouldn't be possible otherwise, sort of like cheats. Most of these commands do not work in online multiplayer, some might crash the game or not work at all.

The console can be opened by using the ~ (tilde) key on US English keyboard layouts.


Cheats[]

Command Parameter(s) Use / Effect
spawn <itemname> <x> <y> Spawns an item or gun at the coordinate
give <player#> <Holdable object> <Special Code>
  • i (Make the gun gold)
  • e (Code to force equip)
  • h (Code to force equip in Holster)
  • ph (Code to force equip in Power Holster)
  • hp (Code to force equip in Power Holster)
Gives a player a holdeable object by name.

(Items, hats, weapons)

downpour Starts spawning random items (100).
kill <player#> Kills a player.
call <player#> <function>
  • Breath - Plays breath smoke animation.
  • CancelFlapping - Sets hovering to false.
  • Cook - Converts player to cooked duck.
  • Disappear - Effectively disappears character (by teleporting them to Y+9999)
  • DoFuneralStuff - Displays funeral effects over player and increases the funeralsReceived stat (does not actually perform funeral).
  • Draw - Internal duck function with no console use. Used for drawing player.
  • DrawConnectionIndicators - Internal duck function with no console use. Used for drawing player connection indicators above head.
  • DrawHat - Internal duck function with no console use. Used for drawing hat.
  • DrawIcon - Internal duck function with no console use. Used for drawing player icon.
  • DuckUpdate - Internal duck function with no console use.
  • Extinquish - Extinguishes player in normal, trapped, or ragdoll state (function misspelled intentionally).
  • GoRagdoll - Ragdolls player.
  • Initialize - Internal duck function with no console use. Used for initializing player.
  • InitProfile - Internal duck function with no console use. Used for initializing player profile.
  • NetworkUpdate - Internal duck function with no console use.
  • OnGhostObjectAdded - Internal duck function with no console use.
  • OnTeleport - Internal duck function with no console use.
  • PrepareIconForFrame - Internal duck function with no console use.
  • Removed - Deletes player. Don't use this from the console.
  • ResetNonServerDeathState - Sets isGhost, killed, forceDead, unfocused, beammode, imobilized, and other beam variables back to false. Sets active and solid variables to true. Sets unfocus and gravMultiplyer to 1.
  • Ressurect - Ressurects player.
  • Scream - Randomly plays a swear or yell noise.
  • SpecialNetworkUpdate - Internal duck function with no console use.
  • Swear - Randomly plays a swear or quack sound. If the Teams setting is ON and the player is wearing the Sailors hat, then the chance of swearing increases on each function call.
  • Terminate - Deletes player. Don't use this from the console.
  • Update - Internal duck function with no console use.
  • UpdateConnectionIndicators - Internal duck function with no console use.
  • UpdateLerp - Internal duck function with no console use.
  • UpdateMove - Internal duck function with no console use.
  • UpdateSkeleton - Internal duck function with no console use.
Modify a player's status and

make them do things by using various functions.

set <player#> <variable> <parameter1> <parameter2>

(True, False, Quantity, Scale, VectorX,Y)

  • <position> <x> <y>
  • <angle bouncy, breakforce, runmax, lives, friction, alpha> <quantity>
  • <velocity> <scale> <scale>
  • <ducksize, duckheight, duckwidth> <scale>
  • <dead, onfire, isghost, movelock> <bool>
  • <closingeyes, derpmindcontrol, gripped> <bool>
Modify a player's variables.
team <profile#> <teamname> Adds a player to an existing team.

Console Control[]

Command Parameter(s) Use / Effect
johnnygrey Unlocks a secret hat.
close Closes the console window.
modhash Shows a raw list of mods with hash and version.
fps Shows FPS in the corner of the screen.
rythmmode Plays a random track of the game.
sing <song> Plays a song or audio sfx from the game files 'Content/Audio'.
console <width, height, scale, font size> <number>

<font> <arial, calibri, courier new, comic sans>

<font> <clear, default, none>

Modify visual properties of the console.
chat <font size> <number>

<font> <arial, calibri, courier new, comic sans>

<font> <clear, default, none>

Modify visual properties of the chat.

Data Management Commands[]

Command Parameter(s) Use / Effect
localid Shows your local ID.
steamid Shows your steam ID.
clearmainprofile (!) Clears all data of main profile. (LOCAL)
clearsave (!) Clears all your save data locally and from the cloud. (STEAM)
recover (!) Recovers your pre 1.5 data and overwrittes the current. (STEAM)
managecloud Opens cloud managment menu (STEAM).
corptron Used to confirm commands like 'clearsave' and 'recover'.

Editor and Game Toggles[]

Command Parameter(s) Use / Effect
oldangles Toggles old angles from the previous version of the game.
splitscreen Toggles splitscreen in multiplayer mode
wagnus Toggles guides in editor for Wagnus teleport ranges.
poweruser Toggles power user mode in the editor.
qwopmode When enabled, horizontal movement is disabled unless in tumble mode.

You will have to trip and ragdoll.

fancymode Gives the players the Fancy Shoes
shieldmode (Unknown use).

Other[]

Debug[]

Command Parameter(s) Effect
mem Shows the memory in use with GC.
netdebug Enables Network Debugging.
showcollision Shows the collision boxes of entities, items and tile-entities.
showorigin Toggles origin crossmarker. (0x 0y)
showbounds Toggles the map bounds.
eight Fills all eight or aviable player spaces with fake players. && Enables 8 cells view in lobby.
toggle <Parallax, Virtual, Background, Game, Blocks, Glow, Lighting, Foreground, HUD, Console> Toggles whether or not a visual layer is visible.

Removed functionality[]

globalscores Calculates the "globalscore"
log <Description, Requestlogs, Accept (number)> No longer working, only creates log events.

Creates Description LOG-EVENT.

Creates Requestlogs LOG-EVENT.

Creates Accept (number) LOG-EVENT.

playback (Removed).
showislands (Removed).
scorelog Changes the "logscore"
stop (Removed).

Functions

Parameters
<cancelflapping, canmove, checktvjump, draw, drawconnectionindicatiors, drawhat, drawicon, duckupdate, getarmor, getedgepos, getpos, getproperties, hasjumpmodequipment, hastv, initialize, initprofile, isnetworkduck, isquacking, onteleport, prepareiconforframe, resetnonserverdeathstate, shoulddrawicon, specialnetworkupdate, update, updateconnectionindicators, updatelerp, updatemove, updateskeletonl>

Variables

WIP

Fonts

WIP
Advertisement