Command List

This Commands are currently Supported by InfoAPI

General Commands
This Commands deliver generic Information about the Server

  1. MAXPLAYER
    Returns the Maximum Amount of Players that are allowed at the Same Time online as an Integer
  2. ONLINEMODE
    Returns a Boolean that States if the Server uses Onlinemode (aka. Authentication over MC.net)
  3. 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
  4. VERSION_SHORT
    Returns only the Minecraft Part of the Craftbukkit Build (something like MC: 1.8.1 )
  5. 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 ( / )
  6. 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.
  7. PLUGINS
    Returns the Names of all Plugins on the Server (or at least - recognized by bukkit)
  8. 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.

  1. ONLINEPLAYER
    Returns the Count of Players currently Online as Integer
  2. PLAYERLIST
    Returns a List of Players currently Online
  3. TEMP
    Returns the Temperature of the Spawn Location Block
  4. TIME
    Returns the Minecraft Time
  5. TEMPC
    Returns the Temperature of the Spawn Location Block converted to Degree Celsius
  6. 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

Posts Quoted:
Reply
Clear All Quotes