Source compatible RCON implementation in Elixir
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
avitex f276296078
7 months ago
lib refactor, add dialyxir, conn wide multi flag 10 months ago
test mix format 10 months ago
.formatter.exs mix format 10 months ago
.gitignore Initial commit 4 years ago
.travis.yml Fix travis config 2 years ago
LICENSE Change license filename 2 years ago v0.4.0 7 months ago
mix.exs v0.4.0 7 months ago
mix.lock Bump ex_doc from 0.22.0 to 0.22.1 (#5) 8 months ago

Build Status Hex Docs


Implementation of the Source RCON Protocol.
Documentation hosted on hexdocs.


Add rcon to your list of dependencies in mix.exs:

def deps do
  [{:rcon, "~> 0.4.0"}]


  • Source compatible (should work with CS:GO, Minecraft, etc)
  • Supports multi-packet responses
  • Handles messages with ID counter
  • Shouldn’t blow up in your face


{:ok, conn} = RCON.Client.connect("", 27084)
{:ok, conn, true} = RCON.Client.authenticate(conn, "password")
{:ok, _conn, result} = RCON.Client.exec(conn, "status")

IO.inspect result