megabytesofrem / mcserverstatus

Unfinished D library to get the server status of a Minecraft server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mcserverstatus

Unfinished D library to get the server status of a Minecraft server

Usage

The project is still unfinished and as such is not yet a library. To test the project you can change the server address in app.d. Some servers may not work due to missing SRV record support.

  1. Install Dlang
  2. Change the server address in app.d (will change in future)
  3. Run dub run or dub build and then ./mcserverstatus

Example Output

SERVER INFO

text: A Minecraft Server

version name: 1.16.3
version protocol: 753

players: 0
max players: 20

Todo

  • SRV record support
  • Wrap code in a library
  • Minecraft color codes -> shell color codes

D

og d-man

About

Unfinished D library to get the server status of a Minecraft server


Languages

Language:D 100.0%