[![Build Status](](
[![Hex Docs](](


**Implementation of the [Source RCON Protocol](**  
Documentation hosted on [hexdocs](

## Installation

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

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

## Features

  - 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

## Usage

  {: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