How do I use admin commands? What commands are available?

Post Reply
User avatar
Spray
Staff
Staff
Posts: 565
Joined: Wed Dec 28, 2011 10:41 pm
Location: Oregon

How do I use admin commands? What commands are available?

Post by Spray » Sun Sep 24, 2017 9:26 pm

Admin commands are typed in chat, starting with either an @ or a /. For example:

Code: Select all

/say Hello
A current list of admin commands are as follows:

Admin <SteamID | Player> - Adds the specified player to the list of users allowed to use admin commands in the chat.
Admins - Shows a list of the current admins.
Airdrop - This forces a dropship to fly over and perform an airdrop.
Ban <SteamID | Player>/<Reason>/<Duration> - Bans the specified player for a specified reason (optional) and duration (optional). Default is one year, or 31,536,000 seconds as shown in console. Users attempting to connect to the server will see the remaining seconds and reason for the ban.
Bans - Shows a list of the current bans.
Chatrate <Number> - Assigns a minimum time between chat messages to prevent spamming.
Cheats <Enable | Disable> -Allows your server to access certain commands, such as Give, and can only be used in the server's commands.dat file.
Cycle <Number> - Assigns the length of the day/night cycle in seconds.
Day - Assigns the current time to day.
Debug - Provides information on the state of the server.
Experience <SteamID | Player>/<Experience> - Gives a specified player experience.
Filter - Filters out players with non-English-alphanumeric names.
Flag <SteamID | Player>/<Flag>/<Value> - Sets a player's flag.
Give <SteamID | Player>/<ItemID>/Amount - Gives the specified player an item.
Gold - Restricts the server to only allow Gold players.
Help <Command> - Provides information on the specified command.
Hide_Admins - Admins will appear as if they are normal players. Also allows the recording of cinematic footage without the admin labels visible to players.
Kick <SteamID | Player>/<Reason> - Disconnects the specified player from the server.
Kill <SteamID | Player> - Kills the specified player in-game.
Loadout <SkillsetID>/<ItemID>/<ItemID>/... - Gives players each item when spawning. Using a skillset ID of 255 gives the item to everyone.
Note: Can only be used in a server console or the server's Commands.dat file. SkillsetIDs are from 0-10 in the same order as displayed when editing a survivor. 255 = All Skillsets.
Log <Chat>/<Join/Leave>/<Death> - Enables logging Chat/Join/Leave/Death messages. Each parameter can only be Y or N. (eg. log y/y/y will log all chat, connections and death messages.)
Map <Level> - Sets the map that the server loads on startup.
MaxPlayers <Number> - Sets the maximum number of connections the server is willing to accept.
Mode <Easy | Normal | Hard> - Assigns the difficulty of the server.
Name <Text> - Assigns the name of the server on the server list.
Night - Assigns the current time to night.
Owner <SteamID> - Gives admin rights to the steamid. Must be placed in the server's Commands.dat file.
Password <Text> - Assigns the codeword required for entry to the server.
Permit <SteamID>/<Tag> - Adds the specified player to the list of users allowed to join the server. (e.g. 76561198267201306/SDGNelson)
Permits - Shows a list of the current players allowed to join the server.
Perspective <First | Third | Both> - Assigns the perspective of the server.
Players - Shows a list of the current player on the server.
PvE - Disables player versus player combat in favor of player versus environment.
Queue_Size <Number> - Sets the maximum number of queued connections the server is willing to hold on to.
Reputation <SteamID | Player>/<Reputation> - Gives a player some reputation.
ResetConfig - Resets the config.dat file to the default values.
Save - Forces a proper save of the server state.
Say <Text>/<R>/<G>/<B> - Broadcasts a message to all of the connected clients.
Shutdown <Delay> - Properly saves the server state, disconnects the clients and closes the server.
Slay <SteamID | Player> - Kills the specified player in-game and bans them for 31,536,000 seconds (one year).
Spy <SteamID | Player> - Requests a screenshot from the target player and saves it on the caller's computer as Spy.jpg.
Storm - Toggles rain.
Sync - Allows players to share savedata between your servers.
Teleport <SteamID | Player>/<SteamID | Player | Location> - Teleports the first player to the second or a location.
Time <Number> - Assigns the current time in seconds of the day/night cycle.
Timeout <Number> - Assigns a maximum ping threshold to the server before a client is kicked.
Unadmin <SteamID | Player> - Removes the specified player from the list of users allowed to use admin commands in the chat.
Unban <SteamID> - Removes the specified player from the list of users not allowed to join the server.
Unpermit <SteamID> - Removes the specified player from the list of users allowed to join the server.
Vehicle <SteamID | Player>/<VehicleID> - Gives the specified player a vehicle.
Votify <Vote Allowed Y|N>/<Pass Cooldown>/<Fail Cooldown>/<Vote Duration>/<Vote Percentage>/<Required Players> - Sets up voting. Pass/fail cooldown specifies the amount of time that players must wait after a successful/failed vote before initiating another vote. Vote duration specifies the amount of time for each vote to remain active. Vote percentage indicates the percentage of "yes" votes required for a successful vote and must be expressed in decimals (e.g., 0.6 for 60%). Required players specifies the minimum number of connected players in order to initiate a vote.
Welcome <Text>/<R>/<G>/<B> - Sets a chat box welcome message shown to clients when connected to the server.
Whitelisted - This makes only permitted players allowed to join the server.

Post Reply