Stream sources

Shinohara Rin edited this page Jun 29, 2017 · 3 revisions

console

This source provides all output written to the Minecraft console. Output looks like this:

{"result":"success","source":"console","success":{"time":1304479894,"line":"2011-05-03 19:31:34 [INFO] Done (0.066s)! For help, type \\"help\\" or \\"?\\"\n"}}

chat

This source provides all chat activity. Output looks like this:

{"result":"success","source":"chat","success":{"message":"hi stream!","time":1304480925,"player":"alecgorge"}}

connections

This source provides all player connections/disconnections. Output looks like this:

{"result":"success","source":"connections","success":{"time":1304481146,"player":"alecgorge","action":"connected"}}
{"result":"success","source":"connections","success":{"time":1304481149,"player":"alecgorge","action":"disconnected"}}

lagmeter

Only available if using this version of the LagMeter plugin. Provides server ticks-per-seconds, used and total memory. Output looks like this:

{"result":"success","source":"lagmeter","success":{"tps": 19.99, "memoryUsed": 1073741824, "memoryTotal": 3221225472}}