Skip to content

Dynamic profile/page navigation based on external plugin state #153

@FingerlessGlov3s

Description

@FingerlessGlov3s

Description

I've developed a Stream Deck plugin that integrates with FiveM. The game connects to the plugin over a WebSocket, so at any given moment the plugin knows data about the player's current character (name, job, department, etc)

I'd like to build a "smart" navigation action that can jump to a specific profile or page based on this data, rather than having separate page buttons for each job say. I know there's currently a Profiles API, but it doesn't allow for this functionality. If this could be extended to be able to list profiles and pages in those profiles, and then a way to navigate to a page. I could then implement this change.

Examples

Example of what players currently do:

  • Place three separate "Go to Page" actions, Police page, EMS page and then maybe a Mechanic page
  • You now have 3 buttons taking up space on the stream deck to action their job based quick actions in-game on their job specific pages

Proposed workflow:

  • Place a single custom "Go to Page" action from my plugin
  • In the setting section, the user can map each job to one of their existing pages
  • Now when they press the one button depending on which job the player is apart of it'll switch to the page of their choosing.

There's also other data the user could do this with but Job is a good example

Impact

Players with smaller stream deck devices have limited space, so this would help declutter and consolidate changing page actions.

I can see this being useful for other applications or games where a state aware "Go to Page" would be useful

Alternatives Considered

Creating a page between pages to reduce clutter, but not ideal, slows down the user

Contribution

  • I am interested in contributing

Metadata

Metadata

Assignees

No one assigned

    Labels

    triageThe issue is awaiting triage.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions