mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
Update Module_list.java
This commit is contained in:
parent
fa5c774f45
commit
7dfd6c0b8b
@ -25,15 +25,20 @@ public class Module_list extends HTTPDModule
|
|||||||
if (params.get("json") != null && params.get("json").equals("true"))
|
if (params.get("json") != null && params.get("json").equals("true"))
|
||||||
{
|
{
|
||||||
final JSONObject responseObject = new JSONObject();
|
final JSONObject responseObject = new JSONObject();
|
||||||
|
|
||||||
|
final JSONArray owners = new JSONArray();
|
||||||
|
final JSONArray executives = new JSONArray();
|
||||||
|
final JSONArray developers = new JSONArray();
|
||||||
|
final JSONArray senioradmins = new JSONArray();
|
||||||
|
final JSONArray admins = new JSONArray();
|
||||||
|
final JSONArray masterbuilders = new JSONArray();
|
||||||
final JSONArray operators = new JSONArray();
|
final JSONArray operators = new JSONArray();
|
||||||
final JSONArray imposters = new JSONArray();
|
final JSONArray imposters = new JSONArray();
|
||||||
final JSONArray masterbuilders = new JSONArray();
|
|
||||||
final JSONArray admins = new JSONArray();
|
|
||||||
final JSONArray senioradmins = new JSONArray();
|
|
||||||
final JSONArray developers = new JSONArray();
|
|
||||||
final JSONArray executives = new JSONArray();
|
|
||||||
final JSONArray owners = new JSONArray();
|
|
||||||
|
|
||||||
for (Player player : Bukkit.getOnlinePlayers())
|
for (Player player : Bukkit.getOnlinePlayers())
|
||||||
{
|
{
|
||||||
@ -147,4 +152,4 @@ public class Module_list extends HTTPDModule
|
|||||||
{
|
{
|
||||||
return "TotalFreedom - Online Players";
|
return "TotalFreedom - Online Players";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user