mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-29 12:07:41 +01:00
Added timeslicing to configuration
This commit is contained in:
parent
6c708d1b3a
commit
88db6445f9
@ -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…
Reference in New Issue
Block a user