Brettflan / WorldBorder

Bukkit plugin for maintaining borders for your worlds to limit their sizes, as well as generating missing chunks or trimming excess chunks.
https://www.spigotmc.org/resources/worldborder.60905/
BSD 2-Clause "Simplified" License
139 stars 210 forks source link

Costum dynmap layer priority and hide by default #93

Closed J0B10 closed 6 years ago

J0B10 commented 6 years ago

I don't know if somebody still works on this project but I have made some edits for me and want to share them with you.

This PR adds the following config options:

dynmap-broder-hideByDefault: false
dynmap-border-priority: 0

This allows costumizing if the WorldBorder layer on the dynmap is enabled by default and where it is shown in the layers.

Brettflan commented 6 years ago

You have a typo of "broder" there and in the commit, in "dynmap-broder-hideByDefault".

Also, just for safety and clarity, the variable declarations should specify the defaults as well. Example: private static int dynmapPriority = 0; private static boolean dynmapHideByDefault = false;

I can fix those easily enough, so ... accepted.