Jump to content

!punish and !forgive rules for PRoConRulz plugin.


ImportBot

Recommended Posts

Originally Posted by ty_ger07*:

 

These are some rules for creating a !punish/!forgive system for the PRoConRulz plugin. You will need to utilize the PRoConRulz plugin first in order to use these rules.

 

Here is the PRoConRulz plugin:

www.phogue.net/forumvb/showth...-admin-actions*

 

Please refer to that for general support in how to use PRoConRulz. This thread should be reserved for discussing these rules and modifications of these rules.

 

No auto punishing:

 

Code:

# Team Kill Notification Rules
On TeamKill;PlayerSay %p%: watch your fire! #%c%
On TeamKill;Say %v%: !forgive or !punish
# Tracking Notification
On TeamKill;If %server_lastteamkill[%v%]% == %p%;Say %p%: payback team kill against %v%.
On TeamKill;If %server_lastteamkill[%p%]% == %v%;Say %p%: team killed %v% twice in a row.
# Team Kill Tracking Rules
On TeamKill;Set %server_lastteamkill[%p%]% %v%
On TeamKill;Set %server_lastteamkiller[%v%]% %p%
# Automatic Forget
On Kill;Set %server_lastteamkiller[%v%]% 0;Set %server_lastteamkill[%p%]% 0;Set %server_lastteamkiller[%p%]% 0
# Team Kill Punish Rule
On Say;Text !punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to punish.
On Say;Text !punish;If %server_lastteamkiller[%p%]% != 0;TargetPlayer %server_lastteamkiller[%p%]%;Say %server_lastteamkiller[%p%]% killed for team killing.;TargetAction Kill;TargetConfirm;Set %server_lastteamkiller[%p%]% 0
On Say;Text !forgive;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to forgive.
On Say;Text !forgive;If %server_lastteamkiller[%p%]% != 0;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;Say %server_lastteamkiller[%p%]% was forgiven by %p%.;Set %server_lastteamkiller[%p%]% 0
How it works:

 

If someone is team killed, it informs the killer that they should watch their fire. It also informs the victim that they may !forgive or !punish the team kill.

 

If a player team kills someone twice in a row, it reminds the victim that they were team killed by the killer twice in a row.

 

If player A team kills player B and then player B team kills player A, it reminds the victim that player B 'payback' team killed player A.

 

If player A team kills player B, as soon as player B kills any enemy, it forgets that player B was team killed by player A and forgets who player B last team killed. Also, the enemy player B kills will have their last team killer forgotten.

 

If player A team kills player B, and player B types !punish, it kills player A.

 

If player A team kills player B, and player B types !forgive, it forgets that player A team killed player B.

 

With auto punishing:

 

Code:

# Team Kill Notification Rules
On TeamKill;PlayerSay %p%: watch your fire! #%c%
On TeamKill;Say %v%: !forgive or !punish
# Tracking Notification
On TeamKill;If %server_lastteamkill[%v%]% == %p%;Say %p%: killed for payback team kill against %v%.;Kill
On TeamKill;If %server_lastteamkill[%p%]% == %v%;Say %p%: killed for team killed %v% twice in a row.;Kill
# Team Kill Tracking Rules
On TeamKill;Set %server_lastteamkill[%p%]% %v%
On TeamKill;Set %server_lastteamkiller[%v%]% %p%
# Automatic Forget
On Kill;Set %server_lastteamkiller[%v%]% 0;Set %server_lastteamkill[%p%]% 0;Set %server_lastteamkiller[%p%]% 0
# Team Kill Punish Rule
On Say;Text !punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to punish.
On Say;Text !punish;If %server_lastteamkiller[%p%]% != 0;TargetPlayer %server_lastteamkiller[%p%]%;Say %server_lastteamkiller[%p%]% killed for team killing.;TargetAction Kill;TargetConfirm;Set %server_lastteamkiller[%p%]% 0
On Say;Text !forgive;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to forgive.
On Say;Text !forgive;If %server_lastteamkiller[%p%]% != 0;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;Say %server_lastteamkiller[%p%]% was forgiven by %p%.;Set %server_lastteamkiller[%p%]% 0
How it works:

 

If someone is team killed, it informs the killer that they should watch their fire. It also informs the victim that they may !forgive or !punish the team kill.

 

If a player A team kills player B twice in a row, it automatically kills player A.

 

If player A team kills player B and then player B team kills player A, if automatically kills player B for 'payback' team kill agains player A.

 

If player A team kills player B, as soon as player B kills any enemy, it forgets that player B was team killed by player A and forgets who player B last team killed. Also, the enemy player B kills will have their last team killer forgotten.

 

If player A team kills player B, and player B types !punish, it kills player A.

 

If player A team kills player B, and player B types !forgive, it forgets that player A team killed player B.

* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 108
  • Created
  • Last Reply
  • 2 weeks later...

Originally Posted by pr0faker*:

 

For some reason the punish and forgive does not work for me. Does it show a message if it is enabled to use the command? I copied the rules 1 on 1 so there is no mistake in the rules on our side. Am I doing something wrong? Its in Bf3 btw.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

For some reason the punish and forgive does not work for me. Does it show a message if it is enabled to use the command? I copied the rules 1 on 1 so there is no mistake in the rules on our side. Am I doing something wrong? Its in Bf3 btw.

No, with the code above, it doesn't say anything to the player to notify them that they can !punish or !forgive. But, you can make it inform the player using this code which adds 'notifications':

 

Code:

# Team Kill Notification Rules
On TeamKill;PlayerSay %p%: watch your fire! #%c%
On TeamKill;PlayerSay %v%: !forgive or !punish
# Team Kill Tracking Rules
On TeamKill;If %server_lastteamkill[%v%]% == %p%;Say %p%: killed for payback team kill against %v%.;Kill
On TeamKill;If %server_lastteamkill[%p%]% == %v%;Say %p%: killed for team killing %v% twice in a row.;Kill
On TeamKill;Set %server_lastteamkill[%p%]% %v%
# Team Kill Punish Rule
On Kill;Set %server_lastteamkiller[%v%]% 0;Set %server_lastteamkiller[%p%]% 0
On TeamKill;Set %server_lastteamkiller[%v%]% %p%
On Say;Text !punish;If %server_lastteamkiller[%p%]% != 0;TargetPlayer %server_lastteamkiller[%p%]%;Say %server_lastteamkiller[%p%]% killed for team killing.;TargetAction Kill;TargetConfirm
On Say;Text !punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to punish.
On Say;Text !forgive;If %server_lastteamkiller[%p%]% != 0;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;Say %server_lastteamkiller[%p%]% was forgiven by %p%.
On Say;Text !forgive;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to forgive.
* Restored post. It could be that the author is no longer active.
Link to comment
  • 1 month later...

Originally Posted by TRIGGA*:

 

Hi

 

Is there anyway to get a message across the center of the screen to say " Teamkilling will not be tolerated"

 

Ive seen something similar in a recent server.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Hi

 

Is there anyway to get a message across the center of the screen to say " Teamkilling will not be tolerated"

 

Ive seen something similar in a recent server.

With the new patch, it is now supposedly possible to "Yell" messages. I have not tried it yet and don't know how to yell the message to only a specific player.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Bl1ndy*:

 

Hi

 

Is there anyway to get a message across the center of the screen to say " Teamkilling will not be tolerated"

 

Ive seen something similar in a recent server.

This is a default BF3 setting, it will always do that.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ToM666*:

 

Lovely, thanks for this mate.

As the earlier poster mentioned, it would be cool for the server to ban a player if he is punished for team kill repeatedly (6 times etc)

Ideally I would like a temp ban that we can adjust.

 

If you could sort this it would be awespme mate.

 

Thank again

 

ToM

* Restored post. It could be that the author is no longer active.
Link to comment
  • 1 month later...

Originally Posted by Dev1lman*:

 

So what would the code look like if I wanted to autokick someone that uses a weapon more than three times if I have the rule set to suicide them for using the weapon. As of right now it just suicides them.

 

Hope you can give me a little fix like above graph so I can just copy and paste it into my procon. Thanks for your hard work love the plug in bro.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Lovely, thanks for this mate.

As the earlier poster mentioned, it would be cool for the server to ban a player if he is punished for team kill repeatedly (6 times etc)

Ideally I would like a temp ban that we can adjust.

 

If you could sort this it would be awespme mate.

 

Thank again

 

ToM

Why not just set the server to kick a player after 6 kills in the server's startup.txt file?

 

vars.teamKillCountForKick 6

 

I personally think it is a bad idea to ban or temp ban a player for team kills because team kills are rarely on purpose and setting an auto ban or temp ban limit does not take into account whether or not the team kills were accidental.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Why not just set the server to kick a player after 6 kills in the server's startup.txt file?

 

vars.teamKillCountForKick 6

 

I personally think it is a bad idea to ban or temp ban a player for team kills because team kills are rarely on purpose and setting an auto ban or temp ban limit does not take into account whether or not the team kills were accidental.

But since you asked, here you go:

 

# Team Kill Notification Rules

On TeamKill;PlayerSay %p%: watch your fire! #%c%

On TeamKill;PlayerSay %v%: !forgive or !punish

# Team Kill Punishment Number Checking Rule

On Teamkill;If %punishments[%p%]% >= 6;TempBan 60 %punishments[%p%]% team kills - 1 minute temp ban.

# Team Kill Tracking Rules

On TeamKill;If %server_lastteamkill[%v%]% == %p%;Say %p%: killed for payback team kill against %v%.;Kill

On TeamKill;If %server_lastteamkill[%p%]% == %v%;Say %p%: killed for team killing %v% twice in a row.;Kill

On TeamKill;Set %server_lastteamkill[%p%]% %v%

# Team Kill Punish Rule

On Kill;Set %server_lastteamkiller[%v%]% 0;Set %server_lastteamkiller[%p%]% 0

On TeamKill;Set %server_lastteamkiller[%v%]% %p%

On Say;Text !punish;If %server_lastteamkiller[%p%]% != 0;TargetPlayer %server_lastteamkiller[%p%]%;Incr %punishments[%p%]%;Say %server_lastteamkiller[%p%]% killed for team killing.;TargetAction Kill;TargetConfirm

On Say;Text !punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to punish.

On Say;Text !forgive;If %server_lastteamkiller[%p%]% != 0;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;Say %server_lastteamkiller[%p%]% was forgiven by %p%.

On Say;Text !forgive;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to forgive.

 

I haven't tested this code, but it should work.

 

Each time a player is punished, it increases a punishments value for that player. When a player team kills, it checks their punishments value and if their punishments value is greater than or equal to 6, it will temp ban that player for 1 minute.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

So what would the code look like if I wanted to autokick someone that uses a weapon more than three times if I have the rule set to suicide them for using the weapon. As of right now it just suicides them.

 

Hope you can give me a little fix like above graph so I can just copy and paste it into my procon. Thanks for your hard work love the plug in bro.

Your question really has nothing to do with !forgive or !punish for team kills. You should ask in the PRoConRulz thread:

www.phogue.net/forumvb/showth...-admin-actions*

* Restored post. It could be that the author is no longer active.
Link to comment
  • 2 weeks later...

Originally Posted by Athlon*:

 

No, with the code above, it doesn't say anything to the player to notify them that they can !punish or !forgive. But, you can make it inform the player using this code which adds 'notifications':

 

Code:

# Team Kill Notification Rules
On TeamKill;PlayerSay %p%: watch your fire! #%c%
On TeamKill;PlayerSay %v%: !forgive or !punish
# Team Kill Tracking Rules
On TeamKill;If %server_lastteamkill[%v%]% == %p%;Say %p%: killed for payback team kill against %v%.;Kill
On TeamKill;If %server_lastteamkill[%p%]% == %v%;Say %p%: killed for team killing %v% twice in a row.;Kill
On TeamKill;Set %server_lastteamkill[%p%]% %v%
# Team Kill Punish Rule
On Kill;Set %server_lastteamkiller[%v%]% 0;Set %server_lastteamkiller[%p%]% 0
On TeamKill;Set %server_lastteamkiller[%v%]% %p%
On Say;Text !punish;If %server_lastteamkiller[%p%]% != 0;TargetPlayer %server_lastteamkiller[%p%]%;Say %server_lastteamkiller[%p%]% killed for team killing.;TargetAction Kill;TargetConfirm
On Say;Text !punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to punish.
On Say;Text !forgive;If %server_lastteamkiller[%p%]% != 0;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;Say %server_lastteamkiller[%p%]% was forgiven by %p%.
On Say;Text !forgive;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to forgive.
I'm looking for some help, and I'm thinking my answer will be a variation of your code. I've tried to get it to work, but haven't had any success.

 

I've adapted the BFBC2 'Currency' plugin, www.phogue.net/forumvb/showth...2-30-2010)-BC2*, for BF3 and have installed it on our servers. It's working great and has created much fun. (See page in my sig where we keep our stats and keep track of our currency '=WH= Bucks' - I give you credit there :smile: ).

 

One problem with the 'Currency' plugin is what is called 'Mugging'. This is where when you knife someone you take 1/2 of their money.

 

The issue is that it is possible to 'Mug' someone by TK'ing them also. That is too much of a temptation for some, so I would like to do 2 things with Rulz.

 

1) When a player decides to !punish, I need to make 4 or 5 admin chats. This is because 'Currency' allows an admin to manually move money from one player to another. So, instead of killing the offender, I would like to issue a series of admin commands that will take money from the offender and give it back to the victim. 'Rulz' does not have to know how much, by the way, because I have a set amount in mind for all cases of TK Mugging. I have Mugging set to when when a player kills with a knife, melee, defibrillator or a roadkill.

 

2) I would also like to do as in #1, but automatically as well. In other words create some admin chat in addition to whatever happens in #1 to automatically move some money from the offender to the victim. If the victim also chats !punish, then even more money would get moved.

 

The 'Currency' command for reducing someones account is '@removecc playername', and the 'Currency' command for adding to someone's account is '@addcc playername'. These two commands can only be issued by an admin.

 

I'm hoping 'Rulz' can issue commands that 'Currency' will recognize - and I need your help. Please let me know if you are unclear about my question!

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

You can 'Exec' commands to enable or disable other plugins, but I don't think it is possible for ProConRulz to pass a command or variable on to another plugin. I think you would have to modify the currency plugin to do that on its own on a teamkill. You may want to ask BamBam though.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Athlon*:

 

You can 'Exec' commands to enable or disable other plugins, but I don't think it is possible for ProConRulz to pass a command or variable on to another plugin. I think you would have to modify the currency plugin to do that on its own on a teamkill. You may want to ask BamBam though.

So, if something caused Rulz to say @addcurrency in chat, other plugins that recognize that chat would not react to it? I'm not really trying to have Rulz pass a variable to Currency, just issue a chat message Currency will react to.

 

Thanks for your reply, I'm just looking for clarification.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Plugins write to the chat as an admin action and it doesn't appear that other plugins are triggered by admin messages. You can easily test this by typing the message in the ProConRulz chat console and see if the currency plugin responds. I don't think it will respond though.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Sorry to keep bugging you, but I don't see a ProConRulz chat console.

I meant, just type it out and say it via ProCon (in PRoCon chat). ProCon will issue the message as an admin.say command to the game server the same way ProConRulz handles a Say rule command.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Athlon*:

 

I meant, just type it out and say it via ProCon (in PRoCon chat). ProCon will issue the message as an admin.say command to the game server the same way ProConRulz handles a Say rule command.

It doesn't work, just as you said. Oh well, back to the drawing board. :sad:
* Restored post. It could be that the author is no longer active.
Link to comment
  • 1 month later...

Originally Posted by Shakal-hh*:

 

since the last procon update it is buggy for me...

 

you can punish a teamkiller as often you want^^

 

# Team Kill Tracking Rules

On TeamKill;If %server_lastteamkill[%v%]% == %p%;Say %p% killed for payback team kill against %v%.;Kill

On TeamKill;If %server_lastteamkill[%p%]% == %v%;Say %p% killed for team killing %v% twice in a row.;Kill

On TeamKill;Set %server_lastteamkill[%p%]% %v%

# Team Kill Punish Rule

On Kill;Set %server_lastteamkiller[%v%]% 0;Set %server_lastteamkiller[%p%]% 0

On TeamKill;Set %server_lastteamkiller[%v%]% %p%

On Say;Text !punish;If %server_lastteamkiller[%p%]% != 0;TargetPlayer %server_lastteamkiller[%p%]%;Say %server_lastteamkiller[%p%]% killed for team killing.;TargetAction Kill;TargetConfirm

On Say;Text !punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay could not find a recent team kill to punish.

On Say;Text !forgive;If %server_lastteamkiller[%p%]% != 0;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;Say %server_lastteamkiller[%p%]% was forgiven by %p%.

On Say;Text !forgive;If %server_lastteamkiller[%p%]% == 0;PlayerSay could not find a recent team kill to forgive.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Yeah, I never set it up in the first place to directly prevent them from being able to punish the same player more than once. I guess I assumed that people wouldn't use the !punish tool as a nuisance. Since the !punish capability is automatically disabled if either the victim or killer gets another kill, I assumed that players would continue to play the game and punishing more than once wouldn't be a problem.

 

But, to fix it, you simply need to add the command to set the %server_lastteamkiller[%p%]% to 0 as soon as the player issues a !punish command.

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by dyn*:

 

But, to fix it, you simply need to add the command to set the %server_lastteamkiller[%p%]% to 0 as soon as the player issues a !punish command.

This is a rather big hole because we have it set to auto ban after 5 punishes to prevent griefers from continually joining, getting kicked, and killing some more. Additionally, if you were to 'force tk' (stand in front of a jet taking off) you could then be free to punish several times just to grief.

 

Isn't this already set in the example posted above?

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Shakal-hh*:

 

here is a fix:

 

Code:

# Team Kill Tracking Rules
On TeamKill;If %server_lastteamkill[%v%]% == %p%;Say %p% killed for payback team kill against %v%.;Kill
On TeamKill;If %server_lastteamkill[%p%]% == %v%;Say %p% killed for team killing %v% twice in a row.;Kill
On TeamKill;Set %server_lastteamkill[%p%]% %v%
# Team Kill Punish Rule
On Kill;Set %server_lastteamkiller[%v%]% 0;Set %server_lastteamkiller[%p%]% 0
On TeamKill;Set %server_lastteamkiller[%v%]% %p%
On Say;Text !punish;If %server_lastteamkiller[%p%]% != 0;TargetPlayer %server_lastteamkiller[%p%]%;Say %server_lastteamkiller[%p%]% killed for team killing.;Set %server_lastteamkiller[%p%]% 0;TargetAction Kill;
On Say;Text !punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p% - could not find a recent team kill to punish.
On Say;Text !forgive;If %server_lastteamkiller[%p%]% != 0;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;Say %server_lastteamkiller[%p%]% was forgiven by %p%.
On Say;Text !forgive;If %server_lastteamkiller[%p%]% == 0;PlayerSay could not find a recent team kill to forgive.
* Restored post. It could be that the author is no longer active.
Link to comment
  • 2 weeks later...

Originally Posted by Maximiser*:

 

I get the following message when trying to load this rule;

 

[17:52:01 03] ProconRulz: plugin enabled, version 34a.1

[17:52:01 05] ProconRulz: Unrecognised rule On TeamKill;If %server_lastteamkill[%v%]% == %p%;Say %p% killed for payback team kill against %v%.;Kill

[17:52:01 05] ProconRulz: Unrecognised rule On TeamKill;If %server_lastteamkill[%p%]% == %v%;Say %p% killed for team killing %v% twice in a row.;Kill

[17:52:01 05] ProconRulz: Unrecognised rule On TeamKill;Set %server_lastteamkill[%p%]% %v%

[17:52:01 05] ProconRulz: Unrecognised rule On Kill;Set %server_lastteamkiller[%v%]% 0;Set %server_lastteamkiller[%p%]% 0

[17:52:01 06] ProconRulz: Unrecognised rule On TeamKill;Set %server_lastteamkiller[%v%]% %p%

[17:52:01 06] ProconRulz: Unrecognised rule On Say;Text !punish;If %server_lastteamkiller[%p%]% != 0;TargetPlayer %server_lastteamkiller[%p%]%;Say %server_lastteamkiller[%p%]% killed for team killing.;Set %server_lastteamkiller[%p%]% 0;TargetAction Kill;

[17:52:01 06] ProconRulz: Unrecognised rule On Say;Text !punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p% - could not find a recent team kill to punish.

[17:52:01 06] ProconRulz: Unrecognised rule On Say;Text !forgive;If %server_lastteamkiller[%p%]% != 0;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;Say %server_lastteamkiller[%p%]% was forgiven by %p%.

[17:52:01 06] ProconRulz: Unrecognised rule On Say;Text !forgive;If %server_lastteamkiller[%p%]% == 0;PlayerSay could not find a recent team kill to forgive.

[17:52:01 06] ProconRulz: 26 rules loaded

 

Any suggestions?

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

I get the following message when trying to load this rule;

 

[17:52:01 03] ProconRulz: plugin enabled, version 34a.1

[17:52:01 05] ProconRulz: Unrecognised rule On TeamKill;If %server_lastteamkill[%v%]% == %p%;Say %p% killed for payback team kill against %v%.;Kill

[17:52:01 05] ProconRulz: Unrecognised rule On TeamKill;If %server_lastteamkill[%p%]% == %v%;Say %p% killed for team killing %v% twice in a row.;Kill

[17:52:01 05] ProconRulz: Unrecognised rule On TeamKill;Set %server_lastteamkill[%p%]% %v%

[17:52:01 05] ProconRulz: Unrecognised rule On Kill;Set %server_lastteamkiller[%v%]% 0;Set %server_lastteamkiller[%p%]% 0

[17:52:01 06] ProconRulz: Unrecognised rule On TeamKill;Set %server_lastteamkiller[%v%]% %p%

[17:52:01 06] ProconRulz: Unrecognised rule On Say;Text !punish;If %server_lastteamkiller[%p%]% != 0;TargetPlayer %server_lastteamkiller[%p%]%;Say %server_lastteamkiller[%p%]% killed for team killing.;Set %server_lastteamkiller[%p%]% 0;TargetAction Kill;

[17:52:01 06] ProconRulz: Unrecognised rule On Say;Text !punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p% - could not find a recent team kill to punish.

[17:52:01 06] ProconRulz: Unrecognised rule On Say;Text !forgive;If %server_lastteamkiller[%p%]% != 0;Set %server_lastteamkill[%server_lastteamkiller[%p%]%]% 0;Say %server_lastteamkiller[%p%]% was forgiven by %p%.

[17:52:01 06] ProconRulz: Unrecognised rule On Say;Text !forgive;If %server_lastteamkiller[%p%]% == 0;PlayerSay could not find a recent team kill to forgive.

[17:52:01 06] ProconRulz: 26 rules loaded

 

Any suggestions?

Update your version of ProconRulz plugin. You are using version 34a.1. Current version is version 41a.4.
* Restored post. It could be that the author is no longer active.
Link to comment
  • 4 weeks later...

Originally Posted by Sodexxx*:

 

Hello!

 

Can someone please help time!

how do I change this is the automatic teamkill from!

 

that you have to register only! punish?

and is given automatically!

* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Hello!

 

Can someone please help time!

how do I change this is the automatic teamkill from!

 

that you have to register only! punish?

and is given automatically!

# Team Kill Notification Rules

On TeamKill;PlayerSay %p%: watch your fire! #%c%

On TeamKill;PlayerSay %v%: Punish %server_lastteamkill[%p%]%: Type !punish

# Team Kill Tracking Rules

On TeamKill;If %server_lastteamkill[%v%]% == %p%;Say %p%: killed for payback team kill against %v%.;Kill

On TeamKill;If %server_lastteamkill[%p%]% == %v%;Say %p%: killed for team killing %v% twice in a row.;Kill

On TeamKill;Set %server_lastteamkill[%p%]% %v%

# Team Kill Punish Rule

On Kill;Set %server_lastteamkiller[%v%]% 0;Set %server_lastteamkiller[%p%]% 0

On TeamKill;Set %server_lastteamkiller[%v%]% %p%

On Say;Text !punish;If %server_lastteamkiller[%p%]% != 0;TargetPlayer %server_lastteamkiller[%p%]%;Say %server_lastteamkiller[%p%]% killed for team killing.;TargetAction Kill;TargetConfirm;Set %server_lastteamkiller[%p%]% 0

On Say;Text !punish;If %server_lastteamkiller[%p%]% == 0;PlayerSay %p%: could not find a recent team kill to punish.

* Restored post. It could be that the author is no longer active.
Link to comment

Archived

This topic is now archived and is closed to further replies.




  • Our picks

    • Game Server Hosting:

      We're happy to announce that EZRCON will branch out into the game server provider scene. This is a big step for us so please having patience if something doesn't go right in this area. Now, what makes us different compared to other providers? Well, we're going with the idea of having a scaleable server hosting and providing more control in how you set up your server. For example, in Minecraft, you have the ability to control how many CPU cores you wish your server to have access to, how much RAM you want to use, how much disk space you want to use. This type of control can't be offered in a single service package so you're able to configure a custom package the way you want it.

      You can see all the available games here. Currently, we have the following games available.

      Valheim (From $1.50 USD)


      Rust (From $3.20 USD)


      Minecraft (Basic) (From $4.00 USD)


      Call of Duty 4X (From $7.00 USD)


      OpenTTD (From $4.00 USD)


      Squad (From $9.00 USD)


      Insurgency: Sandstorm (From $6.40 USD)


      Changes to US-East:

      Starting in January 2022, we will be moving to a different provider that has better support, better infrastructure, and better connectivity. We've noticed that the connection/routes to this location are not ideal and it's been hard getting support to correct this. Our contract for our two servers ends in March/April respectively. If you currently have servers in this location you will be migrated over to the new provider. We'll have more details when the time comes closer to January. The new location for this change will be based out of Atlanta, GA. If you have any questions/concerns please open a ticket and we'll do our best to answer them.
      • 5 replies
    • Hello All,

      I wanted to give an update to how EZRCON is doing. As of today we have 56 active customers using the services offered. I'm glad its doing so well and it hasn't been 1 year yet. To those that have services with EZRCON, I hope the service is doing well and if not please let us know so that we can improve it where possible. We've done quite a few changes behind the scenes to improve the performance hopefully. 

      We'll be launching a new location for hosting procon layers in either Los Angeles, USA or Chicago, IL. Still being decided on where the placement should be but these two locations are not set in stone yet. We would like to get feedback on where we should have a new location for hosting the Procon Layers, which you can do by replying to this topic. A poll will be created where people can vote on which location they would like to see.

      We're also looking for some suggestions on what else you would like to see for hosting provider options. So please let us know your thoughts on this matter.
      • 4 replies
    • Added ability to disable the new API check for player country info


      Updated GeoIP database file


      Removed usage sending stats


      Added EZRCON ad banner



      If you are upgrading then you may need to add these two lines to your existing installation in the file procon.cfg. To enable these options just change False to True.

      procon.private.options.UseGeoIpFileOnly False
      procon.private.options.BlockRssFeedNews False



       
      • 2 replies
    • I wanted I let you know that I am starting to build out the foundation for the hosting services that I talked about here. The pricing model I was originally going for wasn't going to be suitable for how I want to build it. So instead I decided to offer each service as it's own product instead of a package deal. In the future, hopefully, I will be able to do this and offer discounts to those that choose it.

      Here is how the pricing is laid out for each service as well as information about each. This is as of 7/12/2020.

      Single MySQL database (up to 30 GB) is $10 USD per month.



      If you go over the 30 GB usage for the database then each additional gigabyte is charged at $0.10 USD each billing cycle. If you're under 30GB you don't need to worry about this.


      Databases are replicated across 3 zones (regions) for redundancy. One (1) on the east coast of the USA, One (1) in Frankfurt, and One (1) in Singapore. Depending on the demand, this would grow to more regions.


      Databases will also be backed up daily and retained for 7 days.




      Procon Layer will be $2 USD per month.


      Each layer will only allow one (1) game server connection. The reason behind this is for performance.


      Each layer will also come with all available plugins installed by default. This is to help facilitate faster deployments and get you up and running quickly.


      Each layer will automatically restart if Procon crashes. 


      Each layer will also automatically restart daily at midnight to make sure it stays in tip-top shape.


      Custom plugins can be installed by submitting a support ticket.




      Battlefield Admin Control Panel (BFACP) will be $5 USD per month


      As I am still working on building version 3 of the software, I will be installing the last version I did. Once I complete version 3 it will automatically be upgraded for you.





      All these services will be managed by me so you don't have to worry about the technical side of things to get up and going.

      If you would like to see how much it would cost for the services, I made a calculator that you can use. It can be found here https://ezrcon.com/calculator.html

       
      • 11 replies
    • I have pushed out a new minor release which updates the geodata pull (flags in the playerlisting). This should be way more accurate now. As always, please let me know if any problems show up.

       
      • 9 replies
×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.