public
Description: Big Brother Bot B3 is a complete and total server administration package for online games. B3 is designed primarily to keep your server free from the derelicts of online gaming, but offers more, much more.
Home | Edit | New

Plugin - TeamDamage

Whenever a user kills/bleeds a teammate they will be issued TK points. At a certain number a reprimand will automatically be issued. Should the team damage be an accident, the user that was offended can !forgive the offending user, thus clearing him of TK points. Should the team damage be intentional, a simple !grudge command will stop the offending user from being forgiven in future, thus speeding up the reprimand process.

For a complete description of commands see the Commands .

Configuration

Config location: b3/conf/plugin_tk.xml

settings

#!xml


400

0,1,2,20,40

7

sfire

messages

#!xml
<settings name="messages">
	<!--
	ban: Reason used for ban
	-->
	<set name="ban">^7team damage over limit</set>
	<!--
	forgive: Message used when a player !forgives another
	* $vname Victim's name
	* $aname Attacker's name
	* $point forgiven
	-->
	<set name="forgive">^7$vname^7 has forgiven $aname (^3$points^7)</set>
	<!--
	grudged: Message used when a player !grudges another, same parameters as forgive setting
	-->
	<set name="grudged">^7$vname^7 has a ^1grudge ^7against $aname (^3$points^7)</set>
	<!--
	forgive_many: Message used when a player !forgives many players
	* $attackers List of attacker names
	-->
	<set name="forgive_many">^7$vname^7 has forgiven $attackers</set>
	<!--
	forgive_warning: Warning displays when a user is about to be kicked for reaching the max_points
	-->
	<set name="forgive_warning">^1ALERT^7: $name^7 auto-kick if not forgiven. Type ^3!forgive $cid ^7to forgive. (^3damage: $points^7)</set>
	<!--
	no_forgive: Message displayed when there is no one to forgive
	-->
	<set name="no_forgive">^7no one to forgive</set>
	<!--
	players: Message displayed for !forgivelist
	* %s List of players
	-->
	<set name="players">^7Forgive who? %s</set>
	<!--
	forgive_info: Message displayed for !forgiveinfo
	-->
	<set name="forgive_info">^7$name^7 has ^3$points^7 TK points</set>
	<!--
	grudge_info: Message displayed for !forgiveinfo
	-->
	<set name="grudge_info">^7$name^7 is ^1grudged ^3$points^7 TK points</set>
	<!--
	forgive_clear: Message displayed for !forgiveclear
	-->
	<set name="forgive_clear">^7$name^7 cleared of ^3$points^7 TK points</set>
</settings>

level_#

TK level blocks define how TK points are acquired. A level_# block must be defined for each level defined by levels in [ settings ]. You do not have to make a level block for every level. You only have to define them for the levels in which the previous values change.

#!xml
<settings name="level_0">
	<!--
	kill_multiplier: How many points times the damage dealt for kills
	damage_multiplier: How many points times the damage dealt for damage
	ban_length: How long bans last for players who reach max_points
	-->
	<set name="kill_multiplier">2</set>
	<set name="damage_multiplier">1</set>
	<set name="ban_length">2</set>
</settings>
<settings name="level_1">
	<set name="kill_multiplier">2</set>
	<set name="damage_multiplier">1</set>
	<set name="ban_length">2</set>
</settings>
<settings name="level_2">
	<set name="kill_multiplier">1</set>
	<set name="damage_multiplier">0.5</set>
	<set name="ban_length">1</set>
</settings>
<settings name="level_20">
	<set name="kill_multiplier">1</set>
	<set name="damage_multiplier">0.5</set>
	<set name="ban_length">0</set>
</settings>
<settings name="level_40">
	<set name="kill_multiplier">0.75</set>
	<set name="damage_multiplier">0.5</set>
	<set name="ban_length">0</set>
</settings>
Last edited by xlr8or, Fri Apr 03 11:45:29 -0700 2009
Home | Edit | New
Versions: