Console commands

**Numpad+** opens the Console Command bar. You can change it in the Options menu.

## Basic Commands

**NOTE:** On a single player server most commands need to be prefixed with the word **cheat**. The VERY old **admincheat** is no longer needed. In fact, it has never been required for Dark and Light

Command Description

- **cheat god** - Enables invincibility mode so no enemy can kill you. You can still die of dehydration etc.
- **cheat fly** - Fly into the air rather than walk
- **cheat walk** - Deactivates flying and allows you to walk again
- **cheat ghost** - similar to the previous one, except this lets you move through any object or barrier
- **cheat destroyallenemies** - This command destroys ALL CREATURES from the entire game, including those you have tamed. They will slowly respawn, but tames are gone.
- **cheat destroywilddinos** - Destroys all creatures from the entire game, except the ones that were tamed by players.
- **cheat giveresources** - automatically get 50 of all resources
- **cheat addexperience 1000 0 0** - Gives you 1000xp, you can change the value.
- **Cheat GiveItemNum <number>** - Gives the Specified Item, For a list of Entity ID's look here: DnL Entity ID's
- **cheat ForceTame** - Forcing taming a creature -> type command while looking at a creature.
- **cheat destroymytarget** - Destroys the object / enemy you are looking at.
- **cheat setplayerpos** - Teleports you to specified coordinates 0 0 0 (X Y Z).
- **cheat slomo 5** - Changes the speed on the server such as player movement, use slomo 1 to revert to normal speed
- **cheat playersonly** - Freezes absolutely everything except players, this even includes crafting
- **cheat infinitestats** - Gives you infinite stats, except for mana and focus
- **cheat enemyinvisible true/false** - Makes all creatures ignore you even if you attack them
- **ShowMyAdminManager** - Opens the in game server management interface.
- **cheat GmBuff** - Level you up to level 60 and activates the commands "enemyinvisible" and "infinitestats".
- **cheat unlockschema** - Unlocks all the recipes for your character until you reload the game.
## Client Commands

- **stat fps** - Shows your fps, usable by anyone. commands do not need to be enabled for this stat unit
- stat unit - Shows your GPU and CPU stats, usable by anyone. commands do not need to be enabled for this
- **Free camera type** - “cheat enablespectator”
- **Stop Camera type** - “stopspectating”
- **Set color for creature** - type “settargetdinocolor (color region) (color)”
## Spawning Creatures

Use the following code to spawn in a creature at any desired level (note the higher the level could cause server crash 1k+)

`spawndino (creature\_blueprint\_path) (x) (y) (z) (level)`

Example -> `spawndino "Blueprint'/Game/Mods/DarkAndLight/object/Monster/Wyvern/Wyvern_Character_BP.Wyvern_Character_BP'" 1 1 1 120`

GMSummon - Spawn creature tamed at any desired level (note the higher the level could cause server crash 1k+)

`GMSummon (creature\_classname) (level)`

Example -> `GMSummon "Albino_Deer_Character_BP_C" 120`

* The 1 1 1 is x y z cords from your position
* The 120 is level (this can be changed to any number but the higher the number the more lag /chance of server crash)

## Spawning Items

`giveitemnum (item ID) (quantity) (rarity 1-9) (0 for item, 1 for blueprint)`

Example -> `cheat giveitemnum 2 10 0 0`

* Gives the player 10 small chests.

For a lists of items by category see Item IDs. For a list of all IDs see Item IDs/full.