Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

im getting a error its saying "access denied for command add_principal" #125

Open
malthe112233 opened this issue Dec 15, 2021 · 2 comments

Comments

@malthe112233
Copy link

You probably don't want to change these!

Only change them if you're using a server with multiple network interfaces

exec permissions.cfg
set serverlogo

These resources will start by default.

set mysql_connection_string "server=localhost;database=localhost;userid=root;"
set mysql_connection_string "mysql://root@localhost/localhost?connectTimeout=60000&acquireTimeout=60000&timeout=60000"

sets tags "Community, rp, Fire State"
sets Whitelisted "nope"
sets Dansk "🟣"
sets Hjemmeside "Ikke nogen lige nu"
sets locale "da-DK"
sets Owner "Mikkel og Willam"
sets Server_Udvikler "Malthe"
onesync legacy

set onesync_workaround763185 true
#Enable Defaults
set es_enableCustomData 1

These resources will start by default.

endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"

These resources will start by default.

start mapmanager
start spawnmanager

start sessionmanager
#start DiscordWhitelist
start fivem
#start mlotest #anticheat IKKE RØR
start mumble-voip
start rp-radio
start hardcap

start es_admin2
#start scoreboard
start mythic_notify
start cron
start async
start es_extended
#start discordroles
#start discordwhitelist
#start anti_cheat

SYSTEM

start runcode
start progressBars
#start rooftopgarage
#start rooftopflat

Essentialmode

start essentialmode
#start es_ui
start mysql-async
start RichPresence
start esplugin_mysql
#start progressBars

#start ws_server
#start tokovoip_script

ESX

start FdiveM-Defender
start esx_society
start esx_billing
start esx_datastore
start esx_license
start disabledispatch
start esx_addonaccount
start esx_scoreboard
start esx_addoninventory
start esx_menu_default
start esx_menu_list
start esx_menu_dialog
start esx_status
start esx_basicneeds
start esx_optionalneeds
start esx_identity
start esx_skin
start urp_boers
start gcphone
start speedometer
start esx_addons_gcphone
start screenshot-basic
start skinchanger
start RealisticVehicleFailure
#start nocrosshair
start noemergencycars
start NoWeaponsInVehicles
start zinutes
start nonpcdrop
#start esx_marker
start 3dme
#start esx_shops
start esx_shops2
start esx_vehicleshop
start esx_jail
start esx_joblisting
start esx_service
start esx_policejob
start esx_basicjobs
start esx_lawyerjob
#start esx_clotheshop
start esx_clotheshop2
start esx_carlock
start esx_ragdoll
start esx_idcard
start esx_tattoosshops
start esx_advancedgarage
start krz_personalmenu
start esx_property
start instance
start NoPumpshotgun
start anti_shuffle
start ReducedNPC
start removeAIcops
start esx_dmvschool
#start esx_mugging
start esx_lscustom
#start seatbelt
#start esx_illness
start esx_taxijob
start esx_barbershop
start esx_sellvehicles
start esx_carwash
start esx_skydiving
start esx_windowcleaner
start esx_business
#start esx_alkohol
start esx_sit
start esx_trunk
#start damageragdollv2
#start kc_admin #Valgt at stoppe
start npc_control
start esx_ktackle
start ls-radio
start esx_kashacters
start esx_moneywash
start fivem-toggleid
#start esx_illegal
#start christmas
#start gopostal_job
start cd_handlingvanilla
start esx_checkdeathcause
#start seat-switcher
start esx_speedcontrol
start esx_personmenu
start esx_wallet
start connectqueue
start hrp_pd_impound
#start esx_duty
start esx_medsystem
start Krukke
start playboy
start qalle_policearmory
#start esx_holdup
start mdt
#start st-hud
start MF_Stress
start esx_doorlock
#start seatShuffle
start esx_mechanicjob
start esx_magasin
start esx_weaponshop
start esx_knatusblowtorch
start fivem-ipl
start esx_fastfood
start serverlogging
#wwwstart skulderradio
start esx_anticheat
start esx_vangelico_robbery
start esx_idMenu
start esx_elevator
start esx_thief2
start esx_ambulancejob

db

#start urp_hud
start urp_hud3
start urp_holster -- Bruger ikke, men virker udmærket
start urp_drugs
start meta_libs
start drugshells
#start urp_drugsystem
#start urp_dices -- Ikke færdigt!
start urp_TakeHostage
start urp_weaponfromcar
start urp_givop
start urp_3ddo
start urp_lyd
#start urp_barbershop -- virker ikke
start urp_contracts
start urp_debug
start urp_golf
#start urp_ipl_list
start urp_butikstyveri
start urp_biltyv
start new_banking
#start urp_atmRobbery
start urp_cpr
start urp_HolsterWeapon
start doors
start urp_attachments
start urp_blackmarket
start acunity
start npcs
start urp_tog
#start urp_notepad
start urp_truckrobbery
#start urp_policemdt
start urp_recoil
start urp_radar
#start esx_policemdt
start db_alerts
start urp_watermark
start esx_drugs
start interact-sound
start db_thiefmenu
start urp_clothes-cmds
start urp_emotes-cmds
start urp_loading
start bedcommand
start urp_lyde
start urp_vaben
start urp_vaaben
start urp_weapon
start urp_weapondealer
start urp_taximeter
#start urp_diablosjob
start urp_brothasjob
start urp_cripsjob

#Bankrøveri + needs
#start urp_bankrobbery
start urp_robberybank
start mtracker
start mhacking
start meta_libs
start fivem-drilling
start utk_hackdependency
start utk_fingerprint

MLO

start prison-map
start sign
start Pillbox_Hospital
start Flag
#start Pillbox_Skilte
start driving_school
#start DavisPD
start taxi
start paletopolicestation
start jobcenter
start vespuccipolicestation
start cityhall
start national_bank
start gabz_mrpd
start advokat
start ymap
#start hospital
start sandymedical
start sandysheriff
start cleanshit
start pdm-mlo
start int_prisonfull
start prisonprops
#start diablosbandehus
start cripshus

CHAT

start chat
#start chat-theme-civlifechat
start chat-theme-gtao
start esx_rpchat
start afkkick

BILER

start taxi1
#start diamondpack
#start politi
start 2020Passat
start PolitiPakke
start PolitiYamaha
start 2020passat
start XLS
start Schafter
start Ocelot
start esx_flatbed
#start ELS-FiveM
#start lars_køreskole - Virker ikke
#start custom - Virker ikke

start ambulancer
start PolitiHelikopter
start laegehelikopter
start urp_koereskolebil
start elsplus
start luke_mailjob

EKSTRA

start blacklist
start weaponblacklist
start satellite_minimap
start urp_scripts
start LegacyFuel
start Seatbelt
start danskeflag
start dpclothing
start eup-stream
start houseRobberies
start Notification
start t0sic_loadingbar
start threatbar
start nocrosshair
start vanillaedits

#start vMenu

RESTART - RESTARTER TIL SIDST

restart screenshot-basic
restart discord-screenshot
restart elsplus

sets Discord "Discord.gg/evQcpM5hwR"
sets Hjemmeside "Kommer snart"

This allows players to use scripthook based plugins such as lambda menu.

Set this to 0 to disallow scripthook.

sv_scriptHookAllowed 0

Uncomment this to enable RCON. Make sure to change the password.

#rcon_password changeme

A comma-separated list of tags for your server.

For example:

- sets tags "drifting, cars, racing"

Or:

- sets tags "roleplay, military, tanks"

Set an optional server info and connecting banner image url.

Size doesn't matter, any banner sized image will be fine.

sets banner_detail "https://media.discordapp.net/attachments/824237261444350008/826245804800212992/Untitled.png?width=1440&height=91"
sets banner_connecting "https://scontent-cph2-1.xx.fbcdn.net/v/t1.18169-9/1379613_737925966222382_739234043_n.jpg?_nc_cat=102&ccb=1-3&_nc_sid=174925&_nc_ohc=s7MFY5iTHNMAX_5LPg_&_nc_ht=scontent-cph2-1.xx&oh=b1e117b89db6d9aefe5bf820ae81e3a9&oe=6087281A"

Set your server's hostname

sv_hostname "[DK] Fire State | Åbent hus | 50K start | Anti cheats | Aktive staff | Under udvikling | EUP"
sets sv_projectDesc "Fire State er bare Konge!"

Nested configs!

#exec server_internal.cfg

Loading a server icon (96x96 PNG file)

load_server_icon myLogo.png

convars which can be used in scripts

set temp_convar "hey world!"

Uncomment this line if you do not want your server to be listed in the server browser.

#sv_master1 ""

Want to only allow players authenticated with a third-party provider like Steam?

Don't forget Social Club is a third party provider too!

#sv_authMaxVariance 1
#sv_authMinTrust 5

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_principal identifier.steam:76561198875188539 group.admin # add the admin to the group

Hide player endpoints in external log output.

sv_endpointprivacy true

Server player slot limit (must be between 1 and 32)

sv_maxclients 42

License key for your server (https://keymaster.fivem.net)

sv_licenseKey ""
set steam_webApiKey "
***"

add_ace resource.essentialmode command.add_principal allow

@KlosteinRaucher
Copy link

Ive got the same error, but it seems so, that no one cares.

or have you already fixed it ?

@maxgestic
Copy link

Check your scripts for something that has a EventHandler for "rconCommand" and see if it calls CancelEvent() at any point, if so this is most likely your issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants