OSRS Plugin API
    Preparing search index...

    Function get

    • Gets the current settings of the plugin, parased as a table from JSON.

      Returns void

      a lua table of all the settings, with their field as key-value pairs.

      // In a plugin where ExampleSetting is a setting
      // ex: "ExampleSetting": {"label":"Example Checkbox", "value":false, "type":"checkbox"}
      osrs.print("Setting ExampleSetting")
      osrs.print("Label - " .. tostring(osrs.Settings.get()["ExampleSetting"]["label"]))
      osrs.print("Value - " .. tostring(osrs.Settings.get()["ExampleSetting"]["value"]))