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

[ANY] Chat Spam Punishment w/ Sourcebans++ Integration


  • 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 530
  • Lokalizacja:AMXX.PL
Offline

Napisano 05.10.2023 21:35

<div><u><b>Chat Spam Punishment</b></u><br /><br /><u>Description</u><br /><br />This plugin complements the anti chat flood feature that comes with Sourcemod. The idea behind this plugin is to stop people from...<br /><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;">Peter Brev: typing<br />Peter Brev: lots of messages<br />Peter Brev: in the game chat<br />Peter Brev: rapidly<br />Peter Brev: for no good reason,<br />Peter Brev: annoying everyone<br />Peter Brev: and potentially disrupting the game.</div>
</div>
</div><br /><br />You can choose to gag (with time, even if you do not use Sourcebans++!), kick or ban any player being naughty spammers.<br /><br /><u>ConVars</u><br /><br /><i>sm_chat_spam_punishment_version <b>[Def. 1.0.0]</b></i> - Plugin version<br /><i>sm_chat_spam_enable <b>[Def. 1]</b></i> - Enable/Disable plugin<br /><i>sm_chat_spam_punishment_treshold <b>[Def. 8]</b></i> - The maximum number of messages in a given time at which it will gag, kick or ban the player.<br /><i>sm_chat_spam_punishment_warning_enable <b>[Def. 1]</b></i> - Should the player see a warning before their impending doom.<br /><i>sm_chat_spam_punishment_warning <b>[Def. 1]</b></i> - How close to the threshold should it warn the player of an impending action. E.g. If the treshold is set to 8, then setting this cvar to 1 means that the warning will show one chat message before action is taken.<br /><i>sm_chat_spam_punishment_type <b>[Def. 0]</b></i> - Type of punishment to apply (0: gag, 1: kick, 2: ban).<br /><i>sm_chat_spam_punishment_gag_time <b>[Def. 300]</b></i> - How long to apply a gag for (time in seconds). [Use &quot;sm_chat_spam_punishment_time_sc&quot; if you have Sourcecomms].<br /><i>sm_chat_spam_punishment_ban_time <b>[Def. 5]</b></i> - How long to apply a ban for (time in minutes). [Use &quot;sm_chat_spam_punishment_time_sc&quot; if you have Sourcecomms].<br /><i>sm_chat_spam_punishment_timer <b>[Def. 15]</b></i> - The time at which the player's threshold will reset (time in seconds).<br /><br /><b>If you use Sourcebans++:</b><br /><i>sm_chat_spam_punishment_time_sb <b>[Def. 5]</b></i> - How long to apply a gag or a ban (time in minutes).<br /><br />Note: <i>sm_chat_spam_punishment_gag_time</i> and <i>sm_chat_spam_punishment_ban_time</i> have no effect if Sourcebans++ is installed on your server. They are superceded by <i>sm_chat_spam_punishment_time_sb</i>.<br /><br />Note 2: Admins are immune.<br /><br /><br /><u>Additional information</u><br /><br />Plugin uses <a href="https://forums.allie...d.php?t=169095"target="_blank" rel="noopener">Updater</a> by GoD-Tony. It is not required to have it for this plugin to run, but you will not have to manually update files.<br /><br /><u>Known issues</u><br /><br />None that I know of. If you experience issues, let me know what happened and steps to reproduce if possible. Any screenshots/demos are welcome additions.<br /><br /><u>To do</u><br /><br />Nothing.</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...696538016">ChatSpam Punishment.zip</a> (14.3 KB)


</td>
</tr>
</table>
</fieldset>


</div>

Wyświetl pełny artykuł




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

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