Dark and Light: Admin Commands: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
[wiki:ss-claude-11372] Fixes: wrong or outdated steps, labels and facts corrected, current pictures, dead links fixed, search title and description
[wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17)
Line 3: Line 3:
|description=Dark and Light admin commands and cheats: open the console with the number pad plus key, log in with enablecheats, then fly, god mode, taming and more.
|description=Dark and Light admin commands and cheats: open the console with the number pad plus key, log in with enablecheats, then fly, god mode, taming and more.
}}
}}
One must make themselves admin before using admin commands and cheats.
Make yourself admin before you use admin commands and cheats.


#Login to your server and press the '''+''' button (by default) on the numpad key.
#Join your server and press '''+''' on the number pad (the default key).
#Type '''enablecheats YOURADMINPASSWORD''' and press enter. <br>(The admin password can be set with '''Admin Pass''' in your Command Center)
#Type '''enablecheats YOURADMINPASSWORD''' and press Enter. <br>(Set the admin password with '''Admin Pass''' on the Game Server page in the Command Center.)
#Type '''setcheatplayer true''' to access an Admin overlay with basic information
#Type '''setcheatplayer true''' to open an admin overlay with basic information.
#Type '''ShowMyAdminManager''' to open up an Admin manager UI with more advanced features
#Type '''ShowMyAdminManager''' to open the admin manager, which has more advanced tools.


==Admin Commands==
==Admin commands==


{| class="wikitable"
{| class="wikitable"
! Command !! Description
! Command !! What it does
|-
|-
| style="width: 18em | '''cheat god''' || Enables invincibility mode so no enemy can kill you. You can still die of dehydration etc.
| style="width: 18em | '''cheat god''' || Makes you invincible, so no enemy can kill you. You can still die of dehydration and the like.
|-
|-
| '''cheat fly''' || Fly into the air rather than walk.
| '''cheat fly''' || Lets you fly instead of walk.
|-
|-
|  '''cheat walk''' || Deactivates flying and allows you to walk again.
|  '''cheat walk''' || Turns off flying so you walk again.
|-
|-
| '''cheat ghost''' || similar to '''cheat fly''', except this lets you move through any object or barrier.
| '''cheat ghost''' || Like '''cheat fly''', but you can 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 destroyallenemies''' || Destroys every creature in the game, including your tames. Creatures slowly respawn, but the tames are gone.
|-
|-
| '''cheat destroywilddinos''' || Destroys all creatures from the entire game, except the ones that were tamed by players.
| '''cheat destroywilddinos''' || Destroys every creature in the game except the ones players tamed.
|-
|-
| '''cheat giveresources''' || automatically get 50 of all resources.
| '''cheat giveresources''' || Gives you 50 of every resource.
|-
|-
| '''cheat addexperience 1000''' || Gives you 1000xp. 1000xp can be changed.
| '''cheat addexperience 1000''' || Gives you 1000 XP. Change 1000 to any amount.
|-
|-
| '''cheat giveitemnum <number>''' || Gives the Specified Item.
| '''cheat giveitemnum <number>''' || Gives you the item with that number.
|-
|-
|  '''cheat forcetame ''' || Forcing taming a creature. Type the command while looking at a creature.
|  '''cheat forcetame ''' || Tames a creature at once. Type it while looking at the creature.
|-
|-
| '''cheat destroymytarget''' || Destroys the object or enemy you are looking at.
| '''cheat destroymytarget''' || Destroys the object or enemy you're looking at.
|-
|-
| '''cheat setplayerpos''' || Teleports you to specified coordinates 0 0 0 (X Y Z).
| '''cheat setplayerpos''' || Teleports you to the coordinates you give (X Y Z, for example 0 0 0).
|-
|-
| '''cheat slomo 5''' || Changes the speed on the server such as player movement. Use slomo 1 to revert to normal speed.
| '''cheat slomo 5''' || Changes the game speed on the server, such as player movement. Use slomo 1 to go back to normal speed.
|-
|-
| '''cheat playersonly''' || Freezes absolutely everything except players, this even includes crafting.
| '''cheat playersonly''' || Freezes everything except players, even crafting.
|-
|-
| '''cheat infinitestats''' || Gives you infinite stats, except for mana and focus.
| '''cheat infinitestats''' || Gives you infinite stats, except for mana and focus.
Line 47: Line 47:
| <code>cheat enemyinvisible true/false</code> || Makes all creatures ignore you even if you attack them.
| <code>cheat enemyinvisible true/false</code> || Makes all creatures ignore you even if you attack them.
|-
|-
| '''ShowMyAdminManager ''' || Opens the in game server management interface.
| '''ShowMyAdminManager ''' || Opens the in-game server manager.
|-
|-
| '''cheat GmBuff''' || Level you up to level 60 and activates the commands "enemyinvisible" and "infinitestats".
| '''cheat GmBuff''' || Takes you to level 60 and turns on the "enemyinvisible" and "infinitestats" commands.
|-
|-
| '''cheat unlockschema''' || Unlocks all the recipes for your character until you reload the game.
| '''cheat unlockschema''' || Unlocks all the recipes for your character until you reload the game.
|}
|}


==Client Commands==
==Player commands==
{| class="wikitable"
{| class="wikitable"
! Command !! Description
! Command !! What it does
|-
|-
| style="width: 18em | '''stat fps''' || Shows your fps, usable by anyone. Commands do not need to be enabled for this.
| style="width: 18em | '''stat fps''' || Shows your FPS. Anyone can use it, and it works without cheats turned on.
|-
|-
| '''stat unit''' || Shows your GPU and CPU stats, usable by anyone. Commands do not need to be enabled for this.
| '''stat unit''' || Shows your GPU and CPU stats. Anyone can use it, and it works without cheats turned on.
|}
|}


Need a host? [https://www.survivalservers.com/services/game_servers/dark_and_light/ Dark and Light server hosting] from Survival Servers comes with instant setup and 24/7 support.
[https://www.survivalservers.com/services/game_servers/dark_and_light/ Dark and Light server hosting] from Survival Servers comes with instant setup and 24/7 support.

Revision as of 08:41, 17 November 2026

Make yourself admin before you use admin commands and cheats.

  1. Join your server and press + on the number pad (the default key).
  2. Type enablecheats YOURADMINPASSWORD and press Enter.
    (Set the admin password with Admin Pass on the Game Server page in the Command Center.)
  3. Type setcheatplayer true to open an admin overlay with basic information.
  4. Type ShowMyAdminManager to open the admin manager, which has more advanced tools.

Admin commands

Command What it does
cheat god Makes you invincible, so no enemy can kill you. You can still die of dehydration and the like.
cheat fly Lets you fly instead of walk.
cheat walk Turns off flying so you walk again.
cheat ghost Like cheat fly, but you can move through any object or barrier.
cheat destroyallenemies Destroys every creature in the game, including your tames. Creatures slowly respawn, but the tames are gone.
cheat destroywilddinos Destroys every creature in the game except the ones players tamed.
cheat giveresources Gives you 50 of every resource.
cheat addexperience 1000 Gives you 1000 XP. Change 1000 to any amount.
cheat giveitemnum <number> Gives you the item with that number.
cheat forcetame Tames a creature at once. Type it while looking at the creature.
cheat destroymytarget Destroys the object or enemy you're looking at.
cheat setplayerpos Teleports you to the coordinates you give (X Y Z, for example 0 0 0).
cheat slomo 5 Changes the game speed on the server, such as player movement. Use slomo 1 to go back to normal speed.
cheat playersonly Freezes everything except players, even 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 manager.
cheat GmBuff Takes you to level 60 and turns on the "enemyinvisible" and "infinitestats" commands.
cheat unlockschema Unlocks all the recipes for your character until you reload the game.

Player commands

Command What it does
stat fps Shows your FPS. Anyone can use it, and it works without cheats turned on.
stat unit Shows your GPU and CPU stats. Anyone can use it, and it works without cheats turned on.

Dark and Light server hosting from Survival Servers comes with instant setup and 24/7 support.