SocketSettings
Global settings for Socket that can be accessed + changed via the widget. This persists across Places, but is unique to a specific user.
Properties
Font
SocketSettings.Font:
Enum.Font
The Font used on the widget.
Defaults to Enum.Font.Highway
UIScale
SocketSettings.UIScale:
number
This can be tweaked to change the scaling of the UI. Useful for users on a high DPI monitor, or a user that benefits from larger text.
Defaults to 1
OpenFieldsByDefault
SocketSettings.OpenFieldsByDefault:
boolean
The widget uses toggle arrows to show/hide information. If true
, the "Fields" sections inside macros will be open by default. Just saves the
user another click.
Defaults to true
SortType
SocketSettings.SortType:
string
Can take a variety of string values to define how Macros and Groups are sorted on the widget.
"LayoutOrder"
Uses Layout Order to define sorting. The group with the Macro with the lowest LayoutOrder
will be at the
top of the widget.
"Icon"
Will sort Macros and Groups by their Icon
using <
. This results in Macros and Groups with matching Icons being grouped next to one another.
"Name"
Sorts Macros and Groups alphabetically by name. This behaviour also underlies the other sort types when there isn't a distinct difference (e.g., same
Icon
, same LayoutOrder
)
Defaults to "Name"
OSType
SocketSettings.OSType:
string
Can take a variety of string values to define the OS you are on. This is useful to translate the Ctrl/Cmd keybinds across OS types.
"Windows"
Converts Enum.KeyCode.LeftMeta
and Enum.KeyCode.RightMeta
to Enum.KeyCode.LeftControl
and Enum.KeyCode.RightControl
"Mac"
Converts Enum.KeyCode.LeftControl
and Enum.KeyCode.RightControl
to Enum.KeyCode.LeftMeta
and Enum.KeyCode.RightMeta
Defaults to "Windows"
IgnoreGameProcessedKeybinds
SocketSettings.IgnoreGameProcessedKeybinds:
boolean
If true
, will not discard UserInputService#InputBegan events where gameProcessed=true
.
Defaults to false
EnableSocketMacros
SocketSettings.EnableSocketMacros:
boolean
Declares if Socket should automatically add its pre-packaged Macros. If false
, and you delete all the default Macros, they will not reappear
when you restart Socket.
Defaults to true
EnableSocketMacrosOverwrite
SocketSettings.EnableSocketMacrosOverwrite:
boolean
Slightly softer version of EnableSocketMacros
. By default, Socket will delete+add its pre-packaged Macros on startup. This means that any
user-made changes to the ModuleScripts
will be overwritten. Set this to false
to disable this behaviour.
Defaults to true
EnableAutoRun
SocketSettings.EnableAutoRun:
boolean
If false
, will ignore the .AutoRun
member in any MacroDefinition
Defaults to true
LocalMacroColor
v1.1.0SocketSettings.LocalMacroColor:
Color3
This is the color used to make Local Macros stand out from other macros on the widget.
Defaults to Color3.fromRGB(0, 231, 193)
ClearFieldTextBoxOnFocus
v1.2.3SocketSettings.ClearFieldTextBoxOnFocus:
Color3
When you click a field value TextBox
, it automatically clears the content. Set this to false to disable this behaviour.
Defaults to true
HideUnusedFieldsAndKeybind
v1.2.5SocketSettings.HideUnusedFieldsAndKeybind:
boolean
If true
, will only display Fields
and Keybind
for a macro if they are defined. This can make the UI look cleaner + clean up some real estate.
Defaults to false
UseDefaultSettings
SocketSettings.UseDefaultSettings:
boolean
If true
, will reset ALL settings back to their default value (including UseDefaultSettings=false
)