#ox_mysql

1 messages · Page 1 of 1 (latest)

ionic trail
#

Add more details

#

What is it causing?

autumn elm
#

Idk thats why im asking

#

I think it was discord

#

Because i try to use the txadmin in game menu, but i didnt open my discord, because my account is verified only with discord.

#

I think that cause the problem, but im waiting to see if the support will agree with me.

ionic trail
#

On what the problem is

autumn elm
#

Ii told you

#

I get this script error in the console

#

I wonder what is?

#

I explain to you

#

What it may cause it and what i do before i get the error

ionic trail
#

Show me your server.cfg

autumn elm
#

FiveM Documentation

https://aka.cfx.re/server-commands

QBCore Documentation

https://docs.qbcore.org

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 "cfxk_MG2QFQjHn06MbzyYFBFk_2jJAeZ"
sv_hostname "Scandal Roleplay built with QBCore Framework by JericoFx & Kakarot & Hamy!"
sets sv_projectName "[QBCore Framework] Scandal Roleplay"
sets sv_projectDesc "An advanced FiveM RP framework including jobs, gangs, housing & more!"
sets locale "root-AQ" # replace with your language and location code, like en-US, pt-BR, etc
load_server_icon myLogo.png
sv_enforceGameBuild 3095 #DLC The Chop Shop
set resources_useSystemChat true
set mysql_connection_string "mysql://root@localhost/QBCore_29BA9B?charset=utf8mb4"

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 ox_lib
ensure ox_doorlock
ensure [qb]
ensure [standalone]
ensure [voice]
ensure [defaultmaps]
ensure [ps]

Permissions

add_ace group.admin command allow # allow all commands
add_principal identifier.license:55dd017968bf74905fe0cb9c324475c3a85dc398 qbcore.god

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

add_principal identifier.discord:111111111111111111 group.admin #example

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

Toggle targeting when pressing the hotkey, instead of holding it down.

setr ox_target:toggleHotkey 0

Change the key to enable targeting (https://docs.fivem.net/docs/game-references/input-mapper-parameter-ids/keyboard)

setr ox_target:defaultHotkey LMENU

Draw a sprite (circle) at the centroid of a zone.

setr ox_target:drawSprite 1

Enable built-in targeting options, e.g. toggling vehicle doors.

setr ox_target:defaults 1

Enable debugging / testing options, entity outlines, and a raycast indicator.

setr ox_target:debug 0

Enable / Disable leftclick to select options

setr ox_target:leftClick 1

ionic trail
#

You don’t even have MySQL ensured

#

@autumn elm

autumn elm
#

I have standalone folder

#

When you install default qb server is there bro…

ionic trail
#

Run oxmysql before qb

#

It shouldn’t even be in standalone

ionic trail
#

Plus this error doesn’t show anything about oxmysql

autumn elm
#

I dont know then

#

When i get the qbcore server in txadmin the oxmysql is in standalone folder

autumn elm
#

But now i dont have this error i enter couple of times and i dont have it

#

Idk what is happening sometime… 😩

ionic trail
autumn elm
#

I will try later now not home