Citadel: Forged With Fire: Admin Commands: Difference between revisions

From Survival Servers
Jump to navigation Jump to search
Luke (talk | contribs)
No edit summary
[wiki:wiki-operator] Reworded to the house writing rules; facts that were wrong today corrected (approved by Ryan, Nov 17)
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
In order to use admin commands and cheats, one must make a password and make themselves admin.
{{#seo:
===Adding Pasword===
|title=Citadel Forged With Fire Admin Commands: Login and Cheats
#Navigate to '''\GameServerID\Citadel\Saved\Config\WindowsServer\Game.ini''' using [[FTP Access|FTP]].
|description=Citadel: Forged With Fire admin commands: set the admin password, log in with /admin_login, then kick, ban, teleport, give XP and regrow resources.
#In the Game.ini, find the line password. If it does not exist, please add one.<br>'''[/Script/Citadel.SocialManager]'''<br>'''Password='''
}}
===Adding Admin===
To use admin commands and cheats, set an admin password and make yourself admin.
===Adding a password===
#Navigate to '''\Citadel\Saved\Config\WindowsServer\Game.ini''' using [[FTP Access|FTP]].
#In Game.ini, find the password line. If it doesn't exist, add one:<br>'''[/Script/Citadel.SocialManager]'''<br>'''Password=YOURPASSWORD'''
#Save Game.ini.
Saving '''Server Config''' (under '''TOOLS''') rewrites Game.ini with its own '''Admin Password''', so set the password there under '''Base Config'''.
 
===Adding an admin===
#Start and join your server. After joining, press '''Enter''' to open chat.
#Start and join your server. After joining, press '''Enter''' to open chat.
#Type '''/admin_logon YOURPASSWORD''' and press '''Enter'''.
#Type '''/admin_login YOURPASSWORD''' and press '''Enter'''.
#You will be greeted with a message that you are logged in as admin.
#A message says you're logged in as admin.
==Admin Commands==
==Admin commands==
{| class="wikitable"
{| class="wikitable"
! Command !! Description
! Command !! Description
|-
|-
| style="width: 18em | '''/snapshot <br> /statdump''' || Dump to the log a snapshot of the world state when this command is issued, including actor counts and other performance-relevant data.
| style="width: 18em | '''/snapshot <br> /statdump''' || Writes a snapshot of the world to the log, including object counts and other performance data.
|-
| '''/server_kick <player> <reason> <br> /gtfo <player> <reason>''' || Kicks a player from the server for the reason you give. The player sees the reason.
|-
|  '''/server_ban <player> <reason> <br> /ban <player> <reason>''' || Bans a player from the server forever, and kicks them at once if they're online. The player sees the reason each time they try to log in again.
|-
|-
| '''/server_kick <player> <reason> <br> /gtfo <player> <reason>''' || Kick a player from the server for the reason specified. The player will be notified of the reason.
| '''/server_unban <player> <br> /unban <player>''' || Unbans a player from the server, so they can log in and play again.
|-
|-
| '''/server_ban <player> <reason> <br> /ban <player> <reason>''' || Bans a player from the server forever, and kicks them immediately if they are currently logged in. The reason is persisted and will be shown to the player on any future login attempts.
| '''/whois <player>''' || Shows information about the player, even if they're offline, including their Steam ID to identify them outside the game.
|-
|-
| '''/server_unban <player> <br> /unban <player>''' || Unbans a player from the server, allowing them to login and play again normally.
| '''/admin_delete <player> <br> /wipe <player>''' || Deletes the character from the server. An online player is kicked at once. Admins can delete their own characters with this command.
|-
|-
| '''/whois <player>''' || Returns information about the specified player, even if they are currently offline, including their SteamID for real-world identification.
| '''/admin_login <password> <br> /iamgod <password>''' || Logs you in as an admin. With the right password, you can run all cheat commands and admin commands.
|-
|-
| '''/admin_delete <player> <br> /wipe <player>''' || Deletes the specified character from the server. Online players will be immediately kick from the server. Admins can delete their own characters with this command.
| '''/admin_update <new_password>''' || Sets a new admin password. It's saved to the settings file and works at once. All other admins lose admin and must log in again with the new password. If someone who shouldn't have admin runs this and locks out the real admins, stop the server, change the password in the settings file and start it again.
|-
|-
| '''/admin_login <password> <br> /iamgod <password>''' || Attempt to log in as a remote administrator on the server. If the password supplied is the correct one, you will be have admin privileges on the server (able to execute all cheat commands and admin commands).
| '''/admin_logout''' || Removes your admin at once. Log in again with the right password to get it back.
|-
|-
| '''/admin_update <new_password>''' || Set a new admin password for the server. This will be saved into the ini as well as take effect immediately. After executing, all other admins will have their admin status revoked and must login again using this updated password. For a compromised server (someone unintended is able to execute this command and lock out real admins) the server should be shut down, the password changed in the ini, and the server restarted.
| '''/admin_autosave ''' || Saves all online characters and the world right away. Normally the game autosaves on a timer (every 10 minutes).
|-
|-
| '''/admin_logout''' || Causes admin privileges to be immediately revoked. They can be requested again afterwards by logging in again with the correct server password.
| '''/cinecam''' || Hides your character model, turns on smooth cam and toggles ghost.
|-
|-
| '''/admin_autosave ''' || Forces an immediate auto-save of the character data for all online characters and the present state of the world. Normally, this data is periodically auto-saved on a timer (currently 10 mins).
| '''/smoothcam''' || Makes the camera turn smoothly toward the way your character faces.
|-
|-
| '''/cinecam''' || The pawn will turn off its meshes, enable smooth cam and toggle ghost.
| '''/smoothness''' || Changes how smooth the smoothcam is. Values run from 0.5 to 5.
|-
|-
| '''/smoothcam''' || Causes the camera to interpolate over time towards the pawn’s facing rotation.
| '''/togglemeshes''' || Hides or shows your first-person view model. Useful for recording.
|-
|-
| '''/smoothness''' || Modify the smoothness of the smoothcam. Acceptable values are 0.5 - 5.
| '''/fly''' || Turns cheat flying on or off. It uses no mana, and you can change its speed. (Disabled)
|-
|-
| '''/togglemeshes''' || Toggles the first person view meshes so they can be hidden from view. Useful for recording.
| '''/ghost''' || Same as fly, but you pass through things. (Disabled)
|-
|-
| '''/fly''' || Same as fly except the player collision is disabled. (Disabled)
| '''/flightspeed ''' || Changes your flight speed when cheat flying.
|-
|-
| '''/ghost''' || Causes admin privileges to be immediately revoked. They can be requested again afterwards by logging in again with the correct server password.
| '''/admin_startstats''' || Starts recording a stat profile on the server for performance checks. These files grow large fast, so don't leave it recording for hours or days.
|-
| '''/admin_stopstats''' || End recording of a stat profile on the server.
|}


==Cheat commands==
{| class="wikitable"
! Command !! Description
|-
| style="width: 18em | '''/setname <newname>''' || Changes your player name. Names can be up to 12 characters, with no spaces, banned characters or offensive language.
|-
| '''/givexp <amount>''' || Gives you that much XP, which can raise you one or more levels. The limit is 0 to 10000 per command.
|-
|  '''/giveresources <amount>''' || Gives you that amount of each resource (wood, stone, rune energy). The limit is 0 to 1000 per command.
|-
| '''/resources ''' || Gives 10000 of each resource type (wood, stone, rune energy).
|-
| '''/givewood <amount>''' || Gives you that amount of wood. The limit is 0 to 1000 per command.
|-
| '''/givestone <amount>''' || Gives you that amount of stone. The limit is 0 to 1000 per command.
|-
| '''/giverune <amount>''' || Gives you that amount of rune. The limit is 0 to 1000 per command.
|-
| '''/givespell <spell indices>''' || Grants the player one or more spells in the game using the spell index from the Spell data table. (Unknown at this time)
|-
|-
| '''/flightspeed ''' || Modifies the player’s flight speed when cheat flying.
| '''/giveitem <item index> <amount> <Stat Range>''' || Grants the player one or more items in the game using the item index from the Item data tables.
|-
|-
| '''/admin_startstats''' || Start recording a stat profile on the server for performance analysis. These files can get quite large very quickly, and it is not advised to leave this recording for extended periods (ie hours or days).
| '''/giveallitems <br> /christmasmorning <br> /xmasmorning ''' || Gives you one of every item in the game's ItemTable, and first raises your carry limit so you can carry it all.
|-
|-
| '''/admin_stopstats''' || End recording of a stat profile on the server.
| '''/knowitall''' || Learns everything that can be learned in the game.
|-
| '''/spawnnpc <npc name> <amount> <level>''' || Spawns an NPC of that type near you. Amount and level are optional and both start at ‘1’. NPC names are all lowercase with no spaces, and are listed in the Monster data tables.
|-
| '''/regen''' || Regenerates your current health and mana pools to full.
|-
| '''/settime <value>''' || Sets the time of day, from 0 to 2400 (0 and 2400 are midnight, 1200 is noon).
|-
| '''/teleport <player>''' || Teleport next to the specified player.
|-
| '''/teleport <latitude> <longitude>''' || Teleport to a specific point on the map.
|-
| '''/regrow <br> /gardener <br> /iamadruid''' || Regrows every harvested resource in the world at once. Normally the game checks for regrowth about every 15 minutes. Most resources take several hours to return, and don't return while players or AI are nearby or something is built on top. This cheat regrows them all at once, except those blocked by buildings.
|-
| '''/suicide <br> /seppuku <br> /harakiri''' || Kills you at once with 1.0e+32 environmental damage, so all damage effects still trigger as normal.
|-
| '''/invincible <amount> <br> /superman <amount>''' || Sets your base damage reduction from 0 to 100%, then updates your stats. With no amount, it uses 100%.
|-
| '''/Masterbuilder''' || Lets you delete walls and build for free
|}
|}


==Cheat Commands==
[https://www.survivalservers.com/services/game_servers/citadel_forged_with_fire/ Rent a Citadel: Forged With Fire server] from Survival Servers and be online in minutes.
Coming Soon!

Latest revision as of 08:41, 17 November 2026

To use admin commands and cheats, set an admin password and make yourself admin.

Adding a password

  1. Navigate to \Citadel\Saved\Config\WindowsServer\Game.ini using FTP.
  2. In Game.ini, find the password line. If it doesn't exist, add one:
    [/Script/Citadel.SocialManager]
    Password=YOURPASSWORD
  3. Save Game.ini.

Saving Server Config (under TOOLS) rewrites Game.ini with its own Admin Password, so set the password there under Base Config.

Adding an admin

  1. Start and join your server. After joining, press Enter to open chat.
  2. Type /admin_login YOURPASSWORD and press Enter.
  3. A message says you're logged in as admin.

Admin commands

Command Description
/snapshot
/statdump
Writes a snapshot of the world to the log, including object counts and other performance data.
/server_kick <player> <reason>
/gtfo <player> <reason>
Kicks a player from the server for the reason you give. The player sees the reason.
/server_ban <player> <reason>
/ban <player> <reason>
Bans a player from the server forever, and kicks them at once if they're online. The player sees the reason each time they try to log in again.
/server_unban <player>
/unban <player>
Unbans a player from the server, so they can log in and play again.
/whois <player> Shows information about the player, even if they're offline, including their Steam ID to identify them outside the game.
/admin_delete <player>
/wipe <player>
Deletes the character from the server. An online player is kicked at once. Admins can delete their own characters with this command.
/admin_login <password>
/iamgod <password>
Logs you in as an admin. With the right password, you can run all cheat commands and admin commands.
/admin_update <new_password> Sets a new admin password. It's saved to the settings file and works at once. All other admins lose admin and must log in again with the new password. If someone who shouldn't have admin runs this and locks out the real admins, stop the server, change the password in the settings file and start it again.
/admin_logout Removes your admin at once. Log in again with the right password to get it back.
/admin_autosave Saves all online characters and the world right away. Normally the game autosaves on a timer (every 10 minutes).
/cinecam Hides your character model, turns on smooth cam and toggles ghost.
/smoothcam Makes the camera turn smoothly toward the way your character faces.
/smoothness Changes how smooth the smoothcam is. Values run from 0.5 to 5.
/togglemeshes Hides or shows your first-person view model. Useful for recording.
/fly Turns cheat flying on or off. It uses no mana, and you can change its speed. (Disabled)
/ghost Same as fly, but you pass through things. (Disabled)
/flightspeed Changes your flight speed when cheat flying.
/admin_startstats Starts recording a stat profile on the server for performance checks. These files grow large fast, so don't leave it recording for hours or days.
/admin_stopstats End recording of a stat profile on the server.

Cheat commands

Command Description
/setname <newname> Changes your player name. Names can be up to 12 characters, with no spaces, banned characters or offensive language.
/givexp <amount> Gives you that much XP, which can raise you one or more levels. The limit is 0 to 10000 per command.
/giveresources <amount> Gives you that amount of each resource (wood, stone, rune energy). The limit is 0 to 1000 per command.
/resources Gives 10000 of each resource type (wood, stone, rune energy).
/givewood <amount> Gives you that amount of wood. The limit is 0 to 1000 per command.
/givestone <amount> Gives you that amount of stone. The limit is 0 to 1000 per command.
/giverune <amount> Gives you that amount of rune. The limit is 0 to 1000 per command.
/givespell <spell indices> Grants the player one or more spells in the game using the spell index from the Spell data table. (Unknown at this time)
/giveitem <item index> <amount> <Stat Range> Grants the player one or more items in the game using the item index from the Item data tables.
/giveallitems
/christmasmorning
/xmasmorning
Gives you one of every item in the game's ItemTable, and first raises your carry limit so you can carry it all.
/knowitall Learns everything that can be learned in the game.
/spawnnpc <npc name> <amount> <level> Spawns an NPC of that type near you. Amount and level are optional and both start at ‘1’. NPC names are all lowercase with no spaces, and are listed in the Monster data tables.
/regen Regenerates your current health and mana pools to full.
/settime <value> Sets the time of day, from 0 to 2400 (0 and 2400 are midnight, 1200 is noon).
/teleport <player> Teleport next to the specified player.
/teleport <latitude> <longitude> Teleport to a specific point on the map.
/regrow
/gardener
/iamadruid
Regrows every harvested resource in the world at once. Normally the game checks for regrowth about every 15 minutes. Most resources take several hours to return, and don't return while players or AI are nearby or something is built on top. This cheat regrows them all at once, except those blocked by buildings.
/suicide
/seppuku
/harakiri
Kills you at once with 1.0e+32 environmental damage, so all damage effects still trigger as normal.
/invincible <amount>
/superman <amount>
Sets your base damage reduction from 0 to 100%, then updates your stats. With no amount, it uses 100%.
/Masterbuilder Lets you delete walls and build for free

Rent a Citadel: Forged With Fire server from Survival Servers and be online in minutes.