Project

srcon

0.0
No commit activity in last 3 years
No release in over 3 years
A socket library implementing Valve's RCON protocol.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 0.11
~> 10.0
~> 3.7
 Project Readme

Srcon

Srcon is a Ruby implementation of Valve's Source RCON Protocol. It is a TCP-based protocol used for communicating with Source Dedicated Servers typically accessible via Steam.

Installation

Add this line to your application's Gemfile:

gem 'srcon'

And then execute:

$ bundle

Or install it yourself as:

$ gem install srcon

Usage

require 'srcon'

connection = Srcon::Connection.new('123.45.67.8', 28717, 'some_password')
connection.send('help')
connection.receive

Development

  1. Fork the repository.
  2. Create a new branch.
  3. Make sure tests pass.
  4. Open a pull request.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/nevern02/srcon.

License

The gem is available as open source under the terms of the MIT License.