mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-07-28 00:17:11 +00:00
Added /list [group] and some more detailed configuration regarding /list
This commit is contained in:
parent
ce51a07bf1
commit
32099a4109
18 changed files with 221 additions and 87 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue