Hi everyone, I have a quick question for you, is the restricted boolean on RegisterCommand supposed to be not working? Because I’ve found out no matter if I set it to true or false the ace to use that command is always automatically allowed to builtin.everyone. Has anyone experienced that issue or has a fix for it?
Some more information:
I don’t have that permission defined in my server.cfg
No script has been granted permissions to modify aces
I register the command server-sided (like this:)
RegisterCommand('command_name_here', function(source, args)
-- Stuff that should happen here
end, true)
Checking other aces with IsPlayerAceAllowed is working as expected and returns false per default if the ace is not set, this only happens on registered commands
Edit: Thanks for moving this post to the appropriate subforum
No, as I’ve also (vaguely) said, and now will state clearly, we do not modify the builtin.everyone group at all, yet when we run the list_aces command in the server console builtin.everyone literally shows every permission for every command on the server as allowed.
Server version is 6683, we’re on the newest version shown on /artifacts/fivem/build_proot_linux/master/ / FiveM Artifacts