VoidExpanse/Server commands: Difference between revisions

From AtomicTorchWiki
 
(29 intermediate revisions by 5 users not shown)
Line 1: Line 1:
= Admin commands =
= Server commands =
These are the commands that OP (server operator) can use in multiplayer.
These are the commands that OP (server operator) can use in multiplayer. Some of the commands can also be used in singleplayer as cheats. If you are using them in singleplayer you can just open chat by pressing [Enter] and enter any of the commands. In multiplayer you can enter them both in the server console and in chat, but in that case you have to have an OP status.


== Legend ==
== Legend ==
Line 21: Line 21:


== List of commands ==
== List of commands ==
=== Maintenance and setup commands ===
{| class="wikitable" style="width:100%"
{| class="wikitable" style="width:100%"
! width="25%" align="center" | Command
! width="25%" align="center" | Command
! width="25%" align="center" | Example
! width="25%" align="center" | Example
! width="50%" align="center" | Description
! width="5%" align="center" | OP Only
! width="45%" align="center" | Description
|-
|<code>/new [''seed'']</code>
|<code>/new tehseed12345</code>
|Yes
|Create a new world. If no seed is given it will create a world with a random seed. Otherwise it will use the given value.
|-
|-
|<code>/save</code>
|<code>/save</code>
|<code>/save</code>
|<code>/save</code>
|Yes
|Saves the game immediately.
|Saves the game immediately.
|-
|-
|<code>/list</code>
|<code>/load</code>
|<code>/list</code>
|<code>/load 1</code>
|Will return a list of all people on the server.
|Yes
|Loads a savegame.
|-
|<code>/stop</code>
|<code>/stop</code>
|Yes
|Stops the game server.
|}
 
=== Access modification ===
'''Please note:''' if you need to specify username which contains spaces, print it with spaces (as is). Do not use underscore for player names.
{| class="wikitable" style="width:100%"
! width="25%" align="center" | Command
! width="25%" align="center" | Example
! width="5%" align="center" | OP Only
! width="45%" align="center" | Description
|-
|-
|<code>/kick <''player''> [reason]</code>
|<code>/kick <''player''> [reason]</code>
|<code>/kick john123 because I don't want to see you on the server</code>
|<code>/kick john123 because I don't want to see you on the server</code>
|Yes
|Kick a particular player from the server. You could also specify the reason for kicking.
|Kick a particular player from the server. You could also specify the reason for kicking.
|-
|-
|<code>/whitelist <''add<nowiki>|</nowiki>remove''> [''player'']</code>
|<code>/whitelist <''add<nowiki>|</nowiki>remove<nowiki>|</nowiki>list''> [''player'']</code>
|<code>/whitelist add john123</code>
|<code>/whitelist add john123</code>
|Add or remove a particular player to/from the whitelist.
<code>/whitelist list</code>
|Yes
|Add or remove a particular player to/from the whitelist. Or get a list of players who are added to that list.
|-
|-
|<code>/blacklist <''add<nowiki>|</nowiki>remove''> [''player'']</code>
|<code>/blacklist <''add<nowiki>|</nowiki>remove<nowiki>|</nowiki>list''> [''player'']</code>
|<code>/blacklist add john123</code>
|<code>/blacklist add john123</code>
|Add or remove a particular player to/from the blacklist.
<code>/blacklist list</code>
|Yes
|Add or remove a particular player to/from the blacklist. Or get a list of players who are added to that list.
|-
|-
|<code>/op <''add<nowiki>|</nowiki>remove''> [''player'']</code>
|<code>/op <''add<nowiki>|</nowiki>remove<nowiki>|</nowiki>list''> [''player'']</code>
|<code>/op add john123</code>
|<code>/op add john123</code>
|Add or remove a particular player to/from the operator list. Player given operator permissions can use these commands.
<code>/op list</code>
|Yes
|Add or remove a particular player to/from the operator list or get a list of players who are added to that list. PLEASE NOTE: if you're the server admin and you want to add yourself to the operators list, this command should be invoked from the server console.
|}
 
=== Cheats ===
'''Please note:''' if you need to specify username which contains spaces, print it with spaces (as is). Do not use underscore for player names.
{| class="wikitable" style="width:100%"
! width="25%" align="center" | Command
! width="25%" align="center" | Example
! width="5%" align="center" | OP Only
! width="45%" align="center" | Description
|-
|<code>/pwn [''player'']</code>
|<code>/pwn john123</code>
|Yes
|Makes player into a badass by giving tons of money, exp and some important skills.
|-
|<code>/exp <''amount''> [''player'']</code>
|<code>/exp 9000 john123</code>
<code>/exp 9000</code>
|Yes
|Add some amount of experience to self or to a specified player.
|-
|<code>/money <''amount''> [''player'']</code>
|<code>/money 9000 john123</code>
<code>/money 9000</code>
|Yes
|Add some amount of money to self or to a specified player.
|-
|<code>/god [''player'']</code>
|<code>/god john123</code>
<code>/god</code>
|Yes
|Set god mode (invincibility) to yourself or to a specified player.
|-
|<code>/heal [''player'']</code>
|<code>/heal john123</code>
<code>/heal</code>
|Yes
|Fully heal yourself or a specified player.
|-
|<code>/item_add <''item_id''> [''amount''] [''player'']</code>
|<code>/item_add weapon_light_laser 3 john123</code>
<code>/item_add weapon_light_laser</code>
|Yes
|Add a specified item to yourself or to another player. If you are adding to yourself you don't have to specify the amount, but if you are adding an item to someone else you have to specify the amount always.
|-
|<code>/kill <''player''></code>
|<code>/kill john123</code>
|Yes
|Destroy a specified player's ship. Only works if the specified player is online. You can use it to destroy your own ship.
|-
|<code>/killall</code>
|<code>/killall</code>
|Yes
|Destroy all ships in a current system except your ship.
|-
|<code>/tp <''system name''> [''player'']</code>
<code>/tp <''x''> <''y''> [''player'']</code>
|<code>/tp Cosaden</code>
<code>/tp -120 85 john123</code>
|Yes
|Teleport your ship or a ship of another player to a different system or to a different coordinates in this system. See examples for usages of this command.
'''Note:''' If system name contains spaces it must be written with underscores. For example if the system name is "Vis Cosaden Alpha" it should be written as ''Vis_Cosaden_Alpha''.
|}
 
=== Other commands ===
{| class="wikitable" style="width:100%"
! width="25%" align="center" | Command
! width="25%" align="center" | Example
! width="5%" align="center" | OP Only
! width="45%" align="center" | Description
|-
|<code>/list</code>
|<code>/list</code>
|No
|Will return a list of all people on the server.
|-
|<code>/help [''command'']</code>
|<code>/help</code>
<code>/help quit</code>
|No
|Gives a list of all commands available to player. Some commands might not be accessible if the player is not an operator. If argument (command name) is provided it will give detailed information about that specific command.
|-
|<code>/delete_player_character [''name'']</code>
|<code>/delete_player_character</code> (it will delete yourself)
<code>/delete_player_character john_doe</code>
|No
|Completely delete your player character from the server (doesn't require operator access) or delete any specified player character (require operator access).
|-
|<code>/server_say <''text''></code>
|<code>/server_say Server is going to reboot!</code>
|Yes
|Broadcasts server chat message. Could be used only by the server operator.
|}
|}

Latest revision as of 08:42, 23 November 2015

Server commands

These are the commands that OP (server operator) can use in multiplayer. Some of the commands can also be used in singleplayer as cheats. If you are using them in singleplayer you can just open chat by pressing [Enter] and enter any of the commands. In multiplayer you can enter them both in the server console and in chat, but in that case you have to have an OP status.

Legend

If you see... Then
<angle brackets> This is a required argument.
[square brackets] This is an optional argument.
plain text Enter this literally, exactly as shown.
x | y | z Select one of the options.

List of commands

Maintenance and setup commands

Command Example OP Only Description
/new [seed] /new tehseed12345 Yes Create a new world. If no seed is given it will create a world with a random seed. Otherwise it will use the given value.
/save /save Yes Saves the game immediately.
/load /load 1 Yes Loads a savegame.
/stop /stop Yes Stops the game server.

Access modification

Please note: if you need to specify username which contains spaces, print it with spaces (as is). Do not use underscore for player names.

Command Example OP Only Description
/kick <player> [reason] /kick john123 because I don't want to see you on the server Yes Kick a particular player from the server. You could also specify the reason for kicking.
/whitelist <add|remove|list> [player] /whitelist add john123

/whitelist list

Yes Add or remove a particular player to/from the whitelist. Or get a list of players who are added to that list.
/blacklist <add|remove|list> [player] /blacklist add john123

/blacklist list

Yes Add or remove a particular player to/from the blacklist. Or get a list of players who are added to that list.
/op <add|remove|list> [player] /op add john123

/op list

Yes Add or remove a particular player to/from the operator list or get a list of players who are added to that list. PLEASE NOTE: if you're the server admin and you want to add yourself to the operators list, this command should be invoked from the server console.

Cheats

Please note: if you need to specify username which contains spaces, print it with spaces (as is). Do not use underscore for player names.

Command Example OP Only Description
/pwn [player] /pwn john123 Yes Makes player into a badass by giving tons of money, exp and some important skills.
/exp <amount> [player] /exp 9000 john123

/exp 9000

Yes Add some amount of experience to self or to a specified player.
/money <amount> [player] /money 9000 john123

/money 9000

Yes Add some amount of money to self or to a specified player.
/god [player] /god john123

/god

Yes Set god mode (invincibility) to yourself or to a specified player.
/heal [player] /heal john123

/heal

Yes Fully heal yourself or a specified player.
/item_add <item_id> [amount] [player] /item_add weapon_light_laser 3 john123

/item_add weapon_light_laser

Yes Add a specified item to yourself or to another player. If you are adding to yourself you don't have to specify the amount, but if you are adding an item to someone else you have to specify the amount always.
/kill <player> /kill john123 Yes Destroy a specified player's ship. Only works if the specified player is online. You can use it to destroy your own ship.
/killall /killall Yes Destroy all ships in a current system except your ship.
/tp <system name> [player]

/tp <x> <y> [player]

/tp Cosaden

/tp -120 85 john123

Yes Teleport your ship or a ship of another player to a different system or to a different coordinates in this system. See examples for usages of this command.

Note: If system name contains spaces it must be written with underscores. For example if the system name is "Vis Cosaden Alpha" it should be written as Vis_Cosaden_Alpha.

Other commands

Command Example OP Only Description
/list /list No Will return a list of all people on the server.
/help [command] /help

/help quit

No Gives a list of all commands available to player. Some commands might not be accessible if the player is not an operator. If argument (command name) is provided it will give detailed information about that specific command.
/delete_player_character [name] /delete_player_character (it will delete yourself)

/delete_player_character john_doe

No Completely delete your player character from the server (doesn't require operator access) or delete any specified player character (require operator access).
/server_say <text> /server_say Server is going to reboot! Yes Broadcasts server chat message. Could be used only by the server operator.