Coder Social home page Coder Social logo

Comments (34)

FrogCF avatar FrogCF commented on July 18, 2024

Hi,

We are having the same trouble after keep setting myself to Admin everytime fly in the city?

from qb-adminmenu.

KazukiDev avatar KazukiDev commented on July 18, 2024

When is put my id my name and licence and god it dont give me admin menu

from qb-adminmenu.

FrogCF avatar FrogCF commented on July 18, 2024

Hello,

After spending few hour's,

Copy my code into your cfg.config

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.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
add_principal identifier.fivem:Your Numbers qbcore.admin # Your Admin name
add_principal identifier.fivem:Your Numbers qbcore.admin # Your Admin Name
add_principal identifier.fivem:Your Numbers qbcore.admin # Your Admin Name
add_principal identifier.fivem:Your Numbers qbcore.admin # Your Admin Name
add_principal identifier.fivem:Your Numbers qbcore.admin # Your Admin Name
add_principal identifier.fivem:Your Numbers qbcore.mod # Your Admin Name

PLEASE NOTE
qbcore.god isn't getting full permissions at this time. qb-core is aware of this problem they are working on a fix.

Please use admin only at this time or mod

WHEN YOU DONE THE ABOVE THEN SAVE IT RESTART YOUR SERVER!

LOGIN your city and try /noclip and spawn vehicle and should work any problems come back i'll try help

from qb-adminmenu.

KazukiDev avatar KazukiDev commented on July 18, 2024

What do i put in this add_principal identifier.fivem:Your Numbers qbcore.admin # Your Admin Name

from qb-adminmenu.

FrogCF avatar FrogCF commented on July 18, 2024

Hello,

Question are you using TX-admin if you are switch on whitelist and download this add it in resources https://forum.cfx.re/t/whatsmyid-player-identifier-finder/49426

Then should give you your fivem id number

from qb-adminmenu.

KazukiDev avatar KazukiDev commented on July 18, 2024

I did the license and it still dont work

from qb-adminmenu.

KazukiDev avatar KazukiDev commented on July 18, 2024

Do you know how long till the admin mneuis fixed

from qb-adminmenu.

imkuroneko avatar imkuroneko commented on July 18, 2024

The qb-adminmenu works with the database so, you will need to save your license on the permissions table (as god);

Just doing on this way worked for me... and I deleted from my copy of the menu the section of give permissions because only works temporally (it doesn't save on the DB and I don't know so much of lua for modify/fix that)

from qb-adminmenu.

P4R4NORM4L avatar P4R4NORM4L commented on July 18, 2024

That means you do not have the latest version as there is no permissions table in the new QB-core.They removed it

from qb-adminmenu.

KazukiDev avatar KazukiDev commented on July 18, 2024

Do i have to get the new version of qb-core

from qb-adminmenu.

P4R4NORM4L avatar P4R4NORM4L commented on July 18, 2024

I was responding to @imkuroneko

from qb-adminmenu.

KazukiDev avatar KazukiDev commented on July 18, 2024

oh ok

from qb-adminmenu.

KazukiDev avatar KazukiDev commented on July 18, 2024

i put my permissions to god and i still dont have the admin menu

from qb-adminmenu.

P4R4NORM4L avatar P4R4NORM4L commented on July 18, 2024

did you follow this ?
#123 (comment)

from qb-adminmenu.

KazukiDev avatar KazukiDev commented on July 18, 2024

yea

from qb-adminmenu.

KazukiDev avatar KazukiDev commented on July 18, 2024

and it still dont work

from qb-adminmenu.

P4R4NORM4L avatar P4R4NORM4L commented on July 18, 2024

Then it must be a bug

from qb-adminmenu.

P4R4NORM4L avatar P4R4NORM4L commented on July 18, 2024

try setting this
add_principal qbcore.admin group.admin

from qb-adminmenu.

KazukiDev avatar KazukiDev commented on July 18, 2024

where do i put that

from qb-adminmenu.

P4R4NORM4L avatar P4R4NORM4L commented on July 18, 2024

in server.cfg

from qb-adminmenu.

KazukiDev avatar KazukiDev commented on July 18, 2024

do i put it under gods or Inheritance

from qb-adminmenu.

P4R4NORM4L avatar P4R4NORM4L commented on July 18, 2024

it's inheritance
qbcore admin will get same perms as group admin but I don't know if it'll work so

from qb-adminmenu.

KazukiDev avatar KazukiDev commented on July 18, 2024

It dident work

from qb-adminmenu.

KazukiDev avatar KazukiDev commented on July 18, 2024

Do you know what would be the bug

from qb-adminmenu.

Brianelvio avatar Brianelvio commented on July 18, 2024

That means you do not have the latest version as there is no permissions table in the new QB-core.They removed it

You say this but the sql file in the repo still contains it?

from qb-adminmenu.

P4R4NORM4L avatar P4R4NORM4L commented on July 18, 2024

https://discord.com/channels/831626422232678481/852748355838410762/958862662396174347

from qb-adminmenu.

P4R4NORM4L avatar P4R4NORM4L commented on July 18, 2024

They didn't get a chance to remove it yet

from qb-adminmenu.

KazukiDev avatar KazukiDev commented on July 18, 2024

P3r4 can you send me the discord think

from qb-adminmenu.

P4R4NORM4L avatar P4R4NORM4L commented on July 18, 2024

join the qb-core discord then click on the link

from qb-adminmenu.

KazukiDev avatar KazukiDev commented on July 18, 2024

When i set my self as god i dont get the menu

from qb-adminmenu.

FrogCF avatar FrogCF commented on July 18, 2024

When i set my self as god i dont get the menu

Hello, please, share an image or the way you have set out your permissions. I'll be happier to assist you with your question or issues.

from qb-adminmenu.

KazukiDev avatar KazukiDev commented on July 18, 2024

I put it how you sent #123 (comment)

from qb-adminmenu.

KazukiDev avatar KazukiDev commented on July 18, 2024

and it wont work for me

from qb-adminmenu.

FrogCF avatar FrogCF commented on July 18, 2024

@Staticdevvv,

Please, follow this one edit to make it easier for you all to understand.

Wrote out for you just after adding your own information in the missing boxes.

____ ____ _____

/ __ | _ \ / ____|

| | | | |_) | | ___ _ __ ___

| | | | _ <| | / _ | '__/ _ \

| || | |) | || (_) | | | __/

___/ ______/|| ___|

You CAN edit the following:

endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
sv_maxclients 48
set steam_webApiKey "none"
sets tags "default, deployer, qbcore, qb-core"

You MAY edit the following:

sv_licenseKey ""
sv_hostname ""
sets sv_projectName ""
sets sv_projectDesc ""
sets locale "en-US"
load_server_icon myLogo.png
set sv_enforceGameBuild 2372
set mysql_connection_string ""

Voice config

setr voice_useNativeAudio true
setr voice_useSendingRangeOnly true
setr voice_defaultCycle "GRAVE"
setr voice_defaultVolume 0.3
setr voice_enableRadioAnim 1
setr voice_syncData 1

QBCore locale config

setr qb_locale "en"

QBCore UseTarget

setr UseTarget true

These resources will start by default.

ensure mapmanager
ensure chat
ensure spawnmanager
ensure sessionmanager
ensure basic-gamemode
ensure hardcap
ensure baseevents

QBCore & Extra stuff

ensure qb-core
ensure [qb]
ensure [standalone]
ensure [voice]
ensure [defaultmaps]
ensure [vehicles]
ensure [addon]

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
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

Inheritance

add_principal identifier.fivem:0000000 qbcore.god #yourname
add_principal identifier.discord:000000000 qbcore.admin #yourname
add_principal identifier.fivem:00000000 qbcore.god #yourname
add_principal identifier.fivem:0000000 qbcore.mod #yourname
add_principal identifier.discord:00000000 qbcore.god #yourname
add_principal identifier.fivem:0000000 qbcore.god #yourname
add_principal identifier.discord:00000000 qbcore.mod #yourname

Gods

add_ace qbcore.god command allow # Allow all commands

Inheritance

add_principal qbcore.god group.admin # Allow gods access to the main admin group used to get all default permissions
add_principal qbcore.god qbcore.admin # Allow gods access to admin commands
add_principal qbcore.admin qbcore.mod # Allow admins access to mod commands

END OF THE CONFIG!

from qb-adminmenu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.