How to use - ParvatisGitHub/Towny-Flags GitHub Wiki

This plugin depends on Towny for ascii art in game. Dynmap, and Dynmap-Towny are soft depends for the webview

On the first launch the config.yml and flag-images folder will generate in /plugins/Towny-Flags/

The flag-images folder will generate with some default flags, feel free to delete these if you wish.

To add flags that players can choose from just drop the png files into the flag-images folder.

To remove flags, you need to remove them from the flag-images folder and from the /plugins/dynmap/web/flags/ folder

Set Up Webview

In order to see the flags on the webmap view you need to go to the dynmap-towny config.

Under the infowindow->town_info_window setting, and just after <div class="infowindow">
Add the placeholders %town_flag% in order to show the town flag and %nation_flag% in order to show the nation flag.

It should look something like this <div class="infowindow">%town_flag%<.....rest of infowindow settings>

If you know html coding you can go pretty in depth with this and make some cool stuff