VoidExpanse/Server commands: Difference between revisions
(→Cheats) |
Ai enabled (talk | contribs) |
||
(13 intermediate revisions by 3 users not shown) | |||
Line 39: | Line 39: | ||
|Saves the game immediately. | |Saves the game immediately. | ||
|- | |- | ||
|<code>/load | |<code>/load</code> | ||
|<code>/ | |<code>/load 1</code> | ||
|Yes | |Yes | ||
|Loads a | |Loads a savegame. | ||
|- | |- | ||
|<code>/stop</code> | |<code>/stop</code> | ||
Line 51: | Line 51: | ||
=== Access modification === | === 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%" | {| class="wikitable" style="width:100%" | ||
! width="25%" align="center" | Command | ! width="25%" align="center" | Command | ||
Line 78: | Line 79: | ||
<code>/op list</code> | <code>/op list</code> | ||
|Yes | |Yes | ||
|Add or remove a particular player to/from the operator list | |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 === | === 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%" | {| class="wikitable" style="width:100%" | ||
! width="25%" align="center" | Command | ! width="25%" align="center" | Command | ||
Line 159: | Line 161: | ||
|No | |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. | |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
|
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
|
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
|
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
|
Yes | Add some amount of experience to self or to a specified player. |
/money <amount> [player]
|
/money 9000 john123
|
Yes | Add some amount of money to self or to a specified player. |
/god [player]
|
/god john123
|
Yes | Set god mode (invincibility) to yourself or to a specified player. |
/heal [player]
|
/heal john123
|
Yes | Fully heal yourself or a specified player. |
/item_add <item_id> [amount] [player]
|
/item_add weapon_light_laser 3 john123
|
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 Cosaden
|
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
|
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)
|
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. |