Dynmap - Precious Stones
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
Some ideas
- Add renting information
- Create a system do draw clan areas, color would be generated from clan tag (by some magic code ;P)
Simplify the display node in the config
An updated version of this plugin for Minecraft 1.16 is available here: FireController1847/DynmapPS: Show your PreciousStones on your Dynmap for your Minecraft server, with support for SimpleClans. (github.com)
I rewrote it from the ground up and added a few cool features :)
Witch is permission to put protection? My players does not show anything in chat when they put this protection ...
@NathanWolf
You are awesome :D, thanks you very very very much!
Anyone else having a problem getting this running? I downloaded build #6 from Jenkins that was made on March 23rd. I've added the required flags to the PS config file and nothing has happened. Also when dropping this jar file into the server plugins folder and booting the server. Nothing happens. The jar file doesn't create it's own plugin like jar files normally do. Is this how it works now? I haven't used it since minecraft 1.7 so it seems a lot has changed.
Really nice plugin! Thx to keep alive! I just have a problem now :p The fields are on the map, but not the players anymore(on the full map, outside of the field as well! There is anything in config for that?
Thx :)
@NathanWolf
Thanks for that - seems that the fields only appear when the plugin is reloaded though. I notice it loads before PreciousStones on server start - is this intended?
Indeed there is an issue on server startup: https://gist.github.com/RoboMWM/3c40cb50852cd863d39c
Although it seems it's also erroring out on registering a permission that's already being used... idk, I fixed it in my fork.
@NathanWolf
thank you very much so we can upgrade to newer version of PS
so for information, you have not updated plugin version inside the plugin so /ver Dynmap-PreciousStones let see older version (not important)
;-)
I've updated this plugin, you can grab it off of my dev server if you want :)
http://jenkins.elmakers.com/job/Dynmap-PreciousStones/lastBuild/net.dandielo$Dynmap-PreciousStones/
I'll open a PR as well.
Hi !
Is there anyone who can upgrade to 1.8.8 with PS 10.0.4 ?
Thanks!
MySQL support please.
+1
thanks
@dandielo
Hey! Any update for the latest version of PreciousStones? (http://repo.sacredlabyrinth.net:8080/job/PreciousStones/) I'm on build #527 and obviously somethings wrong, none of the fields are showing on map :)
Hello again :)
I'm seeing a big hit on the PME listener in this plugin:
http://timings.aikar.co/?url=10880576
Is that anything I can turn off? I just want the fields to show up, though that could be tied to player move in a way I'm not expecting :)
EDIT: Grabbed source code, I see you already removed the listener. Thanks!
@NathanWolf
+1 ;-)
Thanks
Hello! I just want to say that I really love this plugin!
I just started using PreciousStones, and having the fields show up on dynmap is awesome. Thanks!
Hi !
Is there anyone that confirm it is ok with last release 1.8 ?
i will probably begin to work to migrate soon
thanks
@dandielo
Yeah, or kind of... In most cases (on my server anyway) a player owns the protection, that player is often a part of a clan (simpleclans)
So would it be possible to display which clan the player is in, just like the owners name is displayed? :)
@Zillew
Ok not really understood what you want, but using my words you want to display on those 'areas' a info which clan owns them yup?
Yeahhhhhhhh !!
It's ok !!
I dont understand why that was not working !!!
thanks to you, to have push me to test again !! ;)
@Zillew
ya i have
i will test it again soon ;)