Fax Core - Ace Based Permission System, Including Blacklisting of Cars, Peds & Guns [Fax-Core] [2.1]

That’s not in this script. As I said make sure it’s not blacklisted and not in the restricted vehicle class.

:kissing_heart:

Can you add more roles into it or do you have to stick with guest member 1 2 3 and senior admin and creator

Should be enough roles for ingame permissions. I do plan to make this a auto thing via config soon!

So you can’t add more roles if you can’t could you add that or can you rename the roles

Also you can add more but must be done manually, and that I wont give support for.

So you won’t tell me how to make new roles

I said I wont give support for it… If you know how do it yourself. I’m not Microsoft. I can’t help everyone create new roles…

Ok I’ll try thanks anyway

1 Like

Are you still planning on releasing the Chat roles?

maybeee

since the new forums is now out what is the new link to get the peds vehicles and weapons name

Looking forward to a new update of Fax-Core with everything fixed :slight_smile:

1 Like

So Im having a problem with the permissions. Here is my resources as well as my ace permissions. Please tell me whats going on as some of my cars keep saying they are blacklisted while in guest mode yet ive taken all cars off the blacklist and left army stuff. Also believe this has to do with some of my car resources not working. Fivem says they can’t be loaded

Resources

start LoadingScreen
start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start hardcap
start ■■■■■■■
start scoreboard
start playernames
start hyperadmin
start aopmaster
start wrath
start RPRevive
start twitter
start mechat
start textscript
start better-911-master
start voicechat
start Jailer
start carhud
start ShowID
start FuelSystem
start damagesystem
start deleteveh
start disabledispatch
start roleplay-toolbox
start TLG-ADS
start TrafficController
start fordexplorer
start oppcharger
start oppvic
#--------------Cars--------------------
#--------- Aston Martin ------------
start AstonMartin_Vantage
#---------- Audi ----------------------
start Audi_R8
#-------------- BMW ----------------
#---------------- Chevy --------------
start Chevy_Camaro
#---------------- Ferrari -------------
#---------- Lamborgini -------------
#---------------- Mclaren -----------
start Mclaren_Senna
#------------- Mercedies -----------
start Mercedies_AMG
#------------ Porche -----------------
start Porche_Cayman
#------------- Tesla ------------------
#-------------- Toyota --------------

Permissions

# 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_ace Admin administrator allow
add_principal identifier.steam:ID Admin
add_principal identifier.steam:ID Admin
add_principal identifier.steam:ID  group.admin

add_ace group.admin hyperadmin allow # allow all of hyperadmin
add_principal identifier.steam:ID group.admin # add the admin to the group
add_principal identifier.steam:ID group.admin
add_principal identifier.steam:110000111F98E3B group.admin
add_ace hyperadmin hyperadmin.monitor allow
add_ace hyperadmin hyperadmin.kick group.admin allow
add_ace hyperadmin hyperadmin.ban allow
add_ace hyperadmin hyperadmin.tp allow
add_ace hyperadmin hyperadmin.bring allow

add_ace group.admin1 roleplay-toolbox allow
add_principal identifier.steam:ID group.admin1
add_principal identifier.steam:ID group.admin1
add_principal identifier.steam:ID group.admin
add_ace roleplay-toolbox leo allow

add_principal identifier.steam:ID Fax.AOP
add_principal identifier.steam:ID Fax.AOP
add_principal identifier.steam:ID  Fax.AOP
add_ace Fax.AOP faxes.aopcmds allow

Server Console

A:\FivemServer>cd /d A:\FivemServer\cfx-server-data-master

A:\FivemServer\cfx-server-data-master>A:\FivemServer\run.cmd +exec server.cfg
Resolved live-internal.fivem.net:30110 to 178.32.9.100:30110
Found new resource announce in A:/FivemServer\cfx-server-data-master/resources//announce
Resource loading for announce failed:
Could not open resource metadata file A:/FivemServer\cfx-server-data-master/resources//announce/__resource.lua.
Found new resource fivem in A:/FivemServer\cfx-server-data-master/resources//fivem
Found new resource fivem-awesome1501 in A:/FivemServer\cfx-server-data-master/resources//fivem-awesome1501
Found new resource fivem-map-hipster in A:/FivemServer\cfx-server-data-master/resources//fivem-map-hipster
Found new resource fivem-map-skater in A:/FivemServer\cfx-server-data-master/resources//fivem-map-skater
Found new resource LoadingScreen in A:/FivemServer\cfx-server-data-master/resources//LoadingScreen
Found new resource runcode in A:/FivemServer\cfx-server-data-master/resources//runcode
Found new resource AstonMartin_Vantage in A:/FivemServer\cfx-server-data-master/resources//[carsready]/AstonMartin_Vantage
Found new resource Audi_R8 in A:/FivemServer\cfx-server-data-master/resources//[carsready]/Audi_R8
Found new resource Chevy_Camaro in A:/FivemServer\cfx-server-data-master/resources//[carsready]/Chevy_Camaro
Found new resource Mclaren_Senna in A:/FivemServer\cfx-server-data-master/resources//[carsready]/Mclaren_Senna
Found new resource Mercedies_AMG in A:/FivemServer\cfx-server-data-master/resources//[carsready]/Mercedies_AMG
Found new resource Porche_Cayman in A:/FivemServer\cfx-server-data-master/resources//[carsready]/Porche_Cayman
Found new resource race in A:/FivemServer\cfx-server-data-master/resources//[gamemodes]/race
Found new resource race-test in A:/FivemServer\cfx-server-data-master/resources//[gamemodes]/race-test
Found new resource channelfeed in A:/FivemServer\cfx-server-data-master/resources//[gameplay]/channelfeed
Found new resource irc in A:/FivemServer\cfx-server-data-master/resources//[gameplay]/irc
Found new resource obituary in A:/FivemServer\cfx-server-data-master/resources//[gameplay]/obituary
Found new resource obituary-deaths in A:/FivemServer\cfx-server-data-master/resources//[gameplay]/obituary-deaths
Found new resource playernames in A:/FivemServer\cfx-server-data-master/resources//[gameplay]/playernames
Found new resource mapmanager in A:/FivemServer\cfx-server-data-master/resources//[managers]/mapmanager
Found new resource AstonMartin_Vulcan in A:/FivemServer\cfx-server-data-master/resources//[notready]/AstonMartin_Vulcan
Found new resource BMW_I8 in A:/FivemServer\cfx-server-data-master/resources//[notready]/BMW_I8
Resource loading for BMW_I8 failed:
Could not parse resource metadata file A:/FivemServer\cfx-server-data-master/resources//[notready]/BMW_I8/__resource.lua: …-data-master/resources//[notready]/BMW_I8/__resource.lua:10: ‘}’ expected (to close ‘{’ at line 3) near ‘data_file’
Found new resource Lamborghini_Urus in A:/FivemServer\cfx-server-data-master/resources//[notready]/Lamborghini_Urus
Resource loading for Lamborghini_Urus failed:
Could not parse resource metadata file A:/FivemServer\cfx-server-data-master/resources//[notready]/Lamborghini_Urus/__resource.lua: …er/resources//[notready]/Lamborghini_Urus/__resource.lua:10: ‘}’ expected (to close ‘{’ at line 3) near ‘data_file’
Found new resource Mclaren_P1 in A:/FivemServer\cfx-server-data-master/resources//[notready]/Mclaren_P1
Resource loading for Mclaren_P1 failed:
Could not parse resource metadata file A:/FivemServer\cfx-server-data-master/resources//[notready]/Mclaren_P1/__resource.lua: …a-master/resources//[notready]/Mclaren_P1/__resource.lua:10: ‘}’ expected (to close ‘{’ at line 3) near ‘data_file’
Found new resource Tesla_Model_S in A:/FivemServer\cfx-server-data-master/resources//[notready]/Tesla_Model_S
Resource loading for Tesla_Model_S failed:
Could not parse resource metadata file A:/FivemServer\cfx-server-data-master/resources//[notready]/Tesla_Model_S/__resource.lua: …aster/resources//[notready]/Tesla_Model_S/__resource.lua:9: ‘}’ expected (to close ‘{’ at line 3) near ‘data_file’
Found new resource Tesla_Model_X in A:/FivemServer\cfx-server-data-master/resources//[notready]/Tesla_Model_X
Resource loading for Tesla_Model_X failed:
Could not parse resource metadata file A:/FivemServer\cfx-server-data-master/resources//[notready]/Tesla_Model_X/__resource.lua: …aster/resources//[notready]/Tesla_Model_X/__resource.lua:10: ‘}’ expected (to close ‘{’ at line 3) near ‘data_file’
Found new resource Tesla_Roadster in A:/FivemServer\cfx-server-data-master/resources//[notready]/Tesla_Roadster
Resource loading for Tesla_Roadster failed:
Could not parse resource metadata file A:/FivemServer\cfx-server-data-master/resources//[notready]/Tesla_Roadster/__resource.lua: …ster/resources//[notready]/Tesla_Roadster/__resource.lua:10: ‘}’ expected (to close ‘{’ at line 3) near ‘data_file’
Found new resource Toyota_Supra in A:/FivemServer\cfx-server-data-master/resources//[notready]/Toyota_Supra
Resource loading for Toyota_Supra failed:
Could not parse resource metadata file A:/FivemServer\cfx-server-data-master/resources//[notready]/Toyota_Supra/__resource.lua: …master/resources//[notready]/Toyota_Supra/__resource.lua:9: ‘}’ expected (to close ‘{’ at line 3) near ‘data_file’
Found new resource aopmaster in A:/FivemServer\cfx-server-data-master/resources//[plugins]/aopmaster
Found new resource better-911-master in A:/FivemServer\cfx-server-data-master/resources//[plugins]/better-911-master
Found new resource carhud in A:/FivemServer\cfx-server-data-master/resources//[plugins]/carhud
Found new resource cruiseControl in A:/FivemServer\cfx-server-data-master/resources//[plugins]/cruiseControl
Found new resource damagesystem in A:/FivemServer\cfx-server-data-master/resources//[plugins]/damagesystem
Found new resource darkweb in A:/FivemServer\cfx-server-data-master/resources//[plugins]/darkweb
Found new resource deleteveh in A:/FivemServer\cfx-server-data-master/resources//[plugins]/deleteveh
Found new resource disabledispatch in A:/FivemServer\cfx-server-data-master/resources//[plugins]/disabledispatch
Found new resource Fax-Core in A:/FivemServer\cfx-server-data-master/resources//[plugins]/Fax-Core
Found new resource FuelSystem in A:/FivemServer\cfx-server-data-master/resources//[plugins]/FuelSystem
Found new resource hyperadmin in A:/FivemServer\cfx-server-data-master/resources//[plugins]/hyperadmin
Found new resource Jailer in A:/FivemServer\cfx-server-data-master/resources//[plugins]/Jailer
Found new resource mechat in A:/FivemServer\cfx-server-data-master/resources//[plugins]/mechat
Found new resource roleplay-toolbox in A:/FivemServer\cfx-server-data-master/resources//[plugins]/roleplay-toolbox
Found new resource RPRevive in A:/FivemServer\cfx-server-data-master/resources//[plugins]/RPRevive
Found new resource ShowID in A:/FivemServer\cfx-server-data-master/resources//[plugins]/ShowID
Found new resource SingleShot in A:/FivemServer\cfx-server-data-master/resources//[plugins]/SingleShot
Resource loading for SingleShot failed:
Could not open resource metadata file A:/FivemServer\cfx-server-data-master/resources//[plugins]/SingleShot/__resource.lua.
Found new resource SingleShot-1.1 in A:/FivemServer\cfx-server-data-master/resources//[plugins]/SingleShot-1.1
Resource loading for SingleShot-1.1 failed:
Could not open resource metadata file A:/FivemServer\cfx-server-data-master/resources//[plugins]/SingleShot-1.1/__resource.lua.
Found new resource textscript in A:/FivemServer\cfx-server-data-master/resources//[plugins]/textscript
Found new resource TLG-ADS in A:/FivemServer\cfx-server-data-master/resources//[plugins]/TLG-ADS
Found new resource TrafficController in A:/FivemServer\cfx-server-data-master/resources//[plugins]/TrafficController
Found new resource twitter in A:/FivemServer\cfx-server-data-master/resources//[plugins]/twitter
Found new resource voicechat in A:/FivemServer\cfx-server-data-master/resources//[plugins]/voicechat
Found new resource wrath in A:/FivemServer\cfx-server-data-master/resources//[plugins]/wrath
Found new resource fordexplorer in A:/FivemServer\cfx-server-data-master/resources//[policecars]/fordexplorer
Found new resource oppcharger in A:/FivemServer\cfx-server-data-master/resources//[policecars]/oppcharger
Found new resource oppcruiser in A:/FivemServer\cfx-server-data-master/resources//[policecars]/oppcruiser
Resource loading for oppcruiser failed:
Could not open resource metadata file A:/FivemServer\cfx-server-data-master/resources//[policecars]/oppcruiser/__resource.lua.
Found new resource oppvic in A:/FivemServer\cfx-server-data-master/resources//[policecars]/oppvic
Found new resource baseevents in A:/FivemServer\cfx-server-data-master/resources//[system]/baseevents
Found new resource chat in A:/FivemServer\cfx-server-data-master/resources//[system]/chat
Found new resource chat-theme-gtao in A:/FivemServer\cfx-server-data-master/resources//[system]/chat-theme-gtao
Found new resource hardcap in A:/FivemServer\cfx-server-data-master/resources//[system]/hardcap
Found new resource ■■■■■■■ in A:/FivemServer\cfx-server-data-master/resources//[system]/■■■■■■■
Found new resource scoreboard in A:/FivemServer\cfx-server-data-master/resources//[system]/scoreboard
Found new resource sessionmanager in A:/FivemServer\cfx-server-data-master/resources//[system]/sessionmanager
Found new resource spawnmanager in A:/FivemServer\cfx-server-data-master/resources//[system]/spawnmanager
Found new resource betaguns in A:/FivemServer\cfx-server-data-master/resources//[test]/betaguns
Found new resource gameInit in A:/FivemServer\cfx-server-data-master/resources//[test]/gameInit
Found new resource keks in A:/FivemServer\cfx-server-data-master/resources//[test]/keks
Found new resource webpack in A:/FivemServer\cfx-server-data-master/resources//[system]/[builders]/webpack
Found new resource yarn in A:/FivemServer\cfx-server-data-master/resources//[system]/[builders]/yarn
Started resource sessionmanager
Started resource LoadingScreen
Started resource mapmanager
Started resource chat
Started resource spawnmanager
Started gametype Freeroam
Started resource fivem
Started resource hardcap
Started resource ■■■■■■■
Started resource scoreboard
Started resource playernames
System.IO.FileNotFoundException: Unable to find the specified file.
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR (System.Int32 errorCode) [0x0000a] in <0123fd5b1a1040fe9d70a7e0d4b28acb>:0
at (wrapper cominterop) CitizenFX.Core.IScriptHost:OpenHostFile (string)
at (wrapper cominterop-invoke) CitizenFX.Core.IScriptHost:OpenHostFile (string)
at CitizenFX.Core.MonoScriptRuntime.LoadFile (System.String scriptFile) [0x00007] in C:\gl\builds\4ff63adb\0\cfx\fivem\code\client\clrcore\MonoScriptRuntime.cs:113
Failed to load script HyperAdmin.Server.net.dll.
Started resource hyperadmin
Started resource aopmaster
Started resource wrath
Started resource RPRevive
Started resource twitter
Failed to load script @mysql-async/lib/MySQL.lua.
Started resource mechat
TextScript, Created By ToniMorton and RJRoss
Checking Version…
Started resource textscript
Started resource better-911-master
Started resource voicechat
Jailer by Albo1125 (LUA, FXServer, FiveM).
Started resource Jailer
Started resource carhud
Started resource ShowID
Started resource FuelSystem
Started resource damagesystem
Started resource deleteveh
Started resource disabledispatch
Started resource roleplay-toolbox
Started resource TLG-ADS
Started resource TrafficController
Started resource fordexplorer
Started resource oppcharger
Started resource oppvic
Started resource AstonMartin_Vulcan
Started resource Audi_R8
Started resource Chevy_Camaro
Started resource Mclaren_Senna
Started resource Mercedies_AMG
Started resource Porche_Cayman
Started resource Fax-Core
Argument count mismatch (passed 4, wanted 3)
Authenticating server license key…
Server licecfx> nse key authentication succeeded. Welcome!
Sending heartbeat to live-internal.fivem.net:30110
Started map fivem-map-skater
Started resource fivem-map-skater

[Fax-AOP] Status: Script (Re)Started

hitch warning: frame time of 227 milliseconds

---------------------- Fax-Core ----------------------
--------- Fax Core is on the latest version ----------
Your version: 2.0
Error running system event handling function for resource textscript: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server.lua:11: attempt to concatenate a nil value (local ‘rText’)
stack traceback:
server.lua:11: in local ‘userCallback’
citizen:/scripting/lua/scheduler.lua:318: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:219: in function citizen:/scripting/lua/scheduler.lua:218
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:218: in function citizen:/scripting/lua/scheduler.lua:182
Error running system event handling function for resource textscript: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server.lua:74: attempt to compare string with nil
stack traceback:
server.lua:74: in local ‘userCallback’
citizen:/scripting/lua/scheduler.lua:318: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:219: in function citizen:/scripting/lua/scheduler.lua:218
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:218: in function citizen:/scripting/lua/scheduler.lua:182

Roleplay Toolbox

Current Version: 2.0
Newest Version: 2.0

Whats line 11 in the server.lua of Fax-Core?

checks for ace perms

The server.lua not server.cfg. Post the line…

yes its s_server.lua

-- Checks for Ace perms
RegisterServerEvent("Fax:CheckWhite")
AddEventHandler('Fax:CheckWhite', function()

    if IsPlayerAceAllowed(source, "owner") then
        -- Fax Core
        TriggerClientEvent("Fax:owner", source)
        TriggerClientEvent("Fax:ownerMessage", source)

    elseif IsPlayerAceAllowed(source, "snradmin") then
        -- Fax Core
        TriggerClientEvent("Fax:sadmin", source)
        TriggerClientEvent("Fax:sadminMessage", source)
        -- Fax Core Whitelist

    elseif IsPlayerAceAllowed(source, "fadmin") then
        -- Fax Core
        TriggerClientEvent("Fax:fadmin", source)
        TriggerClientEvent("Fax:fadminMessage", source)
        -- Fax Core Whitelist

    elseif IsPlayerAceAllowed(source, "member3") then
        -- Fax Core
        TriggerClientEvent("Fax:member3", source)
        TriggerClientEvent("Fax:m3Message", source)
        -- Fax Core Whitelist

    elseif IsPlayerAceAllowed(source, "member2") then
        -- Fax Core
        TriggerClientEvent("Fax:member2", source)
        TriggerClientEvent("Fax:m2Message", source)
        -- Fax Core Whitelist

    elseif IsPlayerAceAllowed(source, "member1") then
        -- Fax Core
        TriggerClientEvent("Fax:member1", source)
        TriggerClientEvent("Fax:m1Message", source)
        -- Fax Core Whitelist

    else
        -- Fax Core
        TriggerClientEvent("Fax:guest", source)
        TriggerClientEvent("Fax:guestMessage", source)
        -- Fax Core Whitelist

    end
end)

Ok. Disable Fax-Core from starting and see if the error persists.