mcping
Crystal implementation of Minecraft server pinging and querying.
Installation
Add this to your application's shard.yml
:
dependencies:
mcping:
github: Syfaro/mcping
Usage
require "mcping"
pinger = MCPing::Ping.new "c.nerd.nu"
ping = pinger.ping
querier = MCPing::Query.new "play.phanaticmc.com"
query = querier.query
Development
TODO Write development instructions here
Contributing
- Fork it ( https://github.com/Syfaro/mcping/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- Syfaro - creator, maintainer