Dynmap - Precious Stones

Abandoned
Dynmap plugin to show PreciousStones fields

This plugin allows you to show your PreciousStones fields, and blocks on Dynmap.
Its easy to use and simple to configure.

This project was catch up from phaed420, but if you got any ideas fell free to share them, I will try my best.

Config file - how does it works

A html section in the config with 3 child nodes allows you to change and customize the display of some things on dynmap.

html:
 line: ' %text% <span style=\"font-weight:bold;\"> %value% </span><br />'
 box:  '<div class=\"infowindow\"> %content% </div>'
 field-names: 
  '%owner%': 'Owner'
  • html.line - is generally used for each new information you set to display
  • html.box - is the box that contains all items to display (%content%)
  • html.field-name - is used to set text (%text%) before the showing up value value (%value%)

Because of this changes formating in the area_text node looks like this now:

area_text: "<span style=\"font-size:120%;\">^%type% ^%name%</span><br /> %owner% %dimensions% %cords%"

The format has been lesser to use just the key words %owner%, if you add this character ^ before a keyword, it wont use the html.line format.

example:

  • %owner% will generate Owner <span style=\"font-weight:bold;\"> Dandielo </span><br />
  • ^%owner% will generate just Dandielo, so you can create around it your own HTML code

PreciousStones flags

To show a block on dynmap just use on of these Flags on your fields :)

dynmap-marker - This will draw the field's icon

dynmap-area - This will draw the field's two or three dimensional area on the map

dynmap-hide-players - This flag hides all players found on the allowed list in the fields area on dynmap

dynmap-show-players - This flag shows all players found on the allowed list in the fields area on dynmap

PreciousStones flag reference

Some ideas

  1. Add renting information
  2. Create a system do draw clan areas, color would be generated from clan tag (by some magic code ;P)
  3. Simplify the display node in the config

GitHub repo

Link to GitHub repository

The Dynmap - Precious Stones Team

profile avatar
  • 4
    Projects
  • 15.7K
    Downloads

More from Forge_User_20105142

  • dtlAnimations project image

    dtlAnimations

    • 5.3K
    • Bukkit Plugins

    MinecraftPacket based Animations

    • 5.3K
    • March 8, 2014
    • Bukkit Plugins
  • dtlBankers project image

    dtlBankers

    • 0
    • Bukkit Plugins

    Banker NPC for CItizens2 with user friendly GUI

    • 0
    • February 3, 2014
    • Bukkit Plugins
    • +1
  • dtlStats project image

    dtlStats

    • 1.7K
    • Bukkit Plugins

    A simple bridge plugin that allows simple plugin <-> website comunication :)

    • 1.7K
    • July 31, 2013
    • Bukkit Plugins
    • +2
  • dtlAnimations project image

    dtlAnimations

    • 5.3K
    • Bukkit Plugins

    MinecraftPacket based Animations

    • 5.3K
    • March 8, 2014
    • Bukkit Plugins
  • dtlBankers project image

    dtlBankers

    • 0
    • Bukkit Plugins

    Banker NPC for CItizens2 with user friendly GUI

    • 0
    • February 3, 2014
    • Bukkit Plugins
    • +1
  • dtlStats project image

    dtlStats

    • 1.7K
    • Bukkit Plugins

    A simple bridge plugin that allows simple plugin <-> website comunication :)

    • 1.7K
    • July 31, 2013
    • Bukkit Plugins
    • +2