Feature Request: Allow servers to set a custom storage inventory title #5524
Rafael7121
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
PlayerDashboardInventoryUI always sets the storage header to the localized
"Storage" string.
Server plugins can create virtual storage using PlayerInventory.STORAGE and
sendStorage(), but there is no supported way to provide a custom display name.
For example, a server may implement a persistent virtual storage called
"Private Vault", but the native inventory interface still displays "Storage".
The current workaround is a UI Effect overlay. This does not behave like the
native header: it may not perfectly follow inventory animations, UI scaling,
opening/closing, or layout changes.
Client modules can modify the native header, but client modules are disabled
when running with BattlEye.
Proposed solution
Add an optional server-provided display name for the currently-open storage.
Possible API example:
PlayerInventory.sendStorage(string displayName = null);
Or expose a property such as:
inventory.storageDisplayName = "Private Vault";
inventory.sendStorage();
The client could use the custom value when available and fall back to the
localized "Storage" string otherwise.
The value should be cleared when the storage closes and could have a short
length limit with rich text disabled.
Benefits
server plugin storage systems.
All reactions