Skip to content

An example Rust application connecting to the local TF2 RCON server.

License

Notifications You must be signed in to change notification settings

MatinAniss/tf2-rcon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TF2 RCON

An example Rust application connecting to the local TF2 RCON server and executing commands to the game console through the terminal.

Setup

  1. Set TF2 launch options

-usercon +ip 0.0.0.0 +rcon_password password +hostport 42465 +net_start

Warning

You may want to use a different RCON password, as any application running on your machine will be able to access it.

  1. Build and Run

cargo run --release

  1. Execute commands from the terminal

Executing commands screenshot

About

An example Rust application connecting to the local TF2 RCON server.

Topics

Resources

License

Stars

Watchers

Forks

Languages