Add 'showlayercontrol' config setting and URL parameter, to allow hide of layer control
This commit is contained in:
parent
d5e1bc1b4d
commit
f7dedff413
3 changed files with 29 additions and 11 deletions
|
|
@ -25,6 +25,7 @@ public class ClientConfigurationComponent extends Component {
|
|||
s(t, "sidebaropened", c.getString("sidebaropened", "false"));
|
||||
s(t, "dynmapversion", plugin.getDescription().getVersion());
|
||||
s(t, "cyrillic", c.getBoolean("cyrillic-support", false));
|
||||
s(t, "showlayercontrol", c.getBoolean("showlayercontrol", true));
|
||||
String sn = plugin.getServer().getServerName();
|
||||
if(sn.equals("Unknown Server"))
|
||||
sn = "Minecraft Dynamic Map";
|
||||
|
|
|
|||
|
|
@ -242,12 +242,12 @@ showplayerfacesinmenu: true
|
|||
joinmessage: "%playername% joined"
|
||||
quitmessage: "%playername% quit"
|
||||
spammessage: "You may only chat once every %interval% seconds."
|
||||
# webprefix and websuffix support using '&color;' as escape code for color code (deprecated: use webmsgformat)
|
||||
#webprefix: "&color;2[WEB] "
|
||||
#websuffix: "&color;f"
|
||||
# format for messages from web: %playername% substitutes sender ID (typically IP), %message% includes text
|
||||
webmsgformat: "&color;2[WEB] %playername%: &color;f%message%"
|
||||
|
||||
# Control whether layer control is presented on the UI (default is true)
|
||||
showlayercontrol: true
|
||||
|
||||
# Enable checking for banned IPs via banned-ips.txt (internal web server only)
|
||||
check-banned-ips: true
|
||||
|
||||
|
|
@ -257,7 +257,7 @@ defaultworld: world
|
|||
defaultmap: flat
|
||||
|
||||
# Option to enable workaround for incorrectly encoded unicode in Cyrillic MC/Bukkit (not good for other code pages)
|
||||
#cyrillic-support: true
|
||||
cyrillic-support: false
|
||||
|
||||
# NOTE: the 'templates' section is now found in the 'templates' directory
|
||||
# Templates CAN still be defined in configuration.txt, as before 0.20
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue