CryoFall/Server/Commands

From AtomicTorchWiki

CryoFall server commands

Please read the Server Setup Guide first.
This is just a list of all the server console commands.
You need to execute them right from the game by using in-game console as described in the Server Setup Guide.
Most of these commands are requiring server operator access.

Server commands list

/achievement.add
* Description: Add (unlock) achievement to a player.
* Type: server (operator only)
* Usage: 
  /achievement.add <achievement> [player]

/achievement.addAll
* Description: Add all achievements to a player.
* Type: server (operator only)
* Usage: 
  /achievement.addAll [player]

(/)achievement.listUnlocked
* Description: List unlocked achievements of a player.
* Type: client & server (operator only)
* Usage: 
  /achievement.listUnlocked [player]

/achievement.remove
* Description: Remove achievement from a player.
* Type: server (operator only)
* Usage: 
  /achievement.remove <achievement> [player]

/achievement.removeAll
* Description: Remove all achievements from a player.
* Type: server (operator only)
* Usage: 
  /achievement.removeAll [player]

/admin.giveawayItem
* Description: Adds specified item(s) to all player characters.
* Type: server (operator only)
* Usage: 
  /admin.giveawayItem <item> [count]

/admin.giveawayLP
* Description: Adds specified item(s) to all player characters.
* Type: server (operator only)
* Usage: 
  /admin.giveawayLP <learningPoints>

/admin.listCreativeModePlayers
* Description: Lists players currently in creative mode
* Type: server (operator only)
* Usage: 
  /admin.listCreativeModePlayers

/admin.listLandClaims
* Description: List all the land claims of the specified player or of all the players.
* Type: server (operator only)
* Usage: 
  /admin.listLandClaims
  /admin.listLandClaims <player>

/admin.listLandClaimsOwners
* Description: List all the land claims with their owners.
* Type: server (operator only)
* Usage: 
  /admin.listLandClaimsOwners [minOwnersNumber]

/moderatorAdd
/admin.moderator.add
* Description: Adds server moderator.
* Type: server (operator only)
* Usage: 
  /moderatorAdd [character]
  /admin.moderator.add [character]

/moderatorList
/admin.moderator.list
* Description: Lists server moderators.
* Type: server (operator only)
* Usage: 
  /moderatorList
  /admin.moderator.list

/moderatorRemove
/admin.moderator.remove
* Description: Removes server moderator.
* Type: server (operator only)
* Usage: 
  /moderatorRemove [character]
  /admin.moderator.remove [character]

/admin.notifyAll
* Description: Notifies all players on the server.
              Important: wrap the "message text in quotes"!
* Type: server (operator only)
* Usage: 
  /admin.notifyAll <message>

/opAdd
/admin.operator.add
* Description: Adds server operator.
* Type: server (operator only)
* Usage: 
  /opAdd [character]
  /admin.operator.add [character]

/opList
/admin.operator.list
* Description: Lists server operators.
* Type: server (operator only)
* Usage: 
  /opList
  /admin.operator.list

/opRemove
/admin.operator.remove
* Description: Removes server operator.
* Type: server (operator only)
* Usage: 
  /opRemove [character]
  /admin.operator.remove [character]

/pwn
/admin.pwn
* Description: Special debug command to add useful items to the player character.
* Type: server (operator only)
* Usage: 
  /pwn [player]
  /admin.pwn [player]

/admin.resetClanTag
* Description: Finds a clan tag and removes it. It can be selected by another team.
* Type: server (operator only)
* Usage: 
  /admin.resetClanTag <clanTag>

/admin.setRaidingWindow
* Description: Set raiding window. Please ensure you're using a correct UTC offset!
              To disable raiding protection completely, please set 24 hours duration from any hour with any UTC offset.
* Type: server (operator only)
* Usage: 
  /admin.setRaidingWindow <UTC> <fromHour> <duration>

/admin.spawnAll
* Description: Executes all spawn scripts.
* Type: server (operator only)
* Usage: 
  /admin.spawnAll

/admin.spawnZone
* Description: Executes all spawn scripts for the specified zone.
* Type: server (operator only)
* Usage: 
  /admin.spawnZone <protoZone>
  /admin.spawnZone <protoZone> [isInitialSpawn]

/startEvent
/admin.startEvent
* Description: Creates and starts an event.
* Type: server (operator only)
* Usage: 
  /startEvent <protoEvent>
  /admin.startEvent <protoEvent>

/completionist.addAll
* Description: Add all completionist entries to player.
* Type: server (operator only)
* Usage: 
  /completionist.addAll [player]

/completionist.list
* Description: Lists all completionist entries for player.
* Type: server (operator only)
* Usage: 
  /completionist.list [player]

/completionist.reset
* Description: Reset completionist entries for player.
* Type: server (operator only)
* Usage: 
  /completionist.reset [player]

(/)help
(/)console.help
* Description: Prints information about all the available console commands.
* Type: client & server (operator only)
* Usage: 
  /help [searchCommand]
  /console.help [searchCommand]

(/)console.logSeverity
* Description: Gets or sets current log severity.
* Type: client & server (operator only)
* Usage: 
  /console.logSeverity [severity]

/debug.breakRoads
* Description: Replace roads with broken roads according to a special position-derived algorithm. Can be run multiple times as further executions will not do any changes to the already replaced roads.
* Type: server (operator only)
* Usage: 
  /debug.breakRoads

(/)debug.findInvalidNames
* Description: Finds prototypes which have invalid names.
* Type: client & server (operator only)
* Usage: 
  /debug.findInvalidNames

(/)debug.findNameCollisions
* Description: Finds prototypes which have the duplicate name.
* Type: client & server (operator only)
* Usage: 
  /debug.findNameCollisions

/debug.forcePragmiumSourceUpdate
* Description: Forces update of all pragmium source minerals in the game. They will attempt to spawn nodes and guardian creatures.
* Type: server (operator only)
* Usage: 
  /debug.forcePragmiumSourceUpdate

(/)gc
(/)debug.gc
* Description: Invoke GC (garbage collection).
* Type: client & server (operator only)
* Usage: 
  /gc
  /gc <generation>
  /debug.gc
  /debug.gc <generation>

(/)debug.listRecipes
* Description: Lists all the recipes and buildings and their status (except for recipes/buildings that already belong to any technology nodes). This command is used to find orphaned recipes/buildings.
* Type: client & server (operator only)
* Usage: 
  /debug.listRecipes <AutoUnlocked|Unavailable>

/debug.printConnectionStats
* Description: Print network stats for all the connected clients
* Type: server (operator only)
* Usage: 
  /debug.printConnectionStats

/debug.setAllStructuresHP
* Description: Set structures bar to % of the max value to all structures in the world. Percent is specified as value from 0 to 100.
* Type: server (operator only)
* Usage: 
  /debug.setAllStructuresHP <hpPercent>

/debug.setAllVegetationFullGrown
* Description: Set all vegetation to full grown state.
* Type: server (operator only)
* Usage: 
  /debug.setAllVegetationFullGrown

/debug.setItemsCharge
* Description: Modifies charge/fuel amount of all items in player's inventory/equipment/hotbar to match the required charge percent (provided as value from 0 to 100).
* Type: server (operator only)
* Usage: 
  /debug.setItemsCharge [chargePercent] [character]

/debug.setItemsDurability
* Description: Modifies durability of all items in player's inventory/equipment/hotbar to match the required durability percent (provided as value from 0 to 100).
* Type: server (operator only)
* Usage: 
  /debug.setItemsDurability [durabilityPercent] [character]

(/)debug.showTechStatistics
* Description: Provides detailed statistics for all technology in the game.
* Type: client & server (operator only)
* Usage: 
  /debug.showTechStatistics

/debug.testRaidblock
* Description: Test server raid blockΓÇötries to enable it for the base.
* Type: server (operator only)
* Usage: 
  /debug.testRaidblock [character]
  /debug.testRaidblock <x> <y>

/kit
/demo.kit
* Description: Adds sets of items according to specified category to the player character.
* Type: server (operator only)
* Usage: 
  /kit [category] [player]
  /demo.kit [category] [player]

/spawn
/mobs.spawn
* Description: Spawns a mob of the specified type to the specified tile position in the world or near the specified character, depending on arguments used.
* Type: server (operator only)
* Usage: 
  /spawn <protoMob> [count] [nearPlayer]
  /spawn <protoMob> <x> <y> [count]
  /mobs.spawn <protoMob> [count] [nearPlayer]
  /mobs.spawn <protoMob> <x> <y> [count]

/ban
/mod.blackList.add
* Description: Adds a player name into the blacklist.
* Type: server (moderator/operator only)
* Usage: 
  /ban <playerName>
  /mod.blackList.add <playerName>

/mod.blackList.print
* Description: Prints the blacklist content.
* Type: server (moderator/operator only)
* Usage: 
  /mod.blackList.print

/mod.blackList.remove
* Description: Removes a player name from the blacklist.
* Type: server (moderator/operator only)
* Usage: 
  /mod.blackList.remove <playerName>

/kick
/mod.kickList.add
* Description: Kicks the player from the server for the defined amount of time.
* Type: server (moderator/operator only)
* Usage: 
  /kick <character> [minutes]
  /mod.kickList.add <character> [minutes]

/mod.kickList.print
* Description: Prints the kicked players list content.
* Type: server (moderator/operator only)
* Usage: 
  /mod.kickList.print

/mod.kickList.remove
* Description: Un-kicks the player (remove from the temporary kick list on the server).
* Type: server (moderator/operator only)
* Usage: 
  /mod.kickList.remove <playerName>

/mute
/mod.muteList.add
* Description: Mutes the player on the server for the defined amount of time.
* Type: server (moderator/operator only)
* Usage: 
  /mute <character> [minutes]
  /mod.muteList.add <character> [minutes]

/mod.muteList.print
* Description: Prints the muted players list content.
* Type: server (moderator/operator only)
* Usage: 
  /mod.muteList.print

/mod.muteList.remove
* Description: Un-mutes the player (remove from the temporary mute list on the server).
* Type: server (moderator/operator only)
* Usage: 
  /mod.muteList.remove <playerName>

/whiteListAdd
/mod.whiteList.add
* Description: Adds a player name into the whitelist.
* Type: server (moderator/operator only)
* Usage: 
  /whiteListAdd <playerName>
  /mod.whiteList.add <playerName>

/mod.whiteList.enabled
* Description: Enables or disables the whitelist
* Type: server (moderator/operator only)
* Usage: 
  /mod.whiteList.enabled [isEnabled]

/mod.whiteList.print
* Description: Prints the whitelist content.
* Type: server (moderator/operator only)
* Usage: 
  /mod.whiteList.print

/mod.whiteList.remove
* Description: Removes a player name from the whitelist.
* Type: server (moderator/operator only)
* Usage: 
  /mod.whiteList.remove <playerName>

/player.addLP
* Description: Add technology learning points value for a player character.
* Type: server (operator only)
* Usage: 
  /player.addLP <learningPoints> [player]

/player.discoverMap
* Description: Discover whole map for the player character.
* Type: server (operator only)
* Usage: 
  /player.discoverMap [player]

/pos
/player.getPosition
* Description: Get the world position of a player character.
* Type: server (operator only)
* Usage: 
  /pos [player]
  /player.getPosition [player]

/heal
/player.heal
* Description: Restore 100% of the player character health, energy, etc.
* Type: server (operator only)
* Usage: 
  /heal [player]
  /player.heal [player]

/addItem
/player.items.add
* Description: Adds specified item(s) to a player character.
* Type: server (operator only)
* Usage: 
  /addItem <item> [count] [player]
  /player.items.add <item> [count] [player]

/player.items.reset
* Description: Removes all items from a given player character.
* Type: server (operator only)
* Usage: 
  /player.items.reset [player]

/killMe
/player.killMe
* Description: Kills you. Use when you desperately need to get rid of yourself and respawn. You cannot kill yourself more often than once in 5 minutes.
* Type: server (operator only)
* Usage: 
  /killMe
  /player.killMe

(/)player.printFinalCache
* Description: Prints the current final stats cache of the player character.
              It lists all the applied stats with their sources.
* Type: client & server (operator only)
* Usage: 
  /player.printFinalCache [player]

/creative
/player.setCreativeMode
* Description: Toggles creative mode.
This mode allows you to build without using any resources also skipping the entire build phases. 
This mode is enabled by default in the Editor mode.
* Type: server (operator only)
* Usage: 
  /creative <isEnabled> [character]
  /player.setCreativeMode <isEnabled> [character]

/player.setEnergy
* Description: Sets energy value to a player character. The energy value is automatically clamped into the available range.
* Type: server (operator only)
* Usage: 
  /player.setEnergy <energy> [character]

/player.setFood
* Description: Sets food value to a player character. The food value is automatically clamped into the available range.
* Type: server (operator only)
* Usage: 
  /player.setFood <food> [character]

/player.setHealth
* Description: Sets health value to a player character. The health value is automatically clamped into the available range.
* Type: server (operator only)
* Usage: 
  /player.setHealth <health> [character]

/god
/player.setInvincibility
* Description: Sets invincibility to a player character.
* Type: server (operator only)
* Usage: 
  /god [isEnabled] [character]
  /player.setInvincibility [isEnabled] [character]

/player.setLP
* Description: Set technology learning points value for a player character.
* Type: server (operator only)
* Usage: 
  /player.setLP <learningPoints> [player]

/player.setMobMode
* Description: Toggles mob mode (player mimicking a particular mob).
* Type: server (operator only)
* Usage: 
  /player.setMobMode <isEnabled> [character]

/player.setNewbieMode
* Description: Toggles newbie protection.
* Type: server (operator only)
* Usage: 
  /player.setNewbieMode <isEnabled> [character]

/spectator
/player.setSpectatorMode
* Description: Toggles spectator mode.
* Type: server (moderator/operator only)
* Usage: 
  /spectator <isEnabled> [character]
  /player.setSpectatorMode <isEnabled> [character]

/player.setWater
* Description: Sets water value to a player character. The water value is automatically clamped into the available range.
* Type: server (operator only)
* Usage: 
  /player.setWater <water> [character]

/tp
/player.teleport
* Description: Teleports a player character to the specified tile position in the world or to another player depending on arguments used.
* Type: server (moderator/operator only)
* Usage: 
  /tp <toPlayer> [player]
  /tp <x> <y> [player]
  /player.teleport <toPlayer> [player]
  /player.teleport <x> <y> [player]

/quest.add
* Description: Add quest to a player (even if prerequisites are not satisfied).
* Type: server (operator only)
* Usage: 
  /quest.add <quest> [player]

/quest.addAll
* Description: Add all quests to a player (even if prerequisites are not satisfied).
* Type: server (operator only)
* Usage: 
  /quest.addAll [player]

/quest.complete
* Description: Complete a specific active quest for player (even if prerequisites are not satisfied).
* Type: server (operator only)
* Usage: 
  /quest.complete <quest> [player]

/quest.completeAll
* Description: Complete all quests to a player (even if the quest is not added or the prerequisites are not satisfied).
* Type: server (operator only)
* Usage: 
  /quest.completeAll [player]

/quest.completeAllActive
* Description: Complete all active quests to a player (even if prerequisites are not satisfied).
* Type: server (operator only)
* Usage: 
  /quest.completeAllActive [player]

/quest.remove
* Description: Remove quest from a player (if exist).
* Type: server (operator only)
* Usage: 
  /quest.remove <quest> [player]

/quest.removeAll
* Description: Remove all quests from a player.
* Type: server (operator only)
* Usage: 
  /quest.removeAll [player]

/quest.reset
* Description: Reset quest to a player (if exist).
* Type: server (operator only)
* Usage: 
  /quest.reset <quest> [player]

/skills.addExp
* Description: Add skill experience for a specified skill.
* Type: server (operator only)
* Usage: 
  /skills.addExp <skill> <exp> [player]

/skills.list
* Description: Print full list of skills of a player.
* Type: server (operator only)
* Usage: 
  /skills.list [player]

/skills.resetAll
* Description: Reset all the player skills.
* Type: server (operator only)
* Usage: 
  /skills.resetAll [player]

/skills.set
* Description: Set a given skill for a player.
* Type: server (operator only)
* Usage: 
  /skills.set <skill> [level] [player]

/skills.setAll
* Description: Set specific level for all skills of a player.
* Type: server (operator only)
* Usage: 
  /skills.setAll [level] [player]

/statusEffects.add
* Description: Adds specified status effect to a player character.
* Type: server (operator only)
* Usage: 
  /statusEffects.add <statusEffect> [intensityToAdd] [player]

/statusEffects.addAll
* Description: Adds all possible status effects (some of them will be immediately remowed, however, as they cannot exist together).
* Type: server (operator only)
* Usage: 
  /statusEffects.addAll [player]

/statusEffects.remove
* Description: Removes specified status effect from a player character.
* Type: server (operator only)
* Usage: 
  /statusEffects.remove <statusEffect> [player]

/statusEffects.reset
* Description: Remove all status effects.
* Type: server (operator only)
* Usage: 
  /statusEffects.reset [player]

/tech.addAll
* Description: Add all tech groups and all nodes to a player.
* Type: server (operator only)
* Usage: 
  /tech.addAll [player]

/tech.addAllGroups
* Description: Add all tech groups to a player (without their nodes).
* Type: server (operator only)
* Usage: 
  /tech.addAllGroups [player]

/tech.addGroup
* Description: Add a particular tech group to a player.
* Type: server (operator only)
* Usage: 
  /tech.addGroup <group> [player]

/tech.addNode
* Description: Add a tech node to a player. It will also add all other required nodes if there's a conflict.
* Type: server (operator only)
* Usage: 
  /tech.addNode <node> [player]

/tech.removeAll
* Description: Remove all tech groups/nodes from a player.
* Type: server (operator only)
* Usage: 
  /tech.removeAll [player]

/tech.removeGroup
* Description: Remove a tech group from a player.
* Type: server (operator only)
* Usage: 
  /tech.removeGroup <group> [player]

/tech.removeNode
* Description: Remove a tech node from a player.
* Type: server (operator only)
* Usage: 
  /tech.removeNode <node> [player]

/tech.resetTechTreeAndRefundLP
* Description: Reset player's tech tree and refund all the LP.
* Type: server (operator only)
* Usage: 
  /tech.resetTechTreeAndRefundLP [player]

/tech.setGroupCompletion
* Description: Add tech group and enable nodes to have desired percent of completion (value from 0 to 1, inclusive) to a player. This is useful when you need a particular tech group to have some nodes, but not all.
* Type: server (operator only)
* Usage: 
  /tech.setGroupCompletion <techGroup> <completionPercent> [player]

/world.activateBaseRaidblock
* Description: Activates raidblock status for the base where character is present now.
* Type: server (operator only)
* Usage: 
  /world.activateBaseRaidblock [character]

/world.destroy
* Description: Destroys the closest world object in the player character position or neighbor tiles.
              You can use this to destroy any buildings or objects such as resources.
* Type: server (operator only)
* Usage: 
  /world.destroy [character]
  /world.destroy <x> <y>

/world.destroyAll
* Description: Destroys all static world objects of the specific prototype.
* Type: server (operator only)
* Usage: 
  /world.destroyAll <protoObject>

/place
/world.place
* Description: Places a static world object in the player character position or in any specified position.
              You can use this to spawn new buildings and resources.
              You need to provide a player character name to place an object in its position.
              Please note that the character must be in spectator mode.
* Type: server (operator only)
* Usage: 
  /place <protoStaticWorldObject> [character]
  /place <objTypeName> <x> <y>
  /world.place <protoStaticWorldObject> [character]
  /world.place <objTypeName> <x> <y>

/world.setTimeOfDay
* Description: Forces specified time of day on the server.
To reset please execute this command without any arguments.
* Type: server (operator only)
* Usage: 
  /world.setTimeOfDay [hour] [minute]

/spawnVehicle
/world.spawnVehicle
* Description: Spawns a vehicle in the player character position or in any specified position.
              You need to provide a player character name to place a vehicle in its position.
              Please note that the character must be in spectator mode.
* Type: server (operator only)
* Usage: 
  /spawnVehicle <protoDynamicWorldObject> [character]
  /spawnVehicle <objTypeName> <x> <y>
  /world.spawnVehicle <protoDynamicWorldObject> [character]
  /world.spawnVehicle <objTypeName> <x> <y>