Skocz do zawartości

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.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

KvConfigs


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 489
  • Lokalizacja:AMXX.PL
Offline

Napisano 20.08.2013 21:58

<!-- BEGIN TEMPLATE: postbit_external -->
<div><b>Description:</b><ul><li>Provides two optional systems that can be used separately or together - another map configuration plugin and a ConVar enforcement system.</li>
<li>Should work for just about every mod.</li>
</ul><b>Map Configuration:</b><ul><li>Map entries are defined within a single file: /sourcemod/configs/kvconfigs.maps.ini</li>
<li>No partial/prefix support at this time. Map names must be precise.</li>
<li>Unlimited cvar/cmd entries per map, however, only one convar/cmd should be used per each entry.</li>
<li>The configuration file is only parsed on first load; use the command kv_reloadmaps to update after making changes or within server.cfg for per-map updating.</li>
</ul><b>ConVar Enforcement:</b><ul><li>CVar entries are defined within a single file: /sourcemod/configs/kvconfigs.cvars.ini</li>
<li>Any Cvar defined within the file will be unable to have it's value changed through any external source. This includes silly admins with sm_cvar, CS:GO game modes, plugin configuration files, etc.</li>
<li>Capable of enforcing strings/floats/integers (and bools if you don't mind 0/1 vs false/true).</li>
<li>The configuration file is only parsed on first load; use the command kv_reloadcvars to update after making changes or within server.cfg for per-map updating.</li>
<li>The kv_setprotected &lt;convar&gt; &lt;value&gt; command allows modification of any cvar currently being enforced, but will not modify the original configuration file and changes will be lost on kv_reloadcvars.</li>
<li>The kv_remprotected &lt;convar&gt; command will stop any cvar from being enforced.</li>
</ul><b>Important (Edit):</b><ul><li>Only after posting this plugin did I consider how it could be used for nefarious purposes...</li>
<li>I'll provide a version with a cvar blacklist sometime this week when time permits to write such, so admins won't be forcing sv_password / rcon_password.</li>
</ul></div>


<br /> <div style="padding:6px">








<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/ini.gif" alt="File Type: ini" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...38;d=1377032285">kvconfigs.cvars.ini</a> (354 Bytes)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/ini.gif" alt="File Type: ini" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...38;d=1377032288">kvconfigs.maps.ini</a> (461 Bytes)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie...s/attach/sp.gif" alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="http://www.sourcemod...?file_id=124560"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1377032302">Get Source</a> (sm_kvconfigs.sp - 14.2 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>


</div>

<!-- END TEMPLATE: postbit_external -->

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych