Skip to content

Hayena/MineQuery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MineQuery

This is a Scala implementation of the so called MineQuery. It sends a request to a minecraft server and allows you to show certain statistics.

Usage

var query = new MineQuery("127.0.0.1", 25565)

Both parameters are optional, first one always refers to 127.0.0.1, the second one to 25565

The MineQuery class has two diffrent methods for obtaining data.

query.getStatus

This contains the following information:

  • Message of the Day
  • Gamemode
  • Name of the main map
  • Currently online players
  • Maximum allowed players
  • Port the server is running on
  • Hostname the server is running on
query.getFullStatus

This contains the same information above but also includes:

  • Game ID (Always "Minecraft")
  • Version of server
  • List of Players

About

Scala Play! framework MineQuery

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages