mcping

Version, currently master branch1 version
  • master branchlatestSep 28, 2017

github.com/Syfaro/mcping

Crystal library for pinging or querying Minecraft servers

2 stars
1 dependent
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  mcping:
    github: Syfaro/mcping
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.23.1
License
MIT
Author
Syfaro

Dependencies

Runtime Dependencies

  • uvarint*github: freitagbr/crystal-uvarint

README

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

  1. Fork it ( https://github.com/Syfaro/mcping/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • Syfaro - creator, maintainer