Improves the default dynmap info popup
This commit is contained in:
parent
0bcecba156
commit
4ad841c867
@ -35,9 +35,9 @@ import java.util.Set;
|
||||
public class FactionsUpdate implements Runnable {
|
||||
|
||||
private static final String DEF_INFO_WINDOW = "<div class=\"infoWindow\"><span style=\"font-size:120%;\">" +
|
||||
"%regionName%</span><br/>Description: <span style=\"font-weight:bold;\">%description%</span><br/>Leader: " +
|
||||
"%regionName%</span><br/><span style=\"font-weight:bold;\">%description%</span><br/><br/>Leader: " +
|
||||
"<span style=\"font-weight:bold;\">%playerOwners%</span><br/>Members: <span style=\"font-weight:bold;\">" +
|
||||
"%playerMembers%</span><br />Flags<br /><span style=\"font-weight:bold;\">%flags%</span></div>";
|
||||
"%playerMembers%</span><br/><br/>Flags<br/><span style=\"font-weight:bold;\">%flags%</span></div>";
|
||||
private final String infoWindow;
|
||||
private final DynmapFactionsPlugin dynmapFactionsPlugin;
|
||||
public boolean runonce;
|
||||
|
@ -14,7 +14,7 @@ layer:
|
||||
minZoom: 0
|
||||
|
||||
# Format for popup - substitute values for macros
|
||||
infoWindow: '<div class="infoWindow"><span style="font-size:120%;">%regionName%</span><br/>Description: <span style="font-weight:bold;">%description%</span><br/>Leader: <span style="font-weight:bold;">%playerOwners%</span><br/>Members: <span style="font-weight:bold;">%playerMembers%</span><br />Flags<br /><span style="font-weight:bold;">%flags%</span></div>'
|
||||
infoWindow: '<div class="infoWindow"><span style="font-size:120%;">%regionName%</span><br/><span style="font-weight:bold;">%description%</span><br/><br/>Leader: <span style="font-weight:bold;">%playerOwners%</span><br/>Members: <span style="font-weight:bold;">%playerMembers%</span><br/><br/>Flags<br/><span style="font-weight:bold;">%flags%</span></div>'
|
||||
|
||||
# Allow players in faction to see one another on dynmap (only relevant if dynmap has 'player-info-protected' enabled)
|
||||
visibilityByFaction: true
|
||||
|
Loading…
Reference in New Issue
Block a user