View Single Post
Author Message
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 01-06-2014 , 10:59   [NMRiH] Team Kill Punishment v1.3.2 (14 Oct 2018)
Reply With Quote #1

NoMorePlugins studio presents:

Disclaimer:
I didn't know that when mp_friendlyfire is off, it's still possible to kill infected mates.
Thanks to:
- yomox9 for Japanese translation.
Features:
* Players may choose: forgive or punish;
* SourceBans and MySQLBans support.
Console variables:
PHP Code:
// Plugin Version ConVar
//nmp_tkp_version

// Debug messages:
// 0 - disabled,
// 1 - server console only,
// 2 - server console and logs.
nmp_tkp_debug 0

// Number of team attacks to count as team kill. (-1 = disabled)
nmp_tkp_team_attacks 4

// Simply slay players after nmp_tkp_team_attacks team attacks, show TK menu otherwise.
nmp_tkp_slay_on_ta 0

// (Less than 1.0 = disabled)
nmp_tkp_ta_cooldown 25.0

// Amount of killed teammates required to ban/kick.
nmp_tkp_min_kills 3

// Ban time in minutes. (0 = permanent, -1 = kick only)
nmp_tkp_ban_time 30

// Remove TKer data on ban.
nmp_tkp_ban_cleanup 1

// Print notifications.
nmp_tkp_notify 1

// Seconds to react, automatically pick punishment otherwise. (0 = instant)
nmp_tkp_menu_time 15

nmp_tkp_allow_forgive 1
nmp_tkp_allow_slap 1
nmp_tkp_allow_slay 1
nmp_tkp_allow_bury 1
nmp_tkp_allow_infect 1
nmp_tkp_allow_disarm 1
nmp_tkp_allow_revenge 2 
Console commands:
PHP Code:
// Reset all plugin data
sm_tkp_reset

// Reset plugin data for connected clients'
sm_tkp_resetc <targets
Command overrides:
PHP Code:
// Format: <override> <default admin flag>

// Show notifications
tkp_notify 'a'

// Kick immunity
tkp_immunity 'c'

// Ban immunity
tkp_immunity 'd'

// Punishment immunity (will be auto-forgiven)
tkp_autoforgive 'z' 
Changelogs:
Spoiler
Attached Files
File Type: txt nmp_tkp.phrases.txt (5.2 KB, 654 views)
File Type: zip nmp_tkp_110.zip (3.7 KB, 750 views)
File Type: sp Get Plugin or Get Source (nmp_tkp.sp - 1097 views - 34.7 KB)
__________________

Last edited by Leonardo; 10-23-2018 at 08:17.
Leonardo is offline