Hello I have a problem, in my console I have the error “Access denied for command add_principal” which appears.

Here is the script

"start mapmanager
start chat
start spawnmanager
start fivem
start hardcap
start ■■■■■■■

sv_scriptHookAllowed 1

change this

#rcon_password yay

sv_hostname “[Public][FR]LanExperience RP”

sets sv_projectName “Staff Amicale, Developpement unique et permanent”

license key

set sv_licenseKey “xxxxxxxxxxx”

sql connexion

set mysql_connection_string “user=xxxxxxxxx;database=Fivem;password=xxxxxxxxx”

#Connexion ensure

ensure mysql-async
ensure es_extended

nested configs!

#exec server_internal.cfg

loading a server icon (96x96 PNG file)

load_server_icon myLogo.png

convars for use from script

set temp_convar “hey world!”

disable announcing? clear out the master by uncommenting this

#sv_master1 “”

want to only allow players authenticated with a third-party provider like Steam?

#sv_authMaxVariance 1
#sv_authMinTrust 5

add system admins

add_ace group.admin command allow # allow all commands
add_ace group.admin command.quit deny # but don’t allow quit
add_principal identifier.steam:110000112345678 group.admin # add the admin to the group

player endpoint protection

sv_endpointprivacy true"

I don’t have ES but I have ESX I have already tested the command “add_ace resource.essentialmode command.add_principal” but it does not work.

So when I try to spawn on my server it doesn’t work.
Thank you in advance for your assistance

1 Like