Dynmap-WorldGuard icon indicating copy to clipboard operation
Dynmap-WorldGuard copied to clipboard

Selecting regions to be shown

Open Wondrej opened this issue 13 years ago • 6 comments

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.

Wondrej avatar Dec 17 '11 13:12 Wondrej

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

mikeprimm avatar Dec 17 '11 14:12 mikeprimm

oh thank you, perhaps you should update it into wiki :) would be handy to have example for each option.

Wondrej avatar Dec 17 '11 14:12 Wondrej

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?

Wondrej avatar Dec 17 '11 15:12 Wondrej

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.

mikeprimm avatar Dec 18 '11 01:12 mikeprimm

/areload it admincmd command used for reloading indiviual plugins

Wondrej avatar Dec 19 '11 11:12 Wondrej

ein server reload wird nicht empfohlen. use a full server restart to update visibleregions

seema84 avatar Feb 23 '21 15:02 seema84