Raised This Month: $32 Target: $400
 8% 

DoD !forgivetk - does NOT require dodxmod or dodx.inc


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Day of Defeat        Category:   Gameplay        Approver:   devicenull (200)
WhoCares?
Junior Member
Join Date: Aug 2004
Location: Colorado
Old 08-11-2004 , 03:24   DoD !forgivetk - does NOT require dodxmod or dodx.inc
Reply With Quote #1

Day of Defeat !forgivetk plugin ftk_v104.sma

Requires: AmxModX v0.16 or newer, modules: Engine & Fun.

This does NOT require the dodx.inc or anything from dodxmod to work.

The concept for this is based on the "old" tk plugin by Bud-Froggy which
used logd_kill for team kill detection.

There are NO menus whatsoever and this completely relies on manual
user interaction.

You must set the limits before compiling.
0 - OFF, 1 - ON
VAR_TKLIMIT # - sets the tk limit. Default: 4
VAR_BANTIME # - sets the bantime. Default: 10 minutes.
VAR_TKADMIN # - sets admin immunity so admins aren't punished. Default: 1
var_debug # - sets debug messages off/on. Default: 0

Features:
Typing 'ftk_help' in console will show a list of commands.

User Commands
say /tks - shows your current number of tk's (only shown to user)
say !forgivetk - forgive your killer

Admin Console Commands
amx_ftk <new|old> - force forgive most/least recent tk'er
amx_ftkv - shows version and build info.

Changelog info:
-----------------------------------------------------------------------
10 Aug 2004 - V1.00 - Initial Release, see the ftk_readme.txt file.

11 Aug 2004 - v1.01 - Fixed a PLUGIN_HANDLED issue that was causing
Death Messages not to be reported.

21 Aug 2004 - v1.02 - Fixed server crashes at map change.
Removed vault.ini interaction.
Limits for players set at compile time.
22 Aug 2004 - v1.03 - Fixed problem with TK'er not being kicked
29 Aug 2004 - v1.04 - Fixed problem with admin access.

-----------------------------------------------------------------------

Future Plans:
-----------------------------------------------------------------------
I hope to add in-game variable setting and persistent variables across
map changes in the future. i.e. Turn admin immunity on/off on the fly,
change tk limits and bantime on the fly, etc. Also would like to put
the vault.ini capability back in at some point.
-----------------------------------------------------------------------
Attached Files
File Type: sma Get Plugin or Get Source (ftk_v104.sma - 2976 views - 10.0 KB)
__________________
WhoCares? is offline
Send a message via ICQ to WhoCares? Send a message via AIM to WhoCares? Send a message via MSN to WhoCares? Send a message via Yahoo to WhoCares?
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode