Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support ui_label for resource display aliases #1111

Open
5 tasks
blattersturm opened this issue Nov 2, 2021 · 2 comments
Open
5 tasks

Support ui_label for resource display aliases #1111

blattersturm opened this issue Nov 2, 2021 · 2 comments

Comments

@blattersturm
Copy link
Collaborator

At times, resource names may not be what one wants to display in end-user contexts (GameInput menu, server public resource listing, etc.). Adding a ui_label field to the manifest with a configurable name should be helpful for this.

  • Document (fivem-docs)
  • Use for GameInput UI
  • Use for server resource list (requires info.json schema tweaks + fallback behavior?)

Requirements:

  • Minimum display length (no '' or weird space chars)
  • Duplicate checking (eg so authors can't name all their resources 'WewRP')
@glitchdetector
Copy link
Contributor

Since this would require info.json tweaks, would adding hyperlinks to the resource entries in the server listings be feasible?

A potential use case for that would be a link back to the resource download page, or forum thread etc.
Allowing resource creators to better utilize that space, and also aiding people in finding the sources for servers public resources (very few servers provide that info beyond resource "name")

@citizenfx citizenfx deleted a comment from Daudeuf Apr 1, 2022
@Andyyy7666
Copy link

Can we get an update on this bubble?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants