i just bought a centos 7 linux and install a fxserver everything works resources/mysql everything good, just the sv_hostname dont work for me default fx server thats the name i try delete cache/insert thruogh script.
make sure that your sv_hostname is toward the bottom of your server.cfg, the string is in quotes (") e.x. sv_hostname "Welcome to my genaric RP server"
, and that you’re giving your server time to fully load. Other than that make sure that you have no invalid chars in your server name I guess … Otherwise I have no clue.
TAKE A look
# you probably don't want to change these!
# only change them if you're using a server with multiple network interfaces
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
set mysql_slow_query_warning 50
set es_enableCustomData 1
set mysql_connection_string "server=localhost;database=fivem;userid=root;password=secret"
add_ace resource.essentialmode command.add_principal allow
# These resources will start by default.
start mapmanager
start chat
start chat-theme-gtao
start spawnmanager
start sessionmanager
start fivem
start hardcap
start ■■■■■■■
# Database, essentialmode
start baseevents
start async
start mysql-async
start essentialmode
start es_ui
start es_admin2
start esplugin_mysql
start GHMattiMySQL
start vMenu
start fivem-ipl
start assets
start loadingscreen
start lsl_queuesystem
start logs
start sounds
start handling_editor
# Characters
start NativeUI
start pNotify
start characters
start lsl_player
start animations
start voice
start Ped
start els-fivem
start lspdpack
start bcsopack
# jobs
start policejob
#shop
start gunlicense
start gunshop
#cars
start handling_mod
start AdvancedFuel
start seatbelt
sv_scriptHookAllowed 0
set temp_convar "hey world!"
sets tags "roleplay, rp, real life, XXX, XXXLife, XXX"
sv_hostname "^4[UK/EU] ^3 ssss Roleplay ^0 | ^6 Serious RP^0 | ^1EMS^0/^4Police^0/^3Mechanic ^0| ^6 Active Staff ^0 | ^2Legal^0/^1Illegal ^4 Jobs ^0 | ^9 Custom Scripts"
sv_authMaxVariance 1
sv_authMinTrust 5
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:### 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 32
# License key for your server (https://keymaster.fivem.net)
sv_licenseKey ####
Is this full config unedited? or did you take stuff out (obv for privacy)? If not there is nothing wrong with it. I would try changing your port and see if that does anything.
nope is not the full config, i actully write all this by myself xd [srsly]
i didnt need all the others commands.
anyway i tried this not working ;(
okay well i’m pretty sure you need a license key or else you server the server will not boot… Are you able to connect to the server?
ye i have a license key.
is there still an issue that needs resolving?
yeh
5 char…