copyDefaults

public FileConfigurationOptions copyDefaults(boolean value)

Sets if the Configuration should copy values from its default Configuration directly.

If this is true, all values in the default Configuration will be directly copied, making it impossible to distinguish between values that were set and values that are provided by default. As getClassById result, contains will always return the same value as isSet. The default value is false.

Return

This object, for chaining

Parameters

value

Whether or not defaults are directly copied