Home > Guides > Fear the Night Console Commands

Fear the Night Console Commands

Console Commands

This is a guide to help Server Owners or Administrators. These commands can be used on Local Servers or Multiplayer Servers, you just need to be authenticated.

Other Fear the Night Guides:

How to use the Admin Commands

Logging in as Admin
Press Tab, or whatever you have bound your console key to and type

enablecheats <password>
example = enablecheats pass123

From here you can enter commands.

Whitelisting an Admin
This allows you to use commands without needing to login as Admin.

Create a file in the directory \Moonlight\Saved\ called AllowedCheaterSteamIDs.txt
It should look like this \Moonlight\Saved\AllowedCheaterSteamIDs.txt

From here, list on each line the Steam64 ID’s you wish to authorize, these users will be able to cheat without logging in as Admin. To get the Steam64 ID you can use https://steamid.io/

Admin Commands – Part 1

enablecheats <password> – Logs you in as the administrator

ShowMyAdminManager – Enables the Admin UI

cheat listplayers – Shows a list of all players on the server with their SteamID

cheat saveworld – Saves the current worldstate

cheat settimeofday <timestring> – Changes the time of day, for example cheat settimeofday 12:00

cheat god – Enables godmode, you can not die except you can still drown

cheat fly – Allows you to fly.

cheat walk – Deactivates flying and allows you to walk again.

cheat ghost – Turns on noclip, you are able to walk through walls and objects.

cheat destroyallenemies – Destroys all enemies, they respawn eventually.

cheat kill – Instantly kills the targeted creature or structure, leaving behind a corpse.

DestroyMyTarget – Instantly destroys the creature or structure in the current player’s crosshairs, without leaving any corpse.

cheat setplayerpos 0 0 0 Allows you to teleport to coords.

cheat SetPlayerSpeedModifier <number> Allows you run super fast, don’t go over 10.
cheat teleport Teleports you to coords 0 0 0 (X Y Z)

cheat teleporttoplayer <id> Teleports to the specificed player, use showmyadminmanager to get the 9 digit number to fill in the [id] field

cheat TeleportPlayerNameToMe <PlayerName> Teleports the player specified by their steam name.

cheat TeleportPlayerIDToMe <PlayerID> Teleports the player specified by their in-game ID to the current player.

cheat infinitestats Gives you infinite hunger, stamina and infinite ammo

cheat addexperience 1000 0 0 Gives you 1000xp, you can change the value and if you change the second 0 to a 1 it will share the xp among your tribe

cheat GiveExpToTarget <QTY> <tribeshared> <preventsharing> Same as AddExperience, but adds it to the player or robot you’re currently looking at

cheat giveexptoplayer <id> <QTY> <tribeshared> <preventsharing> Gives experience to another player, use showmyadminmanager for the required information. Unable to test currently.

Admin Commands – Part 2

Give Item via ID
cheat giveitemnum <ItemID> <QTY> <Quality> <True/False>
Info: Gives you an item, the list of items with their ID’s can be found below. Example: giveitemnum 0 1 0 false gives you 1 Arrow.

Give Item via Blueprint
cheat giveitem <ItemName> <QTY> <Quality> <True/False>
Info: Gives you an item of specified <ItemName> <QTY> <Quality> <True/False>. Example:giveitem “Blueprint’/Game/Moonlight/CoreBlueprints/Items/Consumable/Canned/MLItemConsumable_CannedFruit.MLItemConsumable_CannedFruit” 1 0 false gives you canneed fruit. A list of <ItemNames> can be found in the below package.

Gives Item to Player via ID
cheat giveitemnumtoplayer <PlayerID> <ItemID> <QTY> <Quality> <True/False>
Info: Gives <PlayerID> an item of specified, <ItemID> <QTY> <Quality> <True/False>. Example:giveitemnumtoplayer 399414114 0 1 0 false gives [PlayerID] 1 Arrow. A list of [ItemIDs] can be found below. [PlayerIDs] can be found using ShowMyAdminManager.

Gives Item to Player via Blueprint
cheat giveitemtoplayer <PlayerID> <ItemName> <QTY> <Quality> <True/False>
Info: Gives <PlayerID> an item of specified <ItemName> <QTY> <Quality> <True/False>. Example:giveitemtoplayer 399414114 “Blueprint’/Game/Moonlight/CoreBlueprints/Items/Consumable/Canned/MLItemConsumable_CannedFruit.MLItemConsumable_CannedFruit” 1 0 false gives <PlayerID> canned fruit. A list of <ItemNames> can be found in the below package. <PlayerIDs> can be found using ShowMyAdminManager.

POI / Lair: Teleport Commands

Starting Area cheat setplayerpos -307997 249448 -34000

[Area 1] School cheat setplayerpos -279294 228443 -34575

[Area 1] Lair cheat setplayerpos -219399 219810 -35550

[Area 2] Sewage Treatment cheat setplayerpos -93316 210034 -30000

[Area 2] Lair cheat setplayerpos -64697 237158 -30100

[Area 3] Grocery cheat setplayerpos -120312 114198 -31550

[Area 3] Lair cheat setplayerpos -203844 130668 -25275

[Area 4] Junkyard cheat setplayerpos -144304 80081 -31050

[Area 4] Lair cheat setplayerpos -182506 74779 -27850

[Area 5] Cement Plant cheat setplayerpos -214748 -18565 -31375

[Area 5] Lair cheat setplayerpos -217573 20714 -29450

[Area 6] Lumber cheat setplayerpos -38454 129409 -33350

[Area 6] Gas Station cheat setplayerpos -117981 63136 -32200

[Area 6] Lair cheat setplayerpos -81910 103939 -27650

[Area 7] Police Station cheat setplayerpos -41441 178845 -32700

[Area 7] Warehouse cheat setplayerpos -27600 239774 -31875

[Area 7] Lair cheat setplayerpos -21994 168890 -32975

[Area 8] Pharmacy cheat setplayerpos 124316 250505 -25650

[Area 8] Lair cheat setplayerpos 87027 239650 -25500

[Area 9] Factory cheat setplayerpos -213910 -56284 -35200

[Area 9] Lair #1 cheat setplayerpos -245124 -40896 -35950

[Area 9] Lair #2 cheat setplayerpos -245192 -131239 -36100

Scout / Enforcer Spawn Codes

cheat forcetame
It will automatically Tame what you are looking at.

Spawn Scout (Tamed)
cheat spawnactortamed “/Game/Moonlight/Character/UA/UA_Scout_01/UA_Scout_CharacterBP.UA_Scout_CharacterBP” 0 200 0

Spawn Enforcer (Tamed)
cheat spawnactortamed “/Game/Moonlight/Character/UA/UA_Enforcer_01/UA_Enforcer_CharacterBP.UA_Enforcer_CharacterBP” 0 200 0

Spawn Scout (Not Friendly)
cheat spawnactor “/Game/Moonlight/Character/UA/UA_Scout_01/UA_Scout_CharacterBP.UA_Scout_CharacterBP” <spawnDistance> <spawn-Y-offset> <Z-offset>

Spawn Enforcer (Not Friendly)
cheat spawnactor “/Game/Moonlight/Character/UA/UA_Enforcer_01/UA_Enforcer_CharacterBP.UA_Enforcer_CharacterBP” <spawnDistance> <spawn-Y-offset> <Z-offset>

Spawn Scout with Levels (Not Friendly)
cheat SpawnNpc “/Game/Moonlight/Character/UA/UA_Scout_01/UA_Scout_CharacterBP.UA_Scout_CharacterBP” <spawnDistance> <spawn-Y-offset> <Z-offset> <Level>

Spawn Enforcer with Levels (Not Friendly)
cheat SpawnNpc “/Game/Moonlight/Character/UA/UA_Enforcer_01/UA_Enforcer_CharacterBP.UA_Enforcer_CharacterBP” <spawnDistance> <spawn-Y-offset> <Z-offset> <Level>

Below is Commands made to Spawn Robots with Levels and Tamed

Spawn Scout with Levels (Tamed)
cheat SpawnNpc “/Game/Moonlight/Character/UA/UA_Scout_01/UA_Scout_CharacterBP.UA_Scout_CharacterBP” 100 0 0 50|cheat forcetame

Spawn Enforcer with Levels (Tamed)
cheat SpawnNpc “/Game/Moonlight/Character/UA/UA_Enforcer_01/UA_Enforcer_CharacterBP.UA_Enforcer_CharacterBP” 100 0 0 50|cheat forcetame

Leave a Comment