Skip to content

avitex/elixir-rcon

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

No packages published

Languages