Survive the Nights

Survive the Nights

评价数不足
Admin Commands
由 DamuWamuu 制作
In this guide I will show you the list of commands for administrators

This list was made by the site: Gamepedia

Original link: https://survivethenights.fandom.com/wiki/Admin_Commands

In order for these commands to work is by changing the server's permission.

C: Steam \ steamapps \ common \ Survive the Nights \ SurviveTheNights_Win_Data \ StreamingAssets \ Server \ STN_Dedicated_Server_Data \ StreamingAssets \ Config_Template

Read the "UserPermissions_README.txt" for instructions of how to change it
3
   
奖励
收藏
已收藏
取消收藏
List of commands
Command
Description
Example
/add
Adds to your own stats and takes stat name as argument.
/add hydration 100
/add <stat> <name>
Adds stats to another player.
/add hydration 100 JB
/ban <name>
Bans a player from a server.
/ban JB
/benchmark <res> <settings> <filename>
Runs a benchmark test and spits out a text file with results
/benchmark 1080p ultra test1
/checksnow
Returns the amount of snow in the air and on the ground in chat.
/cleanup <num>
Allows you to clean up the area of pickups within a given radius.
/cleanup 100
/clear
Clears the entire chat log.
/day <num>
Allows you to change the day of the server.
/day 5
/daylength <num>
Sets the day length in seconds.
/daylength 60
/deleteall
Deletes everything from inventory.
/deleteall <name>
Deletes everything from another players inventory
/deleteall JB
/dronecam
Enables a player to fly a camera around like a drone. Additional commands are on screen in this mode.
/dropall
Drops everything from your inventory.
/dropall <name>
Drops everything from another player inventory.
/dropall JB
/flipcoin
Flips a coin and returns the result (heads/tails) in chat for all user to see.
/give [name] <itemID> [qty]
Give items to yourself or another player.
/give 2502 3
/give JB 2502 10" "/givecatagory /givecat"
Give you one of every item in a specfic catagory
/givecat 3
/god
Toggles god mode on/off. Zombies will ignore and no visible damage effects.
/help <command>
Displays help for a particular command in chat.
/help give
/help commands
Lists all commands in the game.
/invincible
Sets yourself to be invincible, however zombies will still attack and you will see damage effects. You will not receive actual damage.
/kick
Kicks a player from the server
/kick JB
/kill <num>
Kills AI in a radius.
/kill 100
/killplayer <name>
Kills another player.
/killplayer JB
/lookup <item>
Tries to find the item with the name you partially typed in and then returns the itemID
/lookup cleaning
/mark <name> <color>
Marks a player with a colored dot in the player list.
/mark JB red
/month <num>
Sets the month on the server.
/month 6
/msg <name> <msg> /t <name> <msg> /tell <name> <msg>
PM another player
/msg JB Why isn't stacking fixed yet?
/mute <name>
Mutes a player in chat.
/mute JB
/pausestreaming <true/false>
Pauses streaming
/pausetime <true/false>
Enables/disables time progression
/qualitysetting
Shows what quality preset you are using
/qualitysettingcheck
Shows which quality preset you are using - a lower preset or a higher preset
/resetachievements
Unmarks a marked player (this is wrong in game)
/restart
Starts a vote to restart the server or casts a vote against one that is already happening.
/restartserver <num>
Restarts a server after <num> seconds.
/restart 60
/rolldice
Rolls two dice and return the sum in chat for all users to see.
/screenshot
Creates a screenshot and saves it to the desktop.
/screenshotmode
Opens the screenshot mode. Here you can create a screenshot using one of the different modes. Commands are shown on screen.
/setrank <name> <num>
Sets another players rank. Note: You can only set a player with lower rank than your own and only to a rank that is also lower than yours. Player must be online.
/setrank JB 2
/soundtest
Plays a sound.
/spawn
Spawns a chosen AI where your crosshair is pointing
/spawnatposition
Spawns an NPC at position
/spawn zombie 0,0,0
/stats
Shows the stats overlay.
/stuck
Attempts to adjust the players position when they're stuck.
/time
Setst he time in a server based on 24 hour cycle
/time 12
/tp <x> <y> <z>
Teleports you to X Y Z position in the world.
/tp 1 2 3
/tp me <name>
Teleports you to another player.
/tp me JB
/tp <name> <name2>
Teleports player to another player.
/tp JB Num47
/tp <name> me
Teleports a player to you.
/tp JB me
/tp <preset>
Teleports you to a preset location.
/tp me unionpoint
/tppreset [add/remove/list]
Helper utility for adding, removing and overwriting tp presets.
/tppreset list /tppreset add base /tppreset remove base
/trygive <item>
Tries to find the item of the name you partially typed in and gives you one of each item found.
/trygive axe
/unban <name>
Unban a player from the server
/unban JB
/unmark <name>
Unmarks a marked player.
/unmark JB
/unmute <name>
Unmutes a player in chat.
/unmute JB
/up
Teleports you up the the ground or onto a building above you.
/videomode
Enables/disables video mode. Video mode disables UI.
/weather <type>
Sets the weather on a server.
/weather snow
/weather <on/off>
Toggles the weather on and off.
10 条留言
Henk90 2024 年 9 月 6 日 上午 6:34 
hold "G" on your keyboard
Henk90 2024 年 9 月 6 日 上午 3:46 
here you will find it: appdata -> roaming -> survival the nights server -> worldsave etc etc -> serveruser
Num47 2024 年 6 月 20 日 下午 6:08 
/msg JB Why isn't stacking fixed yet?

/mute JB

this killed me lmao
André 2024 年 2 月 23 日 上午 6:50 
alguem poderia fazer um video passo a passo para usar o modo ADM
DamuWamuu  [作者] 2021 年 12 月 25 日 上午 12:37 
@Lisa I have never tried it in coop. I think it works the same modifying the files, only with a different folder. This article has not been updating for a long time and I highly doubt that I will, I have not played it for months.
Lisa 2021 年 12 月 24 日 下午 7:39 
I got it to work on solo, but not for co op. How do I get it to work? please, lol
eatanotherpie 2021 年 7 月 8 日 上午 11:31 
@-[CFH]-GHOST53 were you able to get it to work?
eatanotherpie 2021 年 7 月 8 日 上午 11:30 
hello, ive been trying to play about with the commands but i cant seem to find where the permission needs changed. When i am hosting is it the files from the browse option?
DamuWamuu  [作者] 2021 年 5 月 14 日 下午 9:04 
You need to change the permissions of the server. If you are hosting your own server or playing solo you need to change the permissions in the server's json files, you should open them with a word document or equivalent and read the README files for further information on how to change specific permissions.
-[CFH]-GHOST53 2021 年 5 月 14 日 下午 4:30 
i tryed they do not work