OSRS Plugin API
    Preparing search index...

    Namespace Settings

    This section is for setting functions. These commands will allow you to get a user's current settings, which is chosen in the wrench icon on the bottom right of the games screen, and also get notified every time a setting changes.

    Lets say you want to create a plugin that only shows some of the settings found in the old school runescape client, the settings you think are the most important. Using the get function you can get the current value of any setting.

    Now lets say you would like to update your plugin every time the user changes their own settings. Using the setOnChangedHandler you can get notified every time a setting is changed, and it will give you the name of the newly changed setting.

    With both of these commands you will be able to make any plugin check the users current setting, and keep track of all of their changes.

    Type Aliases

    OnSettingChangeCallback

    Functions

    get
    setOnChangedHandler