forked from EeyJey/IranRolePlay
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathserver.cfg
89 lines (68 loc) · 2.69 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
add_ace group.restart restart.cmds allow ##this group is able to use the /beginrestart command.
add_principal identifier.steam:110000111fc352b group.restart ##this will give a specified person permissions to the restart group.
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
#30120
#Default Resources of FiveM
start mapmanager
start chat
start spawnmanager
start sessionmanager
restart sessionmanager
start fivem
start hardcap
start rconlog
start baseevents
#DataBase Config
start mysql-async
set mysql_connection_string "server=localhost;database=fivem;userid=root;password="
set mysql_debug 1
set mysql_debug_output "file"
exec resources.cfg
exec vidat.cfg
exec mamadlord.cfg
exec aj.cfg
exec Arman.cfg
exec matin.cfg
# A comma-separated list of tags for your server.
# For example:
# - sets tags "drifting, cars, racing"
# Or:
# - sets tags "roleplay, military, tanks"
sets tags "roleplay, iran, persian, farsi, RP"
sv_scriptHookAllowed 0
# change this
rcon_password 7axxycc7d3R
sv_hostname "^1Iran ^7Role ^2Play ^9(Persian/Farsi lang)"
# nested configs!
#exec server_internal.cfg
# loading a server icon (96x96 PNG file) - MicroSerum's logo by default
load_server_icon mylogo.png
# convars for use from script
set temp_convar "hey world!"
# disable announcing? clear out the master by uncommenting this
#sv_master1 ""
# want to only allow players authenticated with a third-party provider like Steam?
#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:110000111fc352b group.admin
# remove the # to hide player endpoints in external log output
#sv_endpointprivacy true
# server slots limit (must be between 1 and 31)
sv_maxclients 64
# license key for server (https://keymaster.fivem.net)
sv_licenseKey 9djou3bdm07bhar761cgkdmpdviu8czm
set ea_LanguageName "en" # set our language to english
set ea_MenuButton "121" # set our menu button to F2. default: "289"
set ea_alwaysShowButtons "false" # we don't want to see buttons we can't even access, do we? default: "false"
set ea_moderationNotification "false" # this can be either "false" or a discord webhook address, this will send a discord message if an admin takes actions against a player ( such as banning and kicking )
set ea_custombanlist "false" # read docs for this, dont touch it
set serverNumber "1"
add_ace group.moderator easyadmin.kick allow # allow kicking
add_ace group.moderator easyadmin.spectate allow # allow spectating
add_ace group.moderator easyadmin.ban allow
add_ace group.moderator easyadmin.screenshot allow
add_ace group.admin easyadmin allow