Console¶
- class valveexe.RconConsole(ip, port, passwd)[source]¶
Bases:
VConsole
Issues commands by leveraging RCON. This is supported by most multiplayer games.
- run(command, *params)[source]¶
Runs a specified command with it’s parameters
- Parameters:
command (str) – A Source Engine console command.
*params (str) – The values to be included with the command.
- class valveexe.ExecConsole(gameExe, gameDir, uuid)[source]¶
Bases:
VConsole
Issues commands by using the -hijack launch parameters alongside a +exec statement. This is supported by games that support -hijack (not csgo).
- run(command, *params)[source]¶
Runs a specified command with it’s parameters
- Parameters:
command (str) –
A Source Engine console command.
*params (str) – The values to be included with the command.
- class valveexe.VConsole[source]¶
An abstract definition for the different types of console implementations. All implementation are intended to receive commands via the
run
function- run(command, *params)[source]¶
Runs a specified command with it’s parameters
- Parameters:
command (str) –
A Source Engine console command.
*params (str) – The values to be included with the command.