Skip to content

ShulkerSakura/MCServerInfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English: README.md | 中文: README_cn.md

MCServerInfo

A cli\api\gui frontend of MinecraftPingerLib.

Powered By MinecraftPingerLib:
https://github.com/Delta-Factory/MinecraftServerPingerLib

Usage

GUI Mode

GUI Mode now launch with no arguments by default 

CLI Mode

# Plain text output
java -jar MCServerInfo.jar -c <host>[:port]

# JSON output (use 'api' keyword)
java -jar MCServerInfo.jar -c api <host>[:port]

Examples:

java -jar MCServerInfo.jar -c localhost
java -jar MCServerInfo.jar -c api play.hypixel.net
java -jar MCServerInfo.jar -c [2001:db8::1]:25565

HTTP Server Mode

java -jar MCServerInfo.jar -s <listen_port>

Then access:

http://localhost:8080/api/localhost
http://localhost:8080/api/play.hypixel.net
http://localhost:8080/api/[2001:db8::1]:25565

About

A cli & api server frontend of MinecraftPingerLib.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages