Dark and Light
Admin Commands / Console Commands
Here you can find a list of Console Commands provided by both the Community and the Developers of Dark and Light.
- Important -
You must be logged in as an Administrator in order to make use of this commands, otherwise you won't be able to use them.
Admin Commands
| Command | Syntax | Description | 
|---|---|---|
| cheat god | N/A | Disables any kind of damage that's inflicted to the player. | 
| cheat infinitestats | N/A | It gives the player the max stats as possible within your server. | 
| cheat fly | N/A | Makes the player light enough to allow them to fly instead of having the player walk. | 
| cheat walk | N/A | Similar to the one above, this restores regular walking. | 
| cheat destroyallenemies | N/A | It removes all the enemies found on the current world but will allow them to randomly respawn should a player require them. | 
| cheat giveresources | N/A | The game will give the player that uses this command, 50 resources of each kind. | 
| cheat addexperience | cheat addexperience 20000 0 0 | Gives the player the amount provided of experience, keep it between or below 99999999 otherwise it won't work. | 
| cheat giveitemnum | cheat giveitemnum 25 100 | Gives the player the amount requested of said item (cheat giveitemnum [ItemID] [Quantity]). | 
| cheat forcetame | N/A | It instantly tames the creature you're looking at. | 
| cheat destroymytarget | N/A | It destroys the enemy/object you're pointing at with your camera. | 
| cheat teleport | cheat teleport 32 100 -23 (XYZ) | It destroys the enemy/object you're pointing at with your cursor. | 
| cheat slowmo | cheat slowmo 5 | It slows downs the movements of any creature, player, etc on the entire server (Default: 1 | Normal Speed). | 
| cheat playersonly | N/A | It freezes every system on the game except the player (Note: Will stop crafting, etc). | 
| cheat enemyinvisible | cheat enemyinvisible true | Disables AI awareness such as Creatures/Enemies to players (It requires a Boolean value to work). |