View Single Post
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 07-10-2005 , 00:19  
Reply With Quote #2

Notes
top

Compatibility:

AMXX 1.8 or higher only.

Language Translations:

If you have a set of new translations or updates to existing translations, please post them in the sister thread to this one: Play or Be Kicked (current translations)

Immunity:

Immune players that are spectating can optionally get a count-down as if they were going to be kicked. This is useful in case you don't want other players on the server to realize who is admin (seeing someone spectate for hours while others are kicked after minutes is a dead giveaway) so by seeing the countdown, the admin can know when to scurry back onto a team without raising too much suspicion.


Change Log
top

[2008-JUL-23] v1.5.243
  • Removed all vestiges of the engine module and used fakemeta instead.
  • Optimized various portions of code to be more efficient.
  • No longer comparing Z-axis to see if a player moved. This fixes an issue where players' AFK meters could get reset upon round start if you had a low (2 seconds or less) freeze time. Also fixes an issue on maps where players can be constantly moving along the Z-axis, even when AFK (for example, ka_bungee).
  • Replaced "pbk_immunity" with three new CVARs: "pbk_spec_immunity_flags", "pbk_afk_immunity_flags", and "pbk_join_immunity_flags". Allows you to set one or more flags that should have immunity from each kick event.
  • Added plugin-specific config file, "pbk.cfg".
  • Added ability to redirect players to a different server upon kicking them. Uses the new CVARs, "pbk_kick2_ip" and "pbk_kick2_port".
  • Implemented optional feature whereas, if this plugin detects someone in spectator mode, and the plugin is configured to kick for too much time in spectator mode, it can periodically query the player to see if they're actually at the keyboard or not.
[2005-DEC-11] v1.4
  • Fixed inconsistencies between what the docs said the default values for certain CVARs were and what they were set as in the code. The docs were correct, the code was wrong.
  • Replaced "pbk_min_players" with three new CVARs: "pbk_join_min_players", "pbk_spec_min_players", and "pbk_afk_min_players". This allows you to have finer control over when players should be kicked.
[2005-NOV-11] v1.3
  • Compatible with AMXX 1.60 or higher only.
  • [NEW] Added functionality to kick AFK users via new CVAR "pbk_afk_time". A value of 0 will disable checking of AFK status.
  • [NEW] Added CVAR "pbk_immunity_warning" to indicate whether players with immunity should be shown the warning countdown. The default is to show the countdown.
  • [ENH] Added CVAR "pbk_log" which lets you specify how to log kicks. Options are to log in the AMXX log (as was previously done), the chat log (allows kicks to be seen in programs like HLSW that show you the chat log), and in their own file (pbkMM.log where MM is the two-digit month). The default is to log in the AMXX and chat logs.
  • [ENH] Added CVAR "pbk_log_cnt" which lets you specify how many months of logs to keep if you are logging kicks into their own file.
  • [ENH] Renamed CVAR "pbk_un_time" to "pbk_join_time". Added the ability to specify 0 to disable checking of initial join status.
  • [ENH] Added ability to specify 0 for the "pbk_spec_time" CVAR to disable checking of spectator status.
  • [ENH] Changed the options for "pbk_immunity" to allow indication of what events an immune player can be immune from being kicked. Options are "joining", "spectating", and "being AFK".
  • [BUG] Fixed issue where player would be able to choose a team but not a model and then sit there indefinitely.
  • [BUG] Fixed issue where the time length wasn't multilingual.
  • [CHG] Renamed CVAR "pbk_allow_immunity" to "pbk_immunity".
  • [CHG] Removed CVAR "pbk_restrict". Functionality that it provided is now being provided via "pbk_join_time", "pbk_spec_time", and pbk_afk_time".
[2005-JUL-16] v1.1
  • Will ignore HLTV users.
  • Added CVAR to allow immune players to be kicked.
  • Replaced CVAR "pbk_time" with "pbk_spec_time" and "pbk_un_time". Allows different times to be set for each event.
[2005-JUL-10] v1.0
  • Initial release.

Credits

top

Idea for the plugin came from frustrations with Spec Kick by foo.bar.
Original design inspiration and some code came from Generic AFK Kicker by CheesyPeteza.

Specific Features:
  • "Immunity warning option" thanks to Curryking.
  • "Choose team but not class bug" thanks to docjohnson.
  • "Will ignore HLTV users" thanks to onedamage.
  • "Allow players with immunity to be kicked" thanks to AllMassive.
  • "Allow min player settings per event" thanks to Schlesie.
Language Translations:
Previous Versions (unsupported)

top
Attached Files
File Type: zip pbk_1_4.zip (9.0 KB, 2721 views)

Last edited by Brad; 07-23-2008 at 10:01.
Brad is offline