-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmtaconf-sample.xml
More file actions
145 lines (122 loc) · 5.86 KB
/
mtaconf-sample.xml
File metadata and controls
145 lines (122 loc) · 5.86 KB
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
<config>
<servername>Local instance of PTPM</servername>
<!-- Network config -->
<serverip>auto</serverip>
<serverport>22003</serverport>
<ase>0</ase> <!-- CHANGE TO 1 IN PRODUCTION ENVIRONMENTS -->
<donotbroadcastlan>0</donotbroadcastlan> <!-- CHANGE TO 1 IN PRODUCTION ENVIRONMENTS -->
<password></password>
<maxplayers>2048</maxplayers>
<!-- Use /srun setMaxPlayers(100) to lower the limit. The reason it isn't set to 100 here, is because
we might want to increase the player limit on-the-fly sometime. However, MTA won't allow us to increase the limit
without restarting the server. It WILL allow us to decrease the limit, and then, later,
increase it to any value (up to 2048). -->
<!-- /Network config -->
<!-- FastDL / Client file tranfer: RECOMMENDED FOR PRODUCTION ENVIRONMENTS, REQUIRES ADDITIONAL SET-UP OUTSIDE OF MTASA, E.G. APACHE2
<httpport>22005</httpport>
<httpdownloadurl>http://play-mtasa-srv1-fastdl.ptpm.uk/</httpdownloadurl>
<httpmaxconnectionsperclient>2</httpmaxconnectionsperclient>
<httpdosthreshold>20</httpdosthreshold>
<http_dos_exclude></http_dos_exclude>
-->
<!-- Anti Cheat settings. PTPM default: very strict -->
<allow_gta3_img_mods>none</allow_gta3_img_mods>
<disableac></disableac>
<enablesd></enablesd>
<!-- /Anti Cheat settings -->
<!-- Client requirements -->
<minclientversion>1.5.3-9.11164.0</minclientversion>
<minclientversion_auto_update>1</minclientversion_auto_update>
<recommendedclientversion></recommendedclientversion>
<!-- /Client requirements -->
<!-- Performance -->
<bandwidth_reduction>none</bandwidth_reduction>
<player_sync_interval>100</player_sync_interval>
<lightweight_sync_interval>1000</lightweight_sync_interval>
<camera_sync_interval>500</camera_sync_interval>
<ped_sync_interval>400</ped_sync_interval>
<unoccupied_vehicle_sync_interval>400</unoccupied_vehicle_sync_interval>
<keysync_mouse_sync_interval>100</keysync_mouse_sync_interval>
<keysync_analog_sync_interval>100</keysync_analog_sync_interval>
<bullet_sync>1</bullet_sync>
<vehext_percent>0</vehext_percent>
<vehext_ping_limit>150</vehext_ping_limit>
<latency_reduction>1</latency_reduction>
<fpslimit>60</fpslimit>
<!-- PTPM has an FPS limit of 60. We tried higher, but that disabled strafing (moving left/right while aiming) for players with high FPS. -->
<!-- /Performance-->
<!-- Voice chat: Disabled by PTPM -->
<voice>0</voice>
<voice_samplerate>1</voice_samplerate>
<voice_quality>4</voice_quality>
<!-- /Voice chat -->
<!-- Security (including Logging, Backups) -->
<authfile>logs/server_auth.log</authfile>
<logfile>logs/server.log</logfile>
<dbfile>logs/db.log</dbfile>
<idfile>server-id.keys</idfile>
<acl>acl.xml</acl>
<autologin>0</autologin>
<scriptdebuglogfile>logs/scripts.log</scriptdebuglogfile>
<scriptdebugloglevel>3</scriptdebugloglevel>
<htmldebuglevel>0</htmldebuglevel>
<backup_path>backups</backup_path>
<backup_interval>3</backup_interval>
<backup_copies>5</backup_copies>
<compact_internal_databases>1</compact_internal_databases>
<!-- /Security -->
<!-- Modules: ONLY required for the IRC resource, ONLY works on Linux x64 -->
<!-- <module src="ml_sockets.so" /> -->
<!-- /Modules -->
<!-- Resources -->
<!-- MODIFIED RESOURCES: These scripts were altered by PTPM and replace the default resources -->
<resource src="realdriveby" startup="1" protected="0" />
<resource src="interiors" startup="1" protected="0" />
<resource src="helpmanager" startup="1" protected="0" />
<resource src="joinquit" startup="1" protected="0" />
<!-- /MODIFIED RESOURCES -->
<!-- Administration -->
<resource src="spectator" startup="1" protected="0" />
<resource src="admin" startup="1" protected="0" />
<resource src="webadmin" startup="1" protected="0" />
<resource src="performancebrowser" startup="1" protected="0" />
<resource src="resourcebrowser" startup="1" protected="1" default="true" />
<resource src="resourcemanager" startup="1" protected="1" />
<!-- <resource src="irc" startup="1" /> -->
<!-- /Administration -->
<!-- Core PTPM -->
<resource src="mapmanager" startup="1" protected="0" />
<resource src="spawnmanager" startup="1" protected="0" />
<resource src="scoreboard" startup="1" protected="0" />
<resource src="killmessages" startup="1" protected="0" />
<resource src="ptpm_accounts" startup="1" protected="0" />
<resource src="ptpm_login" startup="1" protected="0" />
<resource src="ptpm" startup="1" protected="0" />
<resource src="ptpm-ls" startup="1" protected="0" />
<!-- /Core PTPM -->
<!-- Features and buffs -->
<resource src="parachute" startup="1" protected="0" />
<resource src="defaultstats" startup="1" protected="0" />
<resource src="reload" startup="1" protected="0" />
<resource src="heligrab" startup="1" protected="0" />
<resource src="vending" startup="1" protected="0" />
<resource src="vehicle_items" startup="1" protected="0" />
<resource src="headshot_special" startup="1" protected="0" />
<resource src="strategy_radial" startup="1" protected="0" />
<!-- /Features and buffs -->
<!-- Fixes and nerfs -->
<resource src="antiflood" startup="1" protected="0" />
<resource src="antispawnkill" startup="1" protected="0" />
<resource src="knife_restrict" startup="1" protected="0" />
<resource src="fire_annoyance" startup="1" protected="0" />
<resource src="vehicle_nerf" startup="1" protected="0" />
<resource src="weapon_desync" startup="1" protected="0" />
<resource src="wallshoot" startup="1" protected="0" />
<resource src="interiorfix" startup="1" protected="0" />
<resource src="waterfps" startup="1" protected="0" />
<!-- /Fixes and nerfs -->
<!-- Utility -->
<resource src="ptpm_analytics" startup="1" protected="0" />
<!-- /Utility -->
<!-- /Resources -->
</config>