Add 'grayplayerswhenhidden' option to allow disable of graying of players in player list when not visible on current map

This commit is contained in:
Mike Primm 2011-12-16 01:10:31 +08:00 committed by mikeprimm
parent 5af670de61
commit 3c849b9d66
3 changed files with 6 additions and 1 deletions

View file

@ -26,6 +26,7 @@ public class ClientConfigurationComponent extends Component {
s(t, "dynmapversion", plugin.getDescription().getVersion());
s(t, "cyrillic", c.getBoolean("cyrillic-support", false));
s(t, "showlayercontrol", c.getBoolean("showlayercontrol", true));
s(t, "grayplayerswhenhidden", c.getBoolean("grayplayerswhenhidden", true));
String sn = plugin.getServer().getServerName();
if(sn.equals("Unknown Server"))
sn = "Minecraft Dynamic Map";