Since I couldn't find one already on here I decided to make my own. It doesn't per say prevent raging but it should help reduce the amount of people raging.
Its pretty simple. When a human is killed it records when that client was killed. If that client disconnects it records that time as well. It will check the difference in seconds if its within the threshold of being considered as raging then take action on them.
With the new version, it can check kills as well. When a human is killed, it records the amount of kills they had at that time, when they disconnect it records their total kills. It will then check the difference from kills as a human from their total kills, if it doesn't meet the required amount action is taken upon them.
Instructions
Place the antirage.dll into \plugins folder
Add to your sv_config.ini
Command, can be any of the four mentioned above. This action is taken on them if they're within the threshold. If set to dropclient, nothings done to the client as they have left and therefore you cannot drop a client thats gone. However good if used for a dummy warning and show message is enabled. This way other players will think they were kicked for raging.
Threshold, in seconds. Must be greater than 2 seconds.
Show, can be true or false. If true it will show the following message to all players in the server:
[ANTIRAGE] Action was taken on player <Name> for raging.
Required Kills, range > 0. If a player does not meet the required kills as a zombie then action is taken on them. Only works if condition is set to 2,3, or 4.
Conditions:
1 = Check by time only
2 = Check by kills only
3 = Check either time or kills, if they don't meet one of those then action is taken on them
(Example: Time = 30 seconds and kills = 1, if they leave after 60 seconds but never got a kill, then action is taken on them)
4 = Check both time and kills, if they don't meet both of those then action is taken on them
(Example: Time = 30 seconds and kills = 1, if they leave after 60 seconds but never got a kill, then nothing is done to them. If they leave after 20 seconds and never got a kill, then action is taken on them. )
Ignore XUIDs:
Listed XUIDs will be ignored if they rage.
Use the following format: XUID,XUID,XUID
Custom Messages:
Instead of a default message which has been removed, server owners can set their own message or messages to be displayed when actions is taken upon a player.
There can be multiple messages which the plugin will randomly use.
Each message needs at least @Name for the player name. @Action will display the action taken upon the player, but it is not required.
Examples of Messages:
^1@Name ^7made the mistake of raging, they've now been ^1@Action
Next time ^1@Name ^7should not get so angry and leave too quickly
Multiple Messages which are split by /:
^1@Name ^7made the mistake of raging, they've now been ^1@Action^7/Next time ^1@Name ^7should not get so angry and leave too quickly/^1[ANTIRAGE]^7 Player ^1@Name ^7 was ^1@Action ^7 for raging!
Upon server load, the plugin will print to the server console, if successful, the following:
Versions:
[0.4]
Additions:
Custom message has been added
antiRage0-4.zip (Size: 3.89 KB / Downloads: 223)
[0.3]
Additions:
You can now add XUIDs to be ignored
antiRage0-3.rar (Size: 3.51 KB / Downloads: 119)
[0.2] - No longer supported
Additions:
* Check if zombies have enough kills
* Set conditions (read above for further info)
antiRage0-2.rar (Size: 3.22 KB / Downloads: 53)
[0.1] - No longer supported
Initial Release
antiRage.rar (Size: 2.8 KB / Downloads: 50)
Notes:
Any problems post them here...
If you post useless posts such as "Doesn't work" then I will ignore it
Its pretty simple. When a human is killed it records when that client was killed. If that client disconnects it records that time as well. It will check the difference in seconds if its within the threshold of being considered as raging then take action on them.
With the new version, it can check kills as well. When a human is killed, it records the amount of kills they had at that time, when they disconnect it records their total kills. It will then check the difference from kills as a human from their total kills, if it doesn't meet the required amount action is taken upon them.
Instructions
Place the antirage.dll into \plugins folder
Add to your sv_config.ini
Code:
[ANTIRAGE]
// Command if client rages when in the threshold
// Following commands are valid: dropclient, kickclient, tempbanclient, banclient
command=kickclient
// Threshold in seconds. If a player is killed by a zombie then disconnects
// Within this threshold the above action will be taken on them. Must be > 2 seconds
threshold=60
// Show messages in server to other players
// Good if you want other players to see what happens if they rage
show=true
// Minimum kills if condition is set to 2, 3, or 4
// Version 0.2 and Later
requiredkills=1
// Valid values: 1, 2, 3, 4 (1 = Time)(2 = Kills)(3=Both Time and Kills)(4 = Either time or kills)
// Version 0.2 and Later
conditions=1
// Ignore these XUIDs. Plugin will never take action on them.
// Use the format XUID,XUID,XUID
// Version 0.3 and Later
ignorexuids=myXUID
//Custom Message // Version 0.4 And Later
// Must contain @Name for client names to be inputed there
// Can contain @Action if you want it to say kicked or temporarily banned
// depending on the command you have used.
//====================================================================
// EX: ^1@Name ^7made the mistake of raging, they've now been ^1@Action
// EX: Next time ^1@Name ^7should not get so angry and leave too quickly
// *** CHANGE THIS FROM THE DEFAULT MESSAGE ***
customMessage=myMessage
// For multiple messages use the following example
// Messages are split by /
// customMessage=^1@Name ^7made the mistake of raging, they've now been ^1@Action^7/Next time ^1@Name ^7should not get so angry and leave too quickly/^1[ANTIRAGE]^7 Player ^1@Name ^7 was ^1@Action ^7 for raging!
Command, can be any of the four mentioned above. This action is taken on them if they're within the threshold. If set to dropclient, nothings done to the client as they have left and therefore you cannot drop a client thats gone. However good if used for a dummy warning and show message is enabled. This way other players will think they were kicked for raging.
Threshold, in seconds. Must be greater than 2 seconds.
Show, can be true or false. If true it will show the following message to all players in the server:
[ANTIRAGE] Action was taken on player <Name> for raging.
Required Kills, range > 0. If a player does not meet the required kills as a zombie then action is taken on them. Only works if condition is set to 2,3, or 4.
Conditions:
1 = Check by time only
2 = Check by kills only
3 = Check either time or kills, if they don't meet one of those then action is taken on them
(Example: Time = 30 seconds and kills = 1, if they leave after 60 seconds but never got a kill, then action is taken on them)
4 = Check both time and kills, if they don't meet both of those then action is taken on them
(Example: Time = 30 seconds and kills = 1, if they leave after 60 seconds but never got a kill, then nothing is done to them. If they leave after 20 seconds and never got a kill, then action is taken on them. )
Ignore XUIDs:
Listed XUIDs will be ignored if they rage.
Use the following format: XUID,XUID,XUID
Custom Messages:
Instead of a default message which has been removed, server owners can set their own message or messages to be displayed when actions is taken upon a player.
There can be multiple messages which the plugin will randomly use.
Each message needs at least @Name for the player name. @Action will display the action taken upon the player, but it is not required.
Examples of Messages:
^1@Name ^7made the mistake of raging, they've now been ^1@Action
Next time ^1@Name ^7should not get so angry and leave too quickly
Multiple Messages which are split by /:
^1@Name ^7made the mistake of raging, they've now been ^1@Action^7/Next time ^1@Name ^7should not get so angry and leave too quickly/^1[ANTIRAGE]^7 Player ^1@Name ^7 was ^1@Action ^7 for raging!
Upon server load, the plugin will print to the server console, if successful, the following:
Code:
[ANTIRAGE] Command set to: <command> | Show Message set to <boolean>
[ANTIRAGE] Required kills set to: <Required Kills>
[ANTIRAGE] Threshold set to: <seconds> seconds | Conditions set to: <conditions>
[ANTIRAGE] Successfully added <#> XUIDs.
[ANTIRAGE] Custom Message(s) have been added!
Versions:
[0.4]
Additions:
Custom message has been added
antiRage0-4.zip (Size: 3.89 KB / Downloads: 223)
[0.3]
Additions:
You can now add XUIDs to be ignored
antiRage0-3.rar (Size: 3.51 KB / Downloads: 119)
[0.2] - No longer supported
Additions:
* Check if zombies have enough kills
* Set conditions (read above for further info)
antiRage0-2.rar (Size: 3.22 KB / Downloads: 53)
[0.1] - No longer supported
Initial Release
antiRage.rar (Size: 2.8 KB / Downloads: 50)
Notes:
Any problems post them here...
If you post useless posts such as "Doesn't work" then I will ignore it