QBCore Framework

add_principal identifier.steam:"steam:11000013c303039"group.admin what i have in my server.cfg

how to add admin on permission.cfh

have you solved it? i have the same problem as you

I have tried to add these in server.cfg to set admin permissions

add_principal identifier.steam:fivem64id qbcore.god group.admin
add_principal identifier.steam:fivem64id group.admin
add_principal identifier.steam:fivem64id qbcore.god

with no luck of admin permissions sticking, there is no table setup in the SQL for the permissions, I am able to use the command /addpermission in server console but on server restart this does not stick.
Anyone know a fix?

add_principal identifier.license:you license qbcore.god

Nice one, appreciate it! :slight_smile:

1 Like

Hi there everyone, I’m trying to do something 'till a moment, I simply want to make the store of police car in the police garage of Qb-Garage possible. because I tried different methods but I can’t do that
Is it possible to help me ? ^^

Make sure they are in qb-core/shared/vehicles.lua

thanks a lot ^^

i downloaded the zap gameserver and i can not spawn in city items give jobs set roles exc.

Get your rockstar license
You can get it from your sql in players or trough txadmin

Then add this to your server.cfg

add_principal identifier.license:REPLACE_ME qbcore.god

Replace the REPLACE_ME with your license

2 Likes

where do i add it in my server cfg

Permissions

Resources

add_ace resource.qb-core command allow # Allow qb-core to execute commands

Gods

add_ace qbcore.god command allow # Allow all commands

Inheritance

add_principal qbcore.god group.admin # Error proof
add_principal qbcore.god qbcore.admin # Allow gods access to admin commands
add_principal qbcore.admin qbcore.mod # Allow admins access to mod commands
#add_principal identifier.{{principalMasterIdentifier}} qbcore.god ← doesn’t exist yet, change the generated one below to qbcore.god

Deployer Note: this admin master has no identifiers to be automatically added.

add_principal identifier.discord.111111111111111111 group.admin #example

It doesn’t matter but you can replace the last one since its an example or put yours under it

1 Like

all im getting is the txadmin menu why can i not get QBCore admin menu
how do i pull up qbcores admin menu

ok i got it finally thank you very much i appreciate ya

No problem

if im instaling cars what folder will i put them in this is inside the resources folder

I would create a folder in that directory, name it [vehicles] and drop your addon vehicles in that.

do i need to make a data and stream folder in [vehicles]

those folder would usually reside inside the particular vehicle resource you’re installing, not in the parent directory.