setAutoDownloadConfigDefault

public static boolean setAutoDownloadConfigDefault(FileConfiguration fileConfiguration)

Registers the shared update keys as defaults. Every plugin's config loader calls this and then saves, so comment changes reach existing config files on the next load without touching their values.


public static boolean setAutoDownloadConfigDefault(FileConfiguration fileConfiguration, boolean offerRestartFreeUpdates)

Parameters

offerRestartFreeUpdates

false for a plugin registered with requireRestartForUpdates