You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- string **Name** - The human readable name associated with an option.
103
103
- string **Description** - The markdown formatted description for an option.
104
-
-**Tier** - One of `CUSTOMER_ONLY`, `PREMIUM_ONLY`, `ADMIN_ONLY`.
105
-
-**Type** - One of `CHECKBOX`, `DROPDOWN`, `TEXT`.
104
+
-[*LuraphOptionTier*](#enum-luraphoptiontier)**Tier** - Required tier to access the option.
105
+
-[*LuraphOptionType*](#enum-luraphoptiontype)**Type** - The type of input requested for the option.
106
106
- bool **Required** - If creating a user interface to integrate with Luraph, settings that contain a value of `true` for this field should be explicitly set by the user, since they have a high chance of causing incorrect output when not set properly.
107
107
- string[]**Choices** - An array of acceptable option values when `type == DROPDOWN`.
108
-
- Dictionary<string, object[]>? **dependencies** - An array of required prerequisite values before this setting can be changed from the default value.
108
+
- Dictionary<string, object[]>? **dependencies** - An array of required prerequisite values before this setting can be changed from the default value.
109
109
110
110
---
111
111
@@ -163,6 +163,26 @@ Fields:
163
163
-**Errors** - An array of [*LuraphError*](#struct-lurapherror).
164
164
-**Message** - A human readable collection of error messages returned by a request.
165
165
166
+
---
167
+
168
+
### enum LuraphOptionTier
169
+
170
+
Values:
171
+
-**CUSTOMER_ONLY** - All customers can access this option.
172
+
-**PREMIUM_ONLY** - Only customers on a plan with premium features can access this option.
173
+
-**ADMIN_ONLY** - Only administrators can access this option.
174
+
175
+
---
176
+
177
+
### enum LuraphOptionType
178
+
179
+
Values:
180
+
-**CHECKBOX** - Expects a boolean value.
181
+
-**DROPDOWN** - Expects a value contained in the option choices.
182
+
-**TEXT** - Expects any textual imput.
183
+
184
+
---
185
+
166
186
## Useful Links
167
187
-[Visit the Luraph Website](https://lura.ph/"Luraph - Online Lua Obfuscation")
168
188
-[Join the Luraph Discord](https://discord.lura.ph/"Luraph Discord Server")
0 commit comments