Towny Classic

Towny Classic

3.2k Downloads

Suggestion: Config option for non-public towns to show map link

Closed this issue ยท 0 comments

commented

Please explain your feature request to the best of your abilities:

It might be helpful to add an option like non_public_towns_show_map_link so that even non-public towns can still display their map link. This would make it easier for users to locate where a town is on the map by simply clicking the link that appears for public towns.

 web_map:
      # If enabled, players will be prompted to open a url when clicking on coordinates in towny status screens.
      enabled: 'true'
  
      # If enabled, the world name placeholder will be replaced with the world key instead of the Bukkit name.
      # This should be enabled if you use SquareMap.
      world_name_uses_world_key: 'false'
   
      # If enabled, non-public towns will show a link to their map location in the town status screen
      non_public_towns_show_map_link: 'true'

  
      # The url that players will be prompted to open when clicking on a coordinate in a status screen.
      # Valid placeholders are {world}, {x}, and {z}, for the world name, x, and z coordinates respectively.
      url: https://earthpol.com/map/#{world}:{x}:65:{z}:5:0:0:0:0:perspective