API
The client has a work-in-progress API that I've just begun creating, and here's the documentation for the existing functions.
To make a plugin for the client, simply insert a return function into a module and place the module in the 'Plugins' folder.
:getTopbarButton()
This method returns the Topbar+ button (docs here) used to open the settings menu.
:getSetting(<container>,<settingName>)
Resizable <boolean>
Enabled <boolean>
Roundness <number/slider> (0-12)
AnimationStyle <string> (Enum.EasingStyle list)
TextSize <number/slider> (10-20)
FadeoutTime <number/slider> (3-25)
Font <string> (Enum.Font list)
For developers who want to create their own settings UI, they can use this method to access the values and change them accordingly'.
:systemMessage(<text>)
This method displays a system message in the chat with the specified text.
:getQuickChatSlot(<number>)
If quick chat is enabled, you can pass a number from 1-20 to get the text in that specified quick chat slot.
:saveToQuickChatSlot(<number>,<string>)
If quick chat is enabled, you can pass both a number and the text you want to save to the specified quick chat slot to be used later.
Last updated