Dynmap-WorldGuard
Dynmap-WorldGuard copied to clipboard
Selecting regions to be shown
Hi, I would like to know what am I doing wrong here. Or if the error is on your side. I wished to select only some regions to be shown on dynmap, but it keeps all of them on.
I don't know how to set them up (there is no example anywhere) so I was trying different styles but all of them didn't bring any results. Now it looks like this:
visibleregions: [theregion]
but I was trying also visibleregions: theregion both no results. I was also reloading both dynmap and dynmap-worldguard.
YAML unpleasantness: need spaces around there OR to use a list format (separate lines, dash before each):
visibleregions: [ x, y, z ]
or
visibleregions:
- x
- y
- z
oh thank you, perhaps you should update it into wiki :) would be handy to have example for each option.
ok I think I know where the problem is now. and it is on my side. I don't know how to reload the plugin with updated regions. When I update regions that I want to show in config file. nothing changes obviously, but when I try to reaload plugin through admincmd command /areload Dynmap-WorldGuard it resets all the changes I've made. So, do I need to reload whole server to changes have any effect on the map regions?
I can't speak to the /areload command, but reloading individual plugins is pretty dicey stuff (works by accident more than by design, especially for plugins that talk to other plugins). I generally support /reload (which unloads and reloads all the plugins, so everything is properly reset) - I don't honestly know what /areload actually does.
/areload it admincmd command used for reloading indiviual plugins
ein server reload wird nicht empfohlen. use a full server restart to update visibleregions