Added /list [group] and some more detailed configuration regarding /list

This commit is contained in:
kukelekuuk00 2013-03-13 16:49:00 +01:00 committed by KHobbits
parent ce51a07bf1
commit 32099a4109
18 changed files with 221 additions and 87 deletions

View file

@ -258,6 +258,7 @@ public class Settings implements ISettings
return socialspyCommands;
}
@Override
public Set<String> getSocialSpyCommands()
{
return socialSpyCommands;
@ -452,11 +453,15 @@ public class Settings implements ISettings
{
return config.getBoolean("per-warp-permission", false);
}
@Override
public boolean getSortListByGroups()
public Map<String, Object> getListGroupConfig()
{
return config.getBoolean("sort-list-by-groups", true);
if (config.isConfigurationSection("list"))
{
return config.getConfigurationSection("list").getValues(false);
}
return new HashMap<String, Object>();
}
@Override