Hello,
I noticed a conflict between the recommendations from ox_lib and pma-voice regarding StateBag strict mode.
According to the ox_lib documentation/changelog, enabling:
setr sv_stateBagStrictMode true
is recommended for improved security and preventing clients from modifying state bags.
However, when using pma-voice with StateBag strict mode enabled, I receive warnings such as:
[natives] StateBags can't be modified from the client, because the StateBag strict mode is enabled.
As a result, some users suggest disabling strict mode:
setr sv_stateBagStrictMode false
Could you clarify the current recommendation for pma-voice?
- Is pma-voice fully compatible with
sv_stateBagStrictMode true?
- Are these warnings expected and harmless?
- Is there a planned fix if pma-voice still performs client-side StateBag modifications?
- Should server owners prioritize ox_lib's recommendation and keep strict mode enabled?
Reference:
overextended/ox_lib@v3.37.0...main#diff-8dc1734e5f18700a7b95f67e02093f689b10b9433357b580f680ed5f9cab2a58
Thank you.
Hello,
I noticed a conflict between the recommendations from ox_lib and pma-voice regarding StateBag strict mode.
According to the ox_lib documentation/changelog, enabling:
setr sv_stateBagStrictMode true
is recommended for improved security and preventing clients from modifying state bags.
However, when using pma-voice with StateBag strict mode enabled, I receive warnings such as:
[natives] StateBags can't be modified from the client, because the StateBag strict mode is enabled.
As a result, some users suggest disabling strict mode:
setr sv_stateBagStrictMode false
Could you clarify the current recommendation for pma-voice?
sv_stateBagStrictMode true?Reference:
overextended/ox_lib@v3.37.0...main#diff-8dc1734e5f18700a7b95f67e02093f689b10b9433357b580f680ed5f9cab2a58
Thank you.