fivem icon indicating copy to clipboard operation
fivem copied to clipboard

Support `ui_label` for resource display aliases

Open blattersturm opened this issue 4 years ago • 1 comments

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')

blattersturm avatar Nov 02 '21 14:11 blattersturm

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")

glitchdetector avatar Nov 03 '21 17:11 glitchdetector

Can we get an update on this bubble?

Andyyy7666 avatar Nov 30 '22 20:11 Andyyy7666