-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathserver.cfg
122 lines (104 loc) · 9.18 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
// Hide 'n Seek config
// Mod by iCore
// moddb.com/members/icore
// ----- Info ------ //
sets _mod "Hide 'n Seek (Prop hunt)"
sets _modver "2016-07-25"
sets _provider "iCore"
sets _website "moddb.com/members/icore"
// ----- Default ----- //
set sv_hostname "^1#^7iCore's ^1H^7ide a^1n^7d ^1S^7eek (^1Prop hunt^7)^1! ^7[^1CRACKED^7] moddb.com/members/icore"
set rcon_password "rconpass"
set sv_maxPing 350
set sv_voice 0
// ----- Download ----- //
set sv_allowDownload 1
set sv_wwwDownload 1
set sv_wwwBaseURL "http://www.fastdownload.com/"
set sv_wwwDlDisconnected 0
// ----- Log ----- //
set g_log "games_mp.log"
set g_logSync 1
set logfile 2
set r_logFile 1
// ----- Master servers ----- //
set sv_master1 "cod4master.activision.com"
set sv_master2 "cod4authorize.activision.com"
set sv_master3 "cod4master.infinityward.com"
set sv_master4 "cod4update.activision.com"
set sv_master5 "cod4master.akthvision.com"
// ----- HNS ----- //
set scr_hns_ad "By iCore - moddb.com/members/icore" // Displayed on the left bottom of the screen
set scr_hns_motd "Report bugs and ideas on moddb.com/mods/hide-n-seek-mod" // It is in the main menu (when you press escape in-game)
set scr_hns_guidlength 8 // Length of the GUID's last characters to match with dvars like namedefend and vip
set scr_hns_scorelimit 3 // Score limit, default: 3
set scr_hns_nextmapmode 0 // Next map display, default: 0, 0 = Chat (default), 1 = Notification area, -1 = None
set scr_hns_nolastmodel 0 // If 1, then the last object won't be displayed for seekers, and the map time won't be restored to "scr_hns_hurrytime" seconds if only one hider left, default: 0
set scr_hns_readyup 0 // If 1, ready-up mode will be enabled - fine if you are playing with some friends
set scr_hns_roundtime 4 // Time delay before every round in seconds, default: 4
set scr_hns_maptime 20 // Map load time, default: 20
set scr_hns_hurrytime 60 // Beep alert will be played for seekers, this time before the end of seeking time. It also controls the time remaining, when only one hider left, default: 60
set scr_hns_warnkick 3 // After how many warns should a player be kicked
set scr_hns_afktime 30 // Inactivity time, default: 30
set scr_hns_mapvote 1 // Vote after the end of the map
set scr_hns_nomelons 0 // If 1, then it disables the melon-falling at the end of the map
set scr_hns_statprotect 0 // If 1, then it tries blocking transported stats - turn off on a home server
set scr_hns_newmelee 1 // If 1, then knifing will be like in Promod - if 0, then the default knifing method will be used
set scr_hns_visratio 1 // The ratio for the price of objects, which can be bought with visibility points (0.5 = half price)
set scr_hns_freevote 0 // If 0, players will only be able to vote on the 5 least played maps (only available when using 1.7a)
set scr_hns_fairvote 0 // If 1, the voting algorithm will choose the maps, which are played the least times, if 0, it will choose, which are played the longest time ago (only usable when scr_hns_freevote is 0); if you change it, remove the maps.hns file, otherwise you can get unexpected results!
set scr_hns_stealprotect 0 // It will try to prevent players from stealing files from your server (use Ninja's serverfile if you want 100% security!). Only turn it to 1, if you can't rename your config file to something random (like BKLfs58YIYPQmQN8900.cfg, if they don't know the name of the config file, they can't download it), or if your server has its own HNS private plugin which you don't want to share! It may be bad for the performance with many players (not that much probably, but it may matter), so keep it 0 if you don't have to use it.
// Points
set scr_hns_point_surv 1 // Surviving per hider kill
set scr_hns_point_knife 2 // Knifing with hider
set scr_hns_point_kill 4 // Kill by seeker
set scr_hns_point_spec 5 // Activating sensor or jammer
set scr_hns_point_seek 6 // Winning with seeker
set scr_hns_point_hide 12 // Winning with hider
set scr_hns_point_bonus 10 // Points from care package
set scr_hns_point_ch 20 // Challenge reward
set scr_hns_point_killpro 0 // Extra points you get for killing a hider with flame icon
set scr_hns_point_friendknife 0 // Extra points you get, if as a hider one of your teammate knifes a seeker
set scr_hns_point_lasthider 0 // Extra points you get, if you become the last hider (and at least 15 seekers are against you)
// Name protection
set namedefend "iCore" // Define your clanTag or the names of your members here - Leave empty for disable
set nameprotect "2a39acbd" // The list of clanmembers, who are allowed to use the tag - Last scr_hns_guidlength chars of GUIDs here, separated by space
// Define of map specific vars - If only 2 players are on the server, then the seeking time is %maxtime%. If a player joins, the seeking time will be decreased with %difftime%. If the decreased time would go under %mintime%, then it will be applied. All of these are overriding the global definitions (which can be set without the map part of these dvars, for example scr_hns_hidetime).
//set scr_hns_maxtime_mp_shipment 60 // 60 seconds, if only 2 players are on the server
//set scr_hns_mintime_mp_shipment 45 // 45 seconds, if there are more than 15 players (60 - 45 * 1 = 15)
//set scr_hns_difftime_mp_shipment 1 // 1 second decreasing for every connecting player
//set scr_hns_hidetime_mp_shipment 30 // 30 seconds hiding time
//set scr_hns_hurrytime_mp_shipment 60 // 60 seconds for last hider
//set scr_hns_maptime_mp_shipment 20 // 20 seconds map-loading time
//set scr_hns_roundtime_mp_shipment 4 // 4 seconds round-starting time
//set scr_hns_defaultmodel_mp_shipment "com_pallet_stack" // Spawn model will be com_pallet_stack
//set scr_hns_scorelimit_mp_shipment 5 // 5 rounds on Shipment
// Make a list of models here, if you want to use a downloaded, non-HNS map.
// You can check the currently supported models on the bottom of this tutorial: moddb.com/mods/hide-n-seek-mod/tutorials/custom-hns-map
// You can discover the models, which are available on your choosen map: moddb.com/games/call-of-duty-4-modern-warfare/downloads/xmodel-explorer
//set scr_hns_model1_mp_shipment "com_pallet_stack"
//set scr_hns_model2_mp_shipment "com_refrigerator"
//set scr_hns_model3_mp_shipment "com_stove"
// List the last "scr_hns_guidlength" characters of VIP members' GUID here, separated by space (2a39acbd = iCore)
set vip "2a39acbd"
// List here any admin passwords and permissions
// You can log in with "/openScriptMenu ingame login:adminpw" where "adminpw" is one of the admin passwords from the list below. You can write anything instead of "ingame". After logging in, you can use the commands (with the same "openScriptMenu" syntax), which are assigned to that admin level, and certainly "logout" too.
// s - status = List online players with ID
// k - kick:5:Cheater! = Kick player with ID 5, reason is optional, here set to 'Cheater!'
// b - ban:5:cheater! = Ban player with ID 5, reason is optional, here set to 'Cheater!'
// w - warn:5:Do:not:cheat! = Warn player with ID 5 (This way the message will be "Do not cheat!", if you don't need it, warn:5 is working too)
// x - kill:5 = Kill player with ID 5
// l - level:5:20 = Sets the rank of the player with ID 5 to 20, really useful when someone has lost their stats
// r - reset:5 = Resets the rank of the player with ID 5
// v - vp:5:10000 = Gives 10000 VP to the player with ID 5, really useful when someone has lost their stats
set admin1_pass "adminpass"
set admin1_perm "skbwxlrv"
set stat 0 // Set a random stat here, between 1 and 1121 (REQUIRED). It will be the stat ID, in which the player XPs are stored.
set code "s1000000001.o178420356.a116990.r17.m2" // Cipher for the stat encoding algorithm - the more unique and complicated one you define, the better your level hack defence will be. Separate the code with dots ("."). The default stat is more than a billion, so you can calculate with bigger numbers (but don't exceed the limit of 2147483647, so for example don't multiply the number, except if you know, that it will stay smaller than this). Number IDs are starting from 0. "a666" - Add 666, "s666" - Subtract 666, "m2" - Multiply by 2, "r03" - Replace 0th and 3rd numbers, "o7612543098" - Order the numbers from 0123456789 to 7612543098. If you have no patience to test a cool code for yourself, then just rewrite some numbers in the example (which you are sure about). A code for example: s1000000002.o178420356.a116990.r17.m2
set redirectfull "" // If the server becomes full by the currently joined player, they will be redirected to this specified IP (example: "127.0.0.1")
set banned "" // Banned players - They can connect to the server, but they can not join - they will get a message about the ban - Last 4 chars of GUIDs, separated by space
set g_gametype "hns" // Don't change it
// Define here the name of the maps, which are not supported by default
//hns_mapname_mp_toujane "Toujane"
// Read the tutorial on moddb about how to add your custom map
set sv_mapRotation "map mp_crash map mp_creek map mp_crossfire map mp_backlot map mp_bog map mp_farm map mp_citystreets map mp_killhouse map mp_overgrown map mp_shipment map mp_crash_snow map mp_pipeline map mp_showdown map mp_strike map mp_vacant map mp_bloc map mp_broadcast map mp_carentan map mp_cargoship map mp_convoy map mp_countdown map mp_backyard map mp_cluster map mp_fav"