Synced Commands
Game developers and players can issue synced commands from chat, e.g. (“/give unit”), or Spring.SendCommands:
Here we provide a list of them, some commands require cheats enabled (“/cheat”):
| Name | Description | Arguments |
|---|---|---|
| atm Cheat | Gives the specified amount (default 1000) of each resource to the issuing player's team | |
| cheat | Enables/Disables cheating, which is required for a lot of other commands to be usable | |
| destroy Cheat | Destroys one or multiple units by unitID immediately | |
| desync Cheat | Allows creating an artificial desync of the local client with the rest of the participating hosts | |
| devlua Cheat | Enables/Disables Lua dev-mode (can cause desyncs if enabled) | |
| editdefs Cheat | Allows/Disallows editing of unit-, feature- and weapon-defs through Lua | |
| give Cheat | Places one or multiple units of a single or multiple types on the map, instantly; by default belonging to your own team | |
| globallos Cheat | Enables/Disables global line-of-sight, which makes the whole map permanently visible to everyone or to a specific allyteam | |
| godmode Cheat | Enables/Disables god-mode, which allows all players (even spectators) to control all units (even during replays, which will DESYNC them) | |
| luagaia | Allows reloading or disabling LuaGaia, and to send a chat message to LuaGaia scripts | |
| luarules | Allows reloading or disabling LuaRules, and to send a chat message to LuaRules scripts | |
| nocost Cheat | Enables/Disables everything-for-free, which allows everyone to build everything for zero resource costs | |
| nohelp | Enables/Disables widgets (LuaUI control) | |
| nospecdraw | Allows/Disallows spectators to draw on the map | |
| nospectatorchat | Enables/Disables spectators to use the chat | |
| reloadcegs Cheat | Reloads CEG scripts | |
| reloadcob Cheat | Reloads COB scripts | |
| remove Cheat | Removes one or multiple units by unitID immediately, bypassing death sequence | |
| skip | Fast-forwards to a given frame, or stops fast-forwarding | |
| take | Transfers all units of allied teams without any active players to the team of the issuing player |