Command List
This Commands are currently Supported by InfoAPI
General Commands
This Commands deliver generic Information about the Server
- MAXPLAYER
Returns the Maximum Amount of Players that are allowed at the Same Time online as an Integer
- ONLINEMODE
Returns a Boolean that States if the Server uses Onlinemode (aka. Authentication over MC.net)
- VERSION
Returns the Version Number of the Craftbukkit Build (something like: git-Bukkit-0.0.0-1043-g979f4e1-b1149jnks (MC: 1.8.1) ) as String
- VERSION_SHORT
Returns only the Minecraft Part of the Craftbukkit Build (something like MC: 1.8.1 )
- RAM
Returns a String with following Information about the JVM Accessible Memory:
Total Memory of the Java Runtime in MB
Free Memory of the Java Runtime in MB
Maximum Memory of Java Runtime in MB
The 3 Parts are seperated by a Slash ( / )
- CPU
Returns the String "Not Possible due of JAVA Limitation" - the Only Information about CPU accessible within Java is the Number of Cores the JVM Runs on. Only Implemented because of Legacy Support.
- PLUGINS
Returns the Names of all Plugins on the Server (or at least - recognized by bukkit)
- PLUGINS_SHORT
Returns the Short Name of all Plugins on the Server
World Commands
This Commands deliver Information on a World Basis. To Use this Commands you need to Append "/[worldname"] after the Command. The same Command is repeatable for an infinite Number of Worlds.
- ONLINEPLAYER
Returns the Count of Players currently Online as Integer
- PLAYERLIST
Returns a List of Players currently Online
- TEMP
Returns the Temperature of the Spawn Location Block
- TIME
Returns the Minecraft Time
- TEMPC
Returns the Temperature of the Spawn Location Block converted to Degree Celsius
- HUMIDITY
Returns the Humidity of the Spawn Location Block
Daisy Chaining
It is now Possible to Daisy Chain every Command by simply Adding a plus (+) after every Command but the last.
example.com:25577/version+version_short+time/world+playerlist/world2+version?secret
As you see in the Example above you can also repeat the Commands at will.
The Output will be Seperated by a plus (+)
git-Bukkit-0.0.0-1043-g979f4e1-b1149jnks (MC: 1.8.1)+MC: 1.8.1+18268[...]
Comments