Added timeslicing to configuration
This commit is contained in:
parent
6c708d1b3a
commit
88db6445f9
2 changed files with 7 additions and 1 deletions
|
|
@ -33,6 +33,12 @@ jsonfile: false
|
|||
# How often the json file gets written to(in seconds)
|
||||
jsonfile-interval: 1
|
||||
|
||||
# Use timesliced fullrender - takes a bit longer, but much more polite for server
|
||||
timeslicerender: true
|
||||
|
||||
# Period between tile renders for timesliced fullrender, in seconds
|
||||
timesliceinterval: 0.5
|
||||
|
||||
# The maptypes Dynmap will use to render.
|
||||
worlds:
|
||||
- name: world
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ public class MapManager {
|
|||
if (bukkitWorld != null)
|
||||
activateWorld(bukkitWorld);
|
||||
}
|
||||
do_timesliced_render = configuration.getBoolean("timeslicerender", false);
|
||||
do_timesliced_render = configuration.getBoolean("timeslicerender", true);
|
||||
timeslice_interval = configuration.getDouble("timesliceinterval", 0.5);
|
||||
|
||||
scheduler = plugin.getServer().getScheduler();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue