# Useful Commands

### Optimization

- `<strong>restartMapWithLobby</strong>`  
    Can be executed by the host to restart the entire map for all players in the party.
- `<strong>exitShellLobby</strong>`  
    Can be execute by the host to leave the match and retain all players within their party, so long as the clients do not select ACCEPT in the warning menu.
- `<strong>disconnect</strong>`  
    Can be executed by clients to leave the match and stay in the party, so long as the clients do not select ACCEPT in the warning menu.
- `<strong>g_havokHeapLimitMB 200</strong>`  
    Can be executed by any player to increase the havok limit (how much geo can do things simultaneously) which may prevent some crashes.
- `<strong>net_maxRate 100</strong>`  
    Can be executed by any player to increase the network rate which may decrease latency.

### Development  


- `<strong>pvp_skipReadyUp 1</strong>`  
    Can be executed by the host to bypass the "waiting for players" event on map start. Leaving this enabled with other players may create issues for clients.
- `<strong>pvp_skipReadyUp 0</strong>`  
    Can be executed by the host to enable the "waiting for players" event.
- `<strong>ai_faction_overrideEmotion_ai 0</strong>`  
    Can be executed by the host to stop all AI from attacking much like the "notarget" command.
- `<strong>ai_faction_overrideEmotion_ai -1</strong>`  
    Can be executed by the host to enable normal AI aggression towards players and other AI.
- `<strong>warning_disable all<br></br></strong>`Can be executed by any player to disable the barrage of warnings in the console.
- `<strong>warning_enable all</strong>`  
    Can be executed by any player to enable all warnings. Restarting the game will also enable all warnings.

### Auto-Executing Commands on Game Launch

- You can input commands as a new line into the **candidate.cfg** file within the **DOOMEternal\\base** folder to auto-execute them when the game launches. Below is an example of DOOMEternal's installation file path for Windows.  
    `<strong>C:\Program Files (x86)\Steam\steamapps\common\DOOMEternal\base\candidate.cfg</strong>`
- The **candidate.cfg** file can execute other config files with the `<strong>exec NameOfFile.cfg</strong>` command added as a new line.

### See Also

- [Commands (CMD)](https://wiki.eternalmods.com/books/eternal-command-console/page/commands-cmd)
- [Console Variables (CVAR)](https://wiki.eternalmods.com/books/eternal-command-console/page/console-variables-cvar)