kanersps / essentialmode

A FiveM project
https://docs.kanersps.pw/docs/essentialmode
GNU Affero General Public License v3.0
82 stars 99 forks source link

[ cmd] Access denied for command add_principal. #128

Closed KlosteinRaucher closed 2 years ago

KlosteinRaucher commented 2 years ago

Hello, I just started up with my own GTA-RP-Server with ESX (v1 final from ZAP), Essentailsmode (6.4.2) and es_admin2 (2.xxx) installed and got this error ('Access denied for command add_principal.'), everytime i try to give someone the admin or mod- group to other players.

I already tried to install an older version of es_extended or essentialsmode. Also i cant give groups to anyone per database...

Im sorry for my bad english.

My server.cfg:

<3

set mysql_connection_string "mysql://root:XXXXX@localhost/essentialmode?charset=utf8mb4" set es_enableCustomData 1

endpoint_add_tcp "0.0.0.0:30120" endpoint_add_udp "0.0.0.0:30120" sv_maxclients 48 set steam_webApiKey "XXXXX" sets tags "roleplay, fraktionen, german"

sv_licenseKey "XXXX" sv_hostname "Kloversum" sets sv_projectName "^2Kloversum ^1| ^2legale^1/^3illegale ^2Routen ^1| ^2gute Wirtschaft" sets sv_projectDesc "fuck" sets locale "de-DE" set mysql_slow_query_warning 200 set mysql_log_level 12 load_server_icon icon.png

These resources will start by default.

ensure fivem_loadingscreen ensure mapmanager ensure chat ensure spawnmanager ensure sessionmanager ensure hardcap start async start cron start es_extended start realtime start connectqueue start mysql-async start essentialmode start esplugin_mysql start es_admin2

From ESX Pack

start klv_antifastattak start ads start Casino start Casino_props start vwdlc_int_01 start vwdlc_int_02 start haare start airport start MP start ParkingV start a90pit start GTR start CometS2 start G800 start No-NPC start esx_mask start Meetingroomprison start Prisoncanteen start Prisonmainblock start eup start Hellcat start ShowOwnID start JD_logs start map start br_speedometer start gabz_mrpd start rmodmk7 start E55 start RS6-ABT start BMW_I8 start BMW_M4 start r8v10abt start RSQ8Mansory start mustang_gt start GT63S_AMG start carpack_floor start gta_props_fivem start mountzonah_lift start mz_addons start operation_floor start room_floor start urgence_floor start RAM_EMS start br_speedometerS start krz_personalmenu start esx_simplegarages start new_banking start esx_carwash start esx_aircraftshop start esx_plasticsurgery start esx_tattooshop start esx_repairkit start LegacyFuel start bl_coords start jsfour-idcard start esx_customui start esx_addoninventory start dpclothing start esx_extraitems start dpemotes start TakeHostage start CarryPeople ensure esx_orangen ensure esx_apfel ensure esx_erdbeeren ensure esx_aramid start instance start skinchanger start esx_society start esx_policejob start esx_ambulancejob start esx_animations start esx_addonaccount start esx_bankerjob start esx_barbershop start esx_billing start esx_boat start esx_clotheshop start esx_cruisecontrol start esx_simplegarages start esx_datastore start esx_dmvschool start esx_holdup start esx_identity start esx_jobs start esx_license start esx_lscustom start esx_mechanicjob start esx_menu_default start esx_menu_dialog start esx_menu_list start esx_optionalneeds start esx_property start esx_rpchat start esx_service start esx_shops start esx_sit start esx_skin start esx_status start esx_taxijob start esx_weaponshop start inventory

End of ESX Pack

ensure rconlog ensure bob74_ipl ensure EasyAdmin

Additional Resource by Recipe

add_ace resource.essentialmode command.add_principal allow add_ace resource.essentialmode command.add_ace allow add_ace resource.essentialmode command.sets allow

add_ace resource.es_extended command.add_principal allow add_ace resource.es_extended command.add_ace allow add_ace resource.es_extended command.sets allow

EasyAdmin

setr ea_LanguageName "de" # set our language to english set ea_moderationNotification "false" # this can be either "false" or a discord webhook address, this will send a discord message if an admin takes actions against a player ( such as banning and kicking ) setr ea_defaultKey "F9" # set our menu button to F3. default: "170" add_ace group.admin easyadmin allow

add_ace resource.EasyAdmin command.add_ace allow add_ace resource.EasyAdmin command.remove_ace allow add_ace resource.EasyAdmin command.add_principal allow add_ace resource.EasyAdmin command.remove_principal allow add_ace group.admin easyadmin.ban.remove allow add_ace group.moderator easyadmin.player.reports.claim add_ace group.supporter easyadmin.player.reports.claim

exec easyadmin_permissions.cfg