LabAPI icon indicating copy to clipboard operation
LabAPI copied to clipboard

[IDEA] SSS Improvements

Open obvEve opened this issue 1 year ago • 4 comments

Goal Description

This will require client-side changes mostly

Pages

Allow the ability to send settings as pages to client, this will handle everything on the client side rather than server side - This means settings don't need to be handled janky with keybinds since client will know the page exists

Permission Handling

Ability to only send a setting to players when they meet a specific condition

More Controlled Settings Sync

Rather than always sending all settings at once, add ability to send one at a time, or a page at a time - this will be more efficient when a setting becomes available to only send that one, or hide only that one, instead of syncing 50 settings at once, etc.

Notes

public abstract class SettingPage
{
    public string Label;
    public PlayerSetting[] Settings;
}
public abstract class PlayerSetting
{
    public string Label;
    public string Description;
    public int Id;
    
    public bool CanView(Player player) => true;
    public abstract void OnBeforeSent(); // Called before sending setting to client (allows setting per player values for dropdowns etc)
    public abstract void OnUpdated(); // Called on client updating value
}

obvEve avatar Sep 29 '25 12:09 obvEve

W

Saskyc avatar Sep 29 '25 13:09 Saskyc

good

seksirakun avatar Oct 01 '25 14:10 seksirakun

Thank you for your suggestion! We've logged this issue in our internal git system for further review and tracking. Please note that this doesn't guarantee acceptance or implementation at this stage. If we need any additional information or clarification, we'll be sure to reach out to you.

Jesus-QC avatar Oct 14 '25 09:10 Jesus-QC

We've reopened this suggestion to prevent confusion and duplicate posts. The issue has been added to our internal tracker, but that does not guarantee acceptance nor implementation.

Axwabo avatar May 06 '26 16:05 Axwabo