Home›Java›Mods›PingAPI | Developer API to get information from other MC servers. (playercount, motd, state)
PingAPI | Developer API to get information from other MC servers. (playercount, motd, state)
ModsJava

PingAPI | Developer API to get information from other MC servers. (playercount, motd, state)

Java mod listed for Minecraft 1.7–1.8. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
-- German --

Hey Leute,

heute stelle ich euch meine PingAPI vor.
Diese API könnt ihr einfach nutzen um die Spielerzahl, Slotzahl und die Motd von einem anderen Server zu bekommen (z.B. bei Netzwerken).
Fügt dieses Plugin in euer Projekt hinzu und installiert es auf dem MC Server.

-- English --

Hey guys,

today ill show you my PingAPI plugin.
You can use this API to get playercount, slotsize & motd from another MC Server. (for example at Networks).

You have to add this plugin to your workspace and install it on the MC Server.
​
Code (Text):

-
pingServer(adress, port, timeout) = Ping the Server.

getMotd() = get the Servers motd.

getPlayerCount() = get the playercount of the server.

getMaxPlayerCount() = get the slot size of the server.

isOnline() = boolean wich shows you if the server is online or not.
-
 

Important:

- first use pingServer(), then get the data. Otherwise it wouldn´t work.
- Check that the Firewall allows incoming & outgoing pings.


Plase rate this Resource!

Have a nice day ~Elli_
​
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

PingAPI | Developer API to get information from other MC servers. (playercount, motd, state) is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8. Downloaded 241 times (via Spigot). Download it and open it directly in the game.

Explore more