From 4ad841c8679fb641943c53ace05e9210b5995d4e Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Tue, 14 May 2024 15:22:11 +0200 Subject: [PATCH] Improves the default dynmap info popup --- .../java/org/dynmap/factions/runnable/FactionsUpdate.java | 4 ++-- src/main/resources/config.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/dynmap/factions/runnable/FactionsUpdate.java b/src/main/java/org/dynmap/factions/runnable/FactionsUpdate.java index b4c9a48..b7304b7 100644 --- a/src/main/java/org/dynmap/factions/runnable/FactionsUpdate.java +++ b/src/main/java/org/dynmap/factions/runnable/FactionsUpdate.java @@ -35,9 +35,9 @@ import java.util.Set; public class FactionsUpdate implements Runnable { private static final String DEF_INFO_WINDOW = "
" + - "%regionName%
Description: %description%
Leader: " + + "%regionName%
%description%

Leader: " + "%playerOwners%
Members: " + - "%playerMembers%
Flags
%flags%
"; + "%playerMembers%

Flags
%flags%"; private final String infoWindow; private final DynmapFactionsPlugin dynmapFactionsPlugin; public boolean runonce; diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 7201505..2cf1d8e 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -14,7 +14,7 @@ layer: minZoom: 0 # Format for popup - substitute values for macros -infoWindow: '
%regionName%
Description: %description%
Leader: %playerOwners%
Members: %playerMembers%
Flags
%flags%
' +infoWindow: '
%regionName%
%description%

Leader: %playerOwners%
Members: %playerMembers%

Flags
%flags%
' # Allow players in faction to see one another on dynmap (only relevant if dynmap has 'player-info-protected' enabled) visibilityByFaction: true