function defaultJavaConfig(effectiveJavaOptions, ram) {
    if(effectiveJavaOptions.suggestedMajor > 8) {
        return defaultJavaConfig17(ram)
    } else {
        return defaultJavaConfig8(ram)
    }
}
Set the mod configuration for a specific server. This overrides any existing value.

@param {string} serverid The id of the server for the given mod configuration.
@param {Object} configuration The mod configuration for the given server.