Novoline
  • Main Page
  • Scripting
    • Introduction
      • Casts
      • Security
      • Globals
      • Object Members
    • Client API
    • Objects
      • Features
        • Feature Settings
      • Settings
      • Minecraft
        • Entities
        • Packets
          • Play Serverbound
          • Play Clientbound
        • MathHelper
    • Events
    • Examples
Powered by GitBook
On this page

Was this helpful?

  1. Scripting
  2. Objects

Settings

Describes Setting objects.

PreviousFeature SettingsNextMinecraft

Last updated 3 years ago

Was this helpful?

Settings on their own are not bound to a specific and only contain the necessary properties/functions. Here are these parameters:

Type
Name
Description
Signature

function

getName

Returns the Setting's name

string()

function

getSignature

Returns the path to the Setting in the config file.

string()

field

type

Setting type (currently will only be FEATURE)

string

Setting objects can be up-casted to FeatureSetting, by using setting.as('FeatureSetting'), if the setting was made for a feature. By default, if you're retrieiving a Setting by using , you're not required to do this - you will receive the latest object on the chain, be it a CheckboxSettting, a ComboSetting, etc.

Feature
Feature#getSetting