<div>For those that have ever run a server in CSGO before, they probably ended up having to use a plugin that forces their server's cvars because for some reason they just changed on their own! This plugin is meant to be an end-all fix for that problem. I know that I'm definitely not the first person to make this kind of plugin, however I can't find it on alliedmods. Do I have bad search skills or is it actually the case that no one has released a plugin that does this publicly?<br /><br /><font face="Arial Black"><font size="6">How to install</font></font><br />Merge the sourcemod folder from the download with your server's sourcemod folder.<br /><br /><font face="Arial Black"><font size="6">How to use</font></font><br />Inside sourcemod/configs/cvarenf.cfg, you can list cvars and the values you expect. Here is an example:<br /><br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left">sv_full_alltalk 1<br />sv_deadtalk 1<br />sv_alltalk 1<br />sv_allow_votes 0<br />mp_roundtime 60<br />mp_timelimit 60<br />mp_limitteams 0<br />mp_autoteambalance 0<br />mp_freezetime 0<br />bot_quota 1<br />bot_quota_mode match<br />sv_airaccelerate 1000<br />sv_hibernate_when_empty 0<br />mp_warmuptime 0<br />mp_do_warmup_period 0<br />mp_autokick 0<br />sv_friction 4<br />sv_accelerate 5<br />sv_staminajumpcost 0<br />sv_staminalandcost 0<br />sv_infinite_ammo 1<br />host_players_show 2<br />mp_maxmoney 0<br />mp_maxrounds 1<br />sv_max_allowed_net_graph 3<br />sv_enablebunnyhopping 1<br />bot_controllable 0<br />mp_ignore_round_win_conditions 1<br />sv_allow_thirdperson 1</code><hr />
</div>It's okay to have quotes, the plugin will ignore them. Right now I'm not entirely sure that the way I'm reading the cvarenf.cfg file is the proper way to do it, but from my experience with the file system it should be okay I think :)<br /><br />You can reload the config file ingame through the admin menu's "Server Commands" category. Requires the config admin flag ("i"). The plugin itself is also reloadable.</div>
<br /> <div style="padding:6px">
<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td><img class="inlineimg" src="https://forums.allie...attach/zip.gif"alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>
<a href="https://forums.allie...urcemod.zip</a>(12.1 KB)
</td>
</tr>
</table>
</fieldset>
</div>
Wyświetl pełny artykuł
Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse

[CSGO] ConVar Enforcer
Temat rozp. Adminek AMXX.PL, 19.08.2015 06:39
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych