forked from infclass/teeworlds-infclassR
-
Notifications
You must be signed in to change notification settings - Fork 1
/
autoexec.cfg
150 lines (118 loc) · 3.68 KB
/
autoexec.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
# GENERAL OPTIONS
# ---------------
# Server port (only port range 8303-8310 show up in LAN tab,
# defaults to 0 to automatically select free port in range 8303-8310)
sv_port 8303
# Server name
sv_name "my infdust server"
# rcon (F2) passwords for admin. If you don't set one, a random one will be
# created and shown in the terminal window of the server.
sv_rcon_password ""
# rcon (F2) password for moderator. If you don't set one, none exists.
sv_rcon_mod_password ""
# Register server (make it public)
sv_register 1
# ADVANCED OPTIONS
# ----------------
sv_distconnlimit 5
sv_distconnlimit_time 10
sv_server_info_per_second 100
# File where server log will be stored
logfile infclassr.log
# Max players on server
sv_max_clients 64
# Max players with the same IP address
sv_max_clients_per_ip 4
# SERVER CUSTOMIZATION
# --------------------
# inf_add_sqlserver w infclass infclass infclass <password3> 127.0.0.1 3306 1
inf_challenge 1
inf_scientist_tp_selfharm 1
inf_smoker_hook_damage 2
inf_bat_hook_time 3
inf_bat_damage 2
inf_enable_sniper 1
inf_white_hole_probability 20
inf_white_hole_pull_strength 30
inf_white_hole_affects_humans 0
inf_min_players_for_engineer 8
inf_min_players_for_turrets 8
inf_slime_max_heal 12
inf_min_player_percent_map_vote 25
inf_min_player_number_map_vote 6
inf_show_score_time 6
inf_turret_enable 1
inf_turret_max_per_player 2
inf_turret_radar_range 700
sv_maprotation infc_skull
add_map infc_lunaroutpost
add_map infc_bamboo2
add_map infc_halfdust
add_map infc_warehouse
add_map infc_damascus
add_map infc_half_provence
add_map infc_eidalfitr
add_map infc_newdust
add_map infc_hardcorepit
add_map infc_bamboo3
add_map infc_towers
add_map infc_headquarter
add_map infc_normandie_2k19
add_map infc_toilet
add_map infc_spacelab
add_map infc_warehouse2
add_map infc_sewers
add_map infc_malinalli_k9f
add_map infc_canyon
add_map infc_floatingislands
add_map infc_k9f_small
sv_inactivekick 2
sv_inactivekick_time 5
# Those values are set in seconds. Non-zero 'sv_inactivekick_time' is
# still required to turn on the activity check.
inf_inactive_humans_kick_time 180
inf_inactive_infected_kick_time 30
sv_vote_kick_min 4
# Use a config file to execute whenever a map is changed
sv_reset_file "reset.cfg"
# CUSTOM VOTES
# ------------
add_vote "Skip this map" "skip_map"
add_vote "Start fun round" "start_fun_round"
add_vote lunaroutpost change_map infc_lunaroutpost
add_vote bamboo2 change_map infc_bamboo2
add_vote halfdust change_map infc_halfdust
add_vote warehouse change_map infc_warehouse
add_vote damascus change_map infc_damascus
add_vote half_provence change_map infc_half_provence
add_vote eidafitr change_map infc_eidalfitr
add_vote newdust change_map infc_newdust
add_vote hardcorepit change_map infc_hardcorepit
add_vote bamboo3 change_map infc_bamboo3
add_vote towers change_map infc_towers
add_vote headquarter change_map infc_headquarter
add_vote normandie_2k19 change_map infc_normandie_2k19
add_vote toilet change_map infc_toilet
add_vote spacelab change_map infc_spacelab
add_vote warehouse2 change_map infc_warehouse2
add_vote sewers change_map infc_sewers
add_vote k9f change_map infc_malinalli_k9f
add_vote canyon change_map infc_canyon
add_vote floatingislands change_map infc_floatingislands
add_vote k9f_small change_map infc_k9f_small
# ADDITIONAL COMMANDS PERMISSIONS
# -------------------------------
mod_command ban 1
mod_command unban 1
mod_command mute 1
mod_command unmute 1
mod_command kick 1
mod_command status 1
mod_command option_status 1
mod_command mod_status 1
mod_command inf_set_class 0
# CUSTOM CONFIG
# -------------
# if you do not want updates to overwrite your settings create a
# file called myServerconfig.cfg and put your config there
exec myServerconfig.cfg