Skip to content

Implementation of "TwitchIdPosition" #661

@QuinnWuest

Description

@QuinnWuest

Much like how TP fetches for a string named "TwitchHelpMessage", TP could also fetch for an integer called "TwitchIdPosition".

TP will accept 0, 1, 2, 3, or 4 as a valid integer for TwitchIdPosition. Then, TP will place the status light in the position based on the integer.

The values would be:

  • 0: Top Right
  • 1: Bottom Right
  • 2: Bottom Left
  • 3: Top Left
  • 4: Center
    The numbers start at the top right (default), go clockwise, and end in the center.

If the field doesn't exist or is invalid, TP can still default the ID to whichever corner the status light is closest to. (Current behavior)

Why?:
This way, the "set status light position" command doesn't have to be done by a TP admin/moderator every time at every stream. Of course this can still be overridden by the command, but it might be easier for both mod developers and TP admins if the mod developer declares where they want the status light to be via code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions