#Dynmap-worldguard infowindow customization

1 messages · Page 1 of 1 (latest)

south turtle
#

Hey, i was wondering if it was possible to make it so that the infowindow that pops up when clicking on a region will only show "Owners" if there actually are owners, and will only show the () parenthesis that go around the %parent%, if there actually is a parent.

So for example, a region with no parent and no owners would have an infobox of "RegionName"
But a region with a parent and with owners would show the infobox as
"RegionName (Parent)
Owners Player1"

Is it possible to do this? or to maybe use custom placeholders in the infowindow?

sudden cedarBOT
#

Thank you! Please provide any errors you are experiencing and upload your configuration.txt. Someone from our <@&801354402010628138> team will respond to help shortly. As a general reminder, everyone on our support team is a volunteer, please be kind!

#

(optional) Please upload your configuration.txt to https://pastebin.org and send us the link. BE SURE TO REMOVE PASSWORDS

south turtle
#

and i currently have my infowindow as this:

  (%parent%)</span><br /> Owners <span style="font-weight:bold;">%playerowners%<br/>%groupowners%</span></div>```
south turtle
#

Hello?

eager estuary
#

I don't know whether that is possible, never wrote that in-depth of a html code. and don't know if embedding css works

south turtle
#

Oh, sorry

eager estuary
#

idk, not much more than the wiki of the plugin is know about it

south turtle
#

i dont know how i would go about trying it though?

#

Sorry, i meant i dont know how to try per-region infowindows.
didnt realize you could be referring to custom placeholders, ill try that now.

south turtle
#

so custom placeholders don't work, is there any way to set per region infowindows?

eager estuary
#

I don't think so

sudden cedarBOT
#

This support thread has been archived due to inactivity. Click the button below to reopen it.

sudden cedarBOT
#

This support thread has been archived due to inactivity. Click the button below to reopen it.