-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserver.cfg
186 lines (140 loc) · 4.66 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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
# Only change the IP if you're using a server with multiple network interfaces, otherwise change the port only.
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
sv_useDirectListing true
set mysql_connection_string "mysql://DatabaseUsername:[email protected]/mastercity?charset=utf8"
add_principal group.admin group.user
add_ace resource.masterking32 command.sets allow
add_ace resource.extendedmode command.add_ace allow
add_ace resource.extendedmode command.add_principal allow
add_ace resource.extendedmode command.remove_principal allow
#stop webadmin
# These resources will start by default.
ensure mapmanager
#ensure chat
ensure spawnmanager
ensure sessionmanager
ensure fivem
ensure hardcap
ensure rconlog
ensure hardcap
ensure baseevents
ensure mysql-async
ensure cron
ensure skinchanger
ensure pNotify
ensure extendedmode
ensure master_chat
ensure esx_menu_default
ensure esx_menu_list
ensure esx_menu_dialog
ensure master_loading
ensure esx_skin
ensure esx_billing
ensure esx_addonaccount
ensure master_society
ensure esx_addoninventory
ensure master_vehicles
ensure esx_datastore
ensure esx_license
ensure esx_service
ensure master_hud
ensure mumble-voip
ensure esx_addons_gcphone
ensure gcphone
ensure master_jail
ensure esx_communityservice
ensure esx_criminalrecords
ensure esx_wanted
ensure master_policejob
ensure vSync
ensure skincreator
ensure master_identity
ensure esx_status
ensure esx_basicneeds
ensure InteractSoundS
ensure masterking32
ensure master_keymap
ensure master_hlaptop
ensure master_mp3player
ensure master_scoreboard
ensure Master_Inventory
ensure master_banking
ensure master_shops
ensure master_medicjob
ensure esx_adminplus
ensure esx_doorlock
ensure master_robbery
ensure master_robbery_jewelry
ensure master_robbery_bank
ensure master_clotheshop
ensure dpclothing
ensure master_mechanicjob
ensure dpemotes
ensure heli_xray
ensure instance
ensure esx_property
ensure master_gang
ensure master_radio
ensure master_ids
ensure master_weapons
ensure esx_drugs
ensure master_minerJob
ensure master_support
ensure master_adminpanel
ensure master_radialmenu
ensure esx_tattooshop
ensure master_paintball
ensure fivem-ipl
#ensure bob74_ipl
ensure master_mods
#ensure island
ensure master_warden
# This allows players to use scripthook-based plugins such as the legacy Lambda Menu.
# Set this to 1 to allow scripthook. Do note that this does _not_ guarantee players won't be able to use external plugins.
sv_scriptHookAllowed 0
# Uncomment this and set a password to enable RCON. Make sure to change the password - it should look like rcon_password "YOURPASSWORD"
#rcon_password ""
# A comma-separated list of tags for your server.
# For example:
# - sets tags "drifting, cars, racing"
# Or:
# - sets tags "roleplay, military, tanks"
sets tags "mastercity, roleplay, rp, masterking32"
# A valid locale identifier for your server's primary language.
# For example "en-US", "fr-CA", "nl-NL", "de-DE", "en-GB", "pt-BR"
sets locale "fa-IR"
# please DO replace root-AQ on the line ABOVE with a real language! :)
# 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://cdn.discordapp.com/attachments/763004544132710432/828261855477628928/Untitled-1.gif"
sets banner_connecting "https://cdn.discordapp.com/attachments/763004544132710432/828261855477628928/Untitled-1.gif"
# Set your server's hostname
sv_hostname "^2MasterCity - ^4MasterkinG32.Dev"
# hey error mide too console
sets sv_projectName "^2MasterCity"
sets sv_projectDesc "RolePlay 🌐 MasterkinG32.Dev | FREE GANG | New Medic | Hacking Robbery | 100% Optimized Scripts"
# Nested configs!
#exec server_internal.cfg
# Loading a server icon (96x96 PNG file)
load_server_icon logo96.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.
# Do not edit it if you *do* want your server listed.
#sv_master1 ""
# 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.fivem:1 group.admin # add the admin to the group
# Hide player endpoints in external log output.
sv_endpointprivacy true
# enable OneSync with default configuration (required for server-side state awareness)
onesync_enabled true
# Server player slot limit (must be between 1 and 32, unless using OneSync)
sv_maxclients 128
# Steam Web API key, if you want to use Steam authentication (https://steamcommunity.com/dev/apikey)
# -> replace "" with the key
set steam_webApiKey ""
# License key for your server (https://keymaster.fivem.net)
sv_licenseKey ""