Skip to content

avitex/elixir-rcon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Hex.pm Hex Docs

RCON

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"}]
end

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("127.0.0.1", 27084)
{:ok, conn, true} = RCON.Client.authenticate(conn, "password")
{:ok, _conn, result} = RCON.Client.exec(conn, "status")

IO.inspect result

About

Source compatible RCON implementation in Elixir

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages