mirror of
https://github.com/webbukkit/dynmap.git
synced 2025-01-17 05:01:31 +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)
|
# How often the json file gets written to(in seconds)
|
||||||
jsonfile-interval: 1
|
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.
|
# The maptypes Dynmap will use to render.
|
||||||
worlds:
|
worlds:
|
||||||
- name: world
|
- name: world
|
||||||
|
@ -62,7 +62,7 @@ public class MapManager {
|
|||||||
if (bukkitWorld != null)
|
if (bukkitWorld != null)
|
||||||
activateWorld(bukkitWorld);
|
activateWorld(bukkitWorld);
|
||||||
}
|
}
|
||||||
do_timesliced_render = configuration.getBoolean("timeslicerender", false);
|
do_timesliced_render = configuration.getBoolean("timeslicerender", true);
|
||||||
timeslice_interval = configuration.getDouble("timesliceinterval", 0.5);
|
timeslice_interval = configuration.getDouble("timesliceinterval", 0.5);
|
||||||
|
|
||||||
scheduler = plugin.getServer().getScheduler();
|
scheduler = plugin.getServer().getScheduler();
|
||||||
|
Loading…
Reference in New Issue
Block a user