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
@M91
Try to run it without this plugin, if not done yet.
Anyway going to look at this, might have tomorrow a solution
any idea whats making it do this? i also have a NoLag examine if you wanna take a look at it.
[Edit]The Server is running CentOS with java7u11 & 1.4.6-R0.3[/Edit]
An update incoming in the next 3-4 days got atm much to do
@dandielo
Will do. I'll send it through PM.
@bukOhTwo
If you might send me your whole config file and server startup log with this error, because it seems to lay in the config file. But can't really find it.
Sorry for that error throwing will try to fix it as fast as I can
@dandielo
This is actually my first time using it (so no config files). I tried downloading build #160 (the latest developer's build) for Precious Stones and no such luck either.
@bukOhTwo
It might be caused of the change within the config files when updating from 1.0.1
Try to reset the config, make a backup before, and be sure you are using latest PS dev-build with new flags
Getting this error thrown:
Running 1.4.6 R-0.1
Incoming version 1.1.1 - adds dynmap-hide-players flag, it's still beta so report any bugs or weird behavior plz :)
@CrowMCLP
going to fix as fast as i can, sorry for that looks like I I've by accident added some unknown dependencies... Thanks for reporting this :)
EDIT: Here's the fixed file, still not approved but it should work without any problems, and sorry for that Dynmap - PreciousStones v1.0.1
2012-12-16 22:31:06 [SEVERE] Could not load 'plugins/DynMap-PreciousStones_v1.0.jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: Citizens at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:195) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:227) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:205) at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:51) at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:111) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:398) at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
I dont use citizens nor do i want to. But I would love to use your plugin. Can this please be addressed?
Thanks