<!-- BEGIN TEMPLATE: postbit_external -->
<div>This is a very simple plugin, inspired by the MODE command in IRC.<br /><br />It will let root admins add or remove any admin flags from any connected client without interacting with the admin config files. Once someone with custom flags disconnects, they will lose the flags.<br /><br /><b>Cvars</b>:<br /><br />sm_flags_version - plugin version.<br /><br /><b>Commands</b>:<br /><br />sm_flags <#userid|name> [+/add|-/remove|toggle] <flags><br /><br />Flags is a string of single character representations for the flags wanted. For example, 'z' is root and "abcdefj" would be a generic-ish admin setup. Keep in mind if you give the changemap flag, then if/when the person changes the map. They will no longer be able to change the map.<br /><br /><b>Example usage</b>:<br /><br />sm_flags Helper + j<br />This will give "Helper" the chat flag. I mainly do this from the server console when I'm not online and someone is in need of some mutes.<br /><br />sm_flags @all + ak<br />This will give everyone the reserved slot and vote flags. (Up to 42 flags can be set at the same time). Setting reserved slot for one session will allow slot reservation to not kick this person for the entirety of their stay on the server.<br /><br />The '+' is not necessary, but when targeting multiple clients it is best to not use toggle. Then some actual admins might be losing the flags.<br /><br />sm_flags @me - abcdefghijklmnopqrstuvwxyz<br />This will make me have no flags. Non-existing flags will be treated as nothing.<br /><br />sm_flags @me z<br />This will toggle the root flag on me, to run this command you must be root. So after this command I won't be able to use sm_flags until I reconnect to the server.<br /><br />You can also use "add" instead of '+' or "rem", "remove" instead of '-'.</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...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=128177"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1385766987">Get Source</a> (flags.sp - 7.7 KB)
</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>
</div>
<!-- END TEMPLATE: postbit_external -->
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
[ANY] Niggy's Session Flags
Temat rozp. Adminek AMXX.PL, 30.11.2013 00:34
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych