LabAPI icon indicating copy to clipboard operation
LabAPI copied to clipboard

[IDEA] Custom RA Panels

Open SwiftKraft opened this issue 1 year ago • 1 comments

Goal Description

Being able to make Remote Admin UI with the plugin (such as lists, buttons and labels) that can execute commands.

Notes

Conceptual Example

  • RAPanel class (Serves as a C# object representation of the panel, which contains a list of commands)
  • RAPanelCommand class (Serves as a C# object representation of a command that can be executed by pressing buttons on an RA panel, has a list of elements, ie: Give Item)
  • RAElement class (Base class for any RA element)
    • RAButton class (A button that runs the command of the RAPanelCommand object it belongs to)
    • RAToggle class (A toggle UI element that holds a boolean)
    • RAInputField class (A input field UI element that holds a string)
    • RAToggleList class (A scrolling list of RA toggles that can only have one active at a time, holds a integer)
    • RASlider class (A slider UI element that holds a float, which also has a text box on the side to specify values)
    • RALabel class (A simple text box that holds information)

SwiftKraft avatar Feb 23 '25 17:02 SwiftKraft

We've reopened this suggestion to prevent confusion and duplicate posts. The issue has been added to our internal tracker, but that does not guarantee acceptance nor implementation.

Axwabo avatar Apr 27 '26 16:04 Axwabo