CryoFall/Server/Commands: Difference between revisions
Ai enabled (talk | contribs) |
Ai enabled (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
== CryoFall server commands == | |||
Please read the [[CryoFall/Server/Setup|Server Setup Guide]] first. | Please read the [[CryoFall/Server/Setup|Server Setup Guide]] first. | ||
<br/>This is just a list of all the server console commands. | <br/>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 [[CryoFall/Server/Setup|Server Setup Guide]]. | You need to '''execute them right from the game''' by using in-game console as described in the [[CryoFall/Server/Setup|Server Setup Guide]]. | ||
Most of these commands are requiring '''server operator access'''. | <br/>Most of these commands are requiring '''server operator access'''. | ||
== Server commands list == | == Server commands list == |
Revision as of 16:04, 9 May 2019
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
/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 /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] (/)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] (/)gc (/)debug.gc * Description: Invoke GC (garbage collection). * Type: client & server (operator only) * Usage: /gc /debug.gc (/)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.setAllStructuresHP * Description: Set structures bar to % of the max value to all structures in the world. * Type: server (operator only) * Usage: /debug.setAllStructuresHP <hpPercent> (/)debug.showTechStatistics * Description: Provides detailed statistics for all technology in the game. * Type: client & server (operator only) * Usage: /debug.showTechStatistics /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> [nearPlayer] /spawn <protoMob> <x> <y> /mobs.spawn <protoMob> [nearPlayer] /mobs.spawn <protoMob> <x> <y> /ban /mod.blackList.add * Description: Adds a player name into the blacklist. * Type: server (operator only) * Usage: /ban <playerName> /mod.blackList.add <playerName> /mod.blackList.print * Description: Prints the blacklist content. * Type: server (operator only) * Usage: /mod.blackList.print /mod.blackList.remove * Description: Removes a player name from the blacklist. * Type: server (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 (operator only) * Usage: /kick <character> [minutes] /mod.kickList.add <character> [minutes] /mod.kickList.print * Description: Prints the kicked players list content. * Type: server (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 (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 (operator only) * Usage: /mute <character> [minutes] /mod.muteList.add <character> [minutes] /mod.muteList.print * Description: Prints the muted players list content. * Type: server (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 (operator only) * Usage: /mod.muteList.remove <playerName> /whiteListAdd /mod.whiteList.add * Description: Adds a player name into the whitelist. * Type: server (operator only) * Usage: /whiteListAdd <playerName> /mod.whiteList.add <playerName> /mod.whiteList.enabled * Description: Enables or disables the whitelist * Type: server (operator only) * Usage: /mod.whiteList.enabled [isEnabled] /mod.whiteList.print * Description: Prints the whitelist content. * Type: server (operator only) * Usage: /mod.whiteList.print /mod.whiteList.remove * Description: Removes a player name from the whitelist. * Type: server (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 * Usage: /killMe /player.killMe (/)player.printFinalCache * Description: Get the world position of a player character. * 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 (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 (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.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.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.place * Description: Places a 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 the object in its position. Please note that the character must be in spectator mode. * Type: server (operator only) * Usage: /world.place <protoStaticWorldObject> [character] /world.place <protoStaticWorldObject> <x> <y> /world.setTimeOfDay * Description: Forces specified time of day on client or server. To reset please execute this command without any arguments. * Type: server (operator only) * Usage: /world.setTimeOfDay [hour] [minute]