-
Notifications
You must be signed in to change notification settings - Fork 3
/
server.cfg
121 lines (86 loc) · 3.3 KB
/
server.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
set es_enableCustomData 1
set mysql_connection_string "<<put db connection string here>>"
# should look something like this
# set mysql_connection_string "server=mysql-mariadb-12-123.zap-hosting.com;database=<<db_name>>;userid=<<db_user>>;password=<<db_password>>"
# if this is confusing you, just set up a server on ZAP, and they will do the databasestuff for you
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
sv_maxclients 10
# Only change the IP if you're using a server with multiple network interfaces, otherwise change the port only.
# Don't change these settings here
set mysql_debug false
start mapmanager
start chat
start spawnmanager
start sessionmanager
start fivem
start bob74_ipl
start iplLoader
start hardcap
start PvP
start trafficadjuster
start webadmin-lua
start wap-settings
start wap-chatlog
exec resources/vMenu/config/permissions.cfg
# add_ace group.admin "vMenu.Everything" allow
setr vmenu_bans_database_filepath "resources/vMenu/"
start EasyAdmin
add_ace group.admin easyadmin allow
set ea_moderationNotification "false"
set ea_minIdentifierMatches 2
start mysql-async
start essentialmode
start esplugin_mysql
start es_admin2
exec MyServer.cfg
start vMenu
#-------------[Server Settings]-------------#
#Allow Server Sided Script Hook?
sv_scriptHookAllowed 0
# This is your Rcon password, comment out to disable rcon
# Last Known Password if the current one isn't working is: samsung92 OR ![RconPassword]
# rcon_password put_rcon_pass_here
sv_hostname "Your Server Name | tag1 | tag2 | tag3 |"
# a comma-separated list of tags for your server
# for example: sets tags "drifting, cars, racing" or sets tags "roleplay, military, tanks"
sets tags "tag1, tag2, tag3"
# set an optional server info and connecting banner image url.
# size doesn't matter, any banner sized image will be fine.
#sets banner_detail "http://url.to/image.png"
#sets banner_connecting "http://url.to/image.png"
# nested configs!
#exec server_internal.cfg
# loading a server icon (96x96 PNG file)
load_server_icon loading.png
# convars for use from script
set temp_convar "hey world!"
# want to only allow players authenticated with a third-party provider like Steam?
#sv_authMaxVariance 1
#sv_authMinTrust 5
# add system admins
add_ace resource.es_extended command.add_ace allow
add_ace resource.es_extended command.add_principal allow
add_ace resource.essentialmode command.sets allow
add_ace resource.essentialmode command.add_principal allow
add_ace resource.essentialmode command.add_ace allow
add_ace group.admin command allow # allow all commands
add_ace group.admin command.quit deny # but don't allow quit
# Hide player endpoints in external log output.
sv_endpointprivacy true
# hide player endpoints in external log output
#sv_endpointprivacy true
setr ea_LanguageName "en"
setr ea_MenuButton "56"
set ea_enableCallAdminCommand "true"
set ea_enableReportCommand "true"
onesync_enabled 0
#This is an official FiveM server hosted by ZAP-Hosting.com. You do not need to put a license key here.
restart sessionmanager
add_ace group.admin webadmin allow
add_principal <<put your steam id here for admin stuff vMeun / Admin>> group.admin
set steam_webApiKey "9FC5405FEBC21BBA433351E1B7490859"
set sv_UseDirectListing true
sets locale "en-US"
set sv_listingIPOverride "127.0.0.1"
sv_licenseKey "<<put your license key here"