lanxu awesome scripts ===================== Requirements ------------ - dkjson (for parsing json. Available with this widget) How to use ---------- You may create your widget like this: ~~~lua local mcstatus = require("lanxu/mcstatus") myserverstatus = mcstatus({ settings = function() widget.markup = "PLAYERS " .. totalplayers .. "" end }) ~~~ After this you can use "myserverstatus" like any other textbox widget full list of available settings below ~~~lua myserverstatus = mcstatus({ hideempty = false, hideoffline = true, calluri = "https://page.not.found/mc_stats.php?type=server_status", settings = function() widget.markup = "PLAYERS " .. totalplayers .. "" end }) ~~~