From beee3ce2dab695e83cf4f66bb055e504dc36ada7 Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Sat, 18 Aug 2012 17:36:39 -0500 Subject: [Bleeding] Add autosave interval setting in bukkit.yml. Adds BUKKIT-2507 The new setting is located at "ticks-per.autosave". By changing this value, it affects how often a full save is automatically executed, measured in ticks. This value is defaulting to 0 (off) because we believe that the vast majority of servers already have a third-party solution to automatically saving the server at set intervals. Having the built in auto-save disabled by default ensures that we are not saving things twice; doing so leads to absolutely no benefits, but results in detrimental and noticeable unnecessary performance decrease. For servers that do not use an automated external script to perform saves, this setting can be turned on by setting the value higher than 0, with 900 being the value used in vanilla. --- src/main/resources/configurations/bukkit.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/resources/configurations/bukkit.yml') diff --git a/src/main/resources/configurations/bukkit.yml b/src/main/resources/configurations/bukkit.yml index 486dbbc7..b34d84f0 100644 --- a/src/main/resources/configurations/bukkit.yml +++ b/src/main/resources/configurations/bukkit.yml @@ -32,6 +32,7 @@ spawn-limits: ticks-per: animal-spawns: 400 monster-spawns: 1 + autosave: 0 auto-updater: enabled: true on-broken: [warn-console, warn-ops] -- cgit v1.2.3