Votifier Gem
Ruby Gem for a Votifier Server and Client for Minecraft
Installation
For a manual installation, type this on your console:
$ gem install votifier
Usage
require 'votifier'
Votifier::Client.new(public_key_file, "MyMinecraftServerList.info", :username => "Notch").send
If you have the player's IP addess and the timestamp, you can pass them
require 'votifier'
Votifier::Client.new(public_key_file, "MyMinecraftServerList.info", :username => "Notch", :ip_address => @ip_address, :timestamp => ).send
For the server:
require 'votifier'
Votifier::Server.new(:private_key => private_key_file).listen
TODO
- Unit Tests
- Support .pem, .key keys or string keys.
- The username, ip and timestamp should be passed to Votifier::Client#send instead of the contructor
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Added some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request