Skip to main content

updateOptions()

This function is used to update XP Client options.

Parameters

ParameterTypeRequiredDescription
clientOptionsNewClientOptionsThe options to update.

Returns

  • void

Throws

  • XpFatal - if invalid parameters are provided, or invalid database connection is provided.

[JS] Example

const {updateOptions} = require('simply-xp');

updateOptions({xp_rate: "fast"}) // Returns void