Jump to content

ProconRulz V44j1 - weapon limits and other event-triggered admin actions


ColColonCleaner

Recommended Posts

Originally Posted by C-4-N*:

 

big +1 tarreltje :

Same advice about txt files.

not bad idea for section rules , personaly i like all rules in one section ^^

the best interest with section is : change a rule without reload others , "serverfirst,on init..." etc

 

Anyone knows if it's possible to use something like this? The document is very old and doesn't have all the info.

 

On Kill;If %wk% contains U_Grenade_RGO,U_M34,V40,M320_LVG,M320_HE,U_M67;Log %p% used explosives

I think you C4N :tongue:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by C-4-N*:

 

Hello guys,

 

I search a Code for a NO EXPLOSIV Server for BF4!

Can anybody help me? ;(

to forbid all explosives here an basic exemple, careful with it , because on triple kill player will be direct ban :smile:

 

On Kill;Damage ProjectileExplosive,Explosive;playercount 2;ban

On Kill;Damage ProjectileExplosive,Explosive;playercount 1;kick

On Kill;Damage ProjectileExplosive,Explosive;kill 100

 

read manual to understand how plugin work and how get rules like you need

http://www.forsterlewis.com/proconrulz.pdf

 

i m currently writting some exemple of rules for bf4.... in progress

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

Originally Posted by C-4-N*:

 

Say what_:huh:

i think he need "on kill;Protected"

 

You have in proconrulz below "EA rules of conduct ...." Protect this player from kill or kick.... you can chose admin an reserved slots

 

if you only want to skip them from somes rules and not all

 

you can use this to understand test

 

on kill;playeronce

admin;say %p% is Admin

Protected;say %p% is VIP player

not protected;say %p% is global player

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

Originally Posted by HeadShotPRO*:

 

hi, how do i implement 2 rules, i used to use the weapon limiter but procon layer wont show the plugin so gonna try proconrulez, all i want is 1 - 1 sniper rifle per squad, 2 - if any one else picks up a sniper rifle and kill with it they die with message only 1 sniper rifle per squad, ive looked through the posts but its all way over me head and so dam confusing

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

Originally Posted by C-4-N*:

 

?

 

I m writting complete/amovible code for "non explosives" for community

 

as i said before , it s better to count a triggered rule as number of kills

 

my ask ....

If there is triple kill with one grenade , is the line bellow will raise %vars_%p%%to 3 ?

 

on kill;damage Explosive

set %vars_%p%% %vars_%p%% + 1

 

i m asking cause i can't test with an "on say;text !test" ^^

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

Originally Posted by hauser1*:

 

Hi

 

Im a bit noob in this plugin and im sure im i read all 100 topic ill find what im looking for i hope that someone could help me out :ohmy:

 

im looking for remove shotguns on my server - 1 kill with shoutgun should kill the guy and yell a text no use of shotgun 2nd time the person should be kicked can someone help me?

 

i found this but i dont know how to change it

 

On Kill;Weapon Siaga20k;PlayerCount 5;Log %p% banned for Saiga;Ban %p% Saiga shotgun use

On Kill;Weapon Siaga20k;PlayerCount 3;Log %p% kicked for Saiga;Kick %p% Saiga shotgun use

On Kill;Weapon Siaga20k;PlayerSay %p% no Saiga shotgun;Kill 100

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

Originally Posted by C-4-N*:

 

Hi

 

Im a bit noob in this plugin and im sure im i read all 100 topic ill find what im looking for i hope that someone could help me out :ohmy:

 

im looking for remove shotguns on my server - 1 kill with shoutgun should kill the guy and yell a text no use of shotgun 2nd time the person should be kicked can someone help me?

 

i found this but i dont know how to change it

 

On Kill;Weapon Siaga20k;PlayerCount 5;Log %p% banned for Saiga;Ban %p% Saiga shotgun use

On Kill;Weapon Siaga20k;PlayerCount 3;Log %p% kicked for Saiga;Kick %p% Saiga shotgun use

On Kill;Weapon Siaga20k;PlayerSay %p% no Saiga shotgun;Kill 100

On Kill;Damage shotgun;PlayerCount 5;Say %p% banned for Shotgun;Ban %p% shotgun use

On Kill;Damage shotgun;PlayerCount 3;Say %p% kicked for Shotgun;Kick %p% shotgun use

On Kill;Damage shotgun;Say %p% no shotgun allowed;Kill 100

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

Originally Posted by hauser1*:

 

Thanks for a quick reply

 

I would like the person who uses the shotgun is killed when the person kills another person.

 

Can it be made so there stands a yell to the person that can not be used shotgun on the server?

 

1 kill with a shotgun = admin kill

2 kill with shotgun = admin kick - kicked from server

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

Originally Posted by hauser1*:

 

This one is not working whats wrong :smile: 1 kill = admin kill 2 kill = kicked from server

 

# shotgun Rule

On Kill;Weapon USAS-12;PlayerCount 1;Say %p% was killed for too many USAS-12 kills.;Kick

On Kill;Weapon USAS-12;PlayerCount 1;Kick %p% warning! 1 USAS-12 kills per round. #%c%

On Kill;Weapon Siaga20k;PlayerCount 1;Say %p% was killed for too many Siaga20k kills.;Kick

On Kill;Weapon Siaga20k;PlayerCount 1;Kick %p% warning! 1 Siaga20k kills per round. #%c%

On Kill;Weapon 870MCS;PlayerCount 1;Say %p% was killed for too many 870MCS kills.;Kick

On Kill;Weapon 870MCS;PlayerCount 1;Kick %p% warning! 1 870MCS kills per round. #%c%

On Kill;Weapon C4;PlayerCount 1;Say %p% was killed for too many C4 kills.;Kick

On Kill;Weapon C4;PlayerCount 1;Kick %p% warning! 1 C4 kills per round. #%c%

On Kill;Weapon Jackhammer;PlayerCount 1;Say %p% was killed for too many Jackhammer kills.;Kick

On Kill;Weapon Jackhammer;PlayerCount 1;Kick %p% warning! 1 Jackhammer kills per round. #%c%

On Kill;Weapon M1014;PlayerCount 1;Say %p% was killed for too many M1014 kills.;Kick

On Kill;Weapon M1014;PlayerCount 1;Kick %p% warning! 1 M1014 kills per round. #%c%

On Kill;Weapon SPAS-12;PlayerCount 1;Say %p% was killed for too many SPAS-12 kills.;Kick

On Kill;Weapon SPAS-12;PlayerCount 1;Kick %p% warning! 1 SPAS-12 kills per round. #%c%

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

Originally Posted by bambam*:

 

?

 

I m writting complete/amovible code for "non explosives" for community

 

as i said before , it s better to count a triggered rule as number of kills

 

my ask ....

If there is triple kill with one grenade , is the line bellow will raise %vars_%p%%to 3 ?

 

on kill;damage Explosive

set %vars_%p%% %vars_%p%% + 1

 

i m asking cause i can't test with an "on say;text !test" ^^

Yes - the BF4 server sends a 'Kill' event for EVERY kill caused by any weapon, so if I throw a nade and it kills barney, fred and pebbles, the server will send 3 events for the single nade:

 

[14:22:33] bambam killed barney with U_V40

[14:22:33] bambam killed fred with U_V40

[14:22:33] bambam killed pebbles with U_V40

 

The clue is in the timestamps... all three events are very close in time so you can assume that was a single nade.

 

ProconRulz can easily limit the events to a SINGLE kill for a nade even if there are multi kills by using a 'Not Rate' condition:

 

On Kill;Damage Explosive;Not Rate 2 5;Say EXPLOSIVE KILL BY %p%

 

ALL three kill events succeed for the "On Kill;Damage Explosive", but only the FIRST of those three nade kills will succeed the "Not Rate 2 5" condition (rule has NOT been triggered by the same player 2 times in 5 seconds). When the SECOND kill event arrives from the BF4 server a moment later, that IS 2 kills per 5 seconds so the "Not Rate 2 5" fails. And the same for the third kill. So the rule only fires ONCE for multi-kills.

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

Originally Posted by hauser1*:

 

This one is not working whats wrong :smile: 1 kill = admin kill 2 kill = kicked from server

 

# shotgun Rule

On Kill;Weapon USAS-12;PlayerCount 1;Say %p% was killed for too many USAS-12 kills.;Kick

On Kill;Weapon USAS-12;PlayerCount 1;Kick %p% warning! 1 USAS-12 kills per round. #%c%

On Kill;Weapon Siaga20k;PlayerCount 1;Say %p% was killed for too many Siaga20k kills.;Kick

On Kill;Weapon Siaga20k;PlayerCount 1;Kick %p% warning! 1 Siaga20k kills per round. #%c%

On Kill;Weapon 870MCS;PlayerCount 1;Say %p% was killed for too many 870MCS kills.;Kick

On Kill;Weapon 870MCS;PlayerCount 1;Kick %p% warning! 1 870MCS kills per round. #%c%

On Kill;Weapon C4;PlayerCount 1;Say %p% was killed for too many C4 kills.;Kick

On Kill;Weapon C4;PlayerCount 1;Kick %p% warning! 1 C4 kills per round. #%c%

On Kill;Weapon Jackhammer;PlayerCount 1;Say %p% was killed for too many Jackhammer kills.;Kick

On Kill;Weapon Jackhammer;PlayerCount 1;Kick %p% warning! 1 Jackhammer kills per round. #%c%

On Kill;Weapon M1014;PlayerCount 1;Say %p% was killed for too many M1014 kills.;Kick

On Kill;Weapon M1014;PlayerCount 1;Kick %p% warning! 1 M1014 kills per round. #%c%

On Kill;Weapon SPAS-12;PlayerCount 1;Say %p% was killed for too many SPAS-12 kills.;Kick

On Kill;Weapon SPAS-12;PlayerCount 1;Kick %p% warning! 1 SPAS-12 kills per round. #%c%

It shows was killed for too many SPAS-12 kills but nothing happens?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by hauser1*:

 

It shows was killed for too many SPAS-12 kills but nothing happens?

Will this work?

 

 

On Kill;Weapon Siaga20k;PlayerCount 2;Log %p% banned for Saiga;Ban %p% Saiga shotgun use

On Kill;Weapon Siaga20k;PlayerCount 1;Log %p% kicked for Saiga;Kick %p% Saiga shotgun use

On Kill;Weapon Siaga20k;PlayerSay %p% no Saiga shotgun;Kill 100

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

Originally Posted by bambam*:

 

Will this work?

 

 

On Kill;Weapon Siaga20k;PlayerCount 2;Log %p% banned for Saiga;Ban %p% Saiga shotgun use

On Kill;Weapon Siaga20k;PlayerCount 1;Log %p% kicked for Saiga;Kick %p% Saiga shotgun use

On Kill;Weapon Siaga20k;PlayerSay %p% no Saiga shotgun;Kill 100

hauser it all looks fine.

 

"Damage Shotgun" is better than "Weapon Siaga20k" if you want to ban ALL the shotguns, but "Weapon Siaga20k" should work for kills with only that weapon.

 

The probable reason your test did not 'admin kill' the player that used the shotgun is that:

(a) you have the normal ProconRulz plugin setting "Protect these players from Kicks and Kills: Admins"

and

(B) the player you tested with is listed as an 'Admin' in your PROCON settings (i.e. they can use Procon to kick players).

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

Originally Posted by Hutchew*:

 

hi, how do i implement 2 rules, i used to use the weapon limiter but procon layer wont show the plugin so gonna try proconrulez, all i want is 1 - 1 sniper rifle per squad, 2 - if any one else picks up a sniper rifle and kill with it they die with message only 1 sniper rifle per squad, ive looked through the posts but its all way over me head and so dam confusing

What you are asking for is really too complicated, and will result in players being pissed off all the time, IMHO.

 

But, there are 2 different rulz you may be interested in, either the ...*, or the ...*.

 

Hutchew

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

Originally Posted by MarcoV1980*:

 

What you are asking for is really too complicated, and will result in players being pissed off all the time, IMHO.

 

But, there are 2 different rulz you may be interested in, either the ...*, or the ...*.

 

Hutchew

I don't think that's possible. AFAIK Dice doesn't send the Kit back to procon.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HappyGotLucky*:

 

Are Underslung weapons still reported as the primary weapon on BF4? Or if I'm checking to ensure no explosives are being used, is it still going to bypass like before?

 

Also, with the below example, will that pick up frag rounds?

On Kill;Damage ProjectileExplosive,Explosive;playercount 2;ban

On Kill;Damage ProjectileExplosive,Explosive;playercount 1;kick

On Kill;Damage ProjectileExplosive,Explosive;kill 100

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

Originally Posted by C-4-N*:

 

Yes - the BF4 server sends a 'Kill' event for EVERY kill caused by any weapon, so if I throw a nade and it kills barney, fred and pebbles, the server will send 3 events for the single nade:

 

[14:22:33] bambam killed barney with U_V40

[14:22:33] bambam killed fred with U_V40

[14:22:33] bambam killed pebbles with U_V40

 

The clue is in the timestamps... all three events are very close in time so you can assume that was a single nade.

 

ProconRulz can easily limit the events to a SINGLE kill for a nade even if there are multi kills by using a 'Not Rate' condition:

 

On Kill;Damage Explosive;Not Rate 2 5;Say EXPLOSIVE KILL BY %p%

 

ALL three kill events succeed for the "On Kill;Damage Explosive", but only the FIRST of those three nade kills will succeed the "Not Rate 2 5" condition (rule has NOT been triggered by the same player 2 times in 5 seconds). When the SECOND kill event arrives from the BF4 server a moment later, that IS 2 kills per 5 seconds so the "Not Rate 2 5" fails. And the same for the third kill. So the rule only fires ONCE for multi-kills.

here 's a party of code to give you an exemple,

hope the code sound good , i try made it easy to change.

i had hope condition with "if" don't raise %vars% more than 1 on each line, i mean on multi kill

 

### limits ###

on spawn;serverfirst

set %ini_limit_ban% 9

set %ini_limit_tempban% 7

set %ini_limit_kick% 5

set %ini_limit_kill% 3

set %ini_limit_warn% 1

 

# C4 #

On kill;if %wk% contains U_C4

#ban

if %ini_c4_%p%% >= %ini_limit_ban%;Say :::::::::: [%p%] Ban for C4 using !;Ban %p% for C4 (Auto BAN);set %ini_c4_%p%% 0

#tempban

if %ini_c4_%p%% >= %ini_limit_tempban%;if %ini_c4_%p%%

#kick

if %ini_c4_%p%% >= %ini_limit_kick%;if %ini_c4_%p%%

#kill

if %ini_c4_%p%% >= %ini_limit_kill%;if %ini_c4_%p%%

#warn

if %ini_c4_%p%%

 

So if i understand , i will better to use

 

On kill;if %wk% contains U_C4;not rate 2 4

if %ini_.............

 

but each line will be apply no matter number of kills ?

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

Originally Posted by C-4-N*:

 

Will this work?

 

 

On Kill;Weapon Siaga20k;PlayerCount 2;Log %p% banned for Saiga;Ban %p% Saiga shotgun use

On Kill;Weapon Siaga20k;PlayerCount 1;Log %p% kicked for Saiga;Kick %p% Saiga shotgun use

On Kill;Weapon Siaga20k;PlayerSay %p% no Saiga shotgun;Kill 100

on BF3 only

 

if you want code an forbid all shotgun for bf4 use that for

1 kill = kill

2 kills = kick

 

On Kill;Damage shotgun;PlayerCount 1;Say %p% kicked for Shotgun;Kick %p% shotgun use

On Kill;Damage shotgun;Say %p% no shotgun allowed;Kill 100

 

@HeadShotPRO

if you don't have proconrulz on plugin list , watch that 1st

you have to go to tab "parent control layer" to see plugin proconrulz on procon host.

i m not the best one to help with sniper limit in squads.

 

Every thing is confuse before learn to use ^^

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

Originally Posted by HeadShotPRO*:

 

hi, complicated in what way, weaponlimiter allows such rules but layer wont show it for some reason, people being pissed off, no, worked before when i was running a server and procon layer, rules were implemented in similar way to proconrulez

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

Originally Posted by leyeti*:

 

Team, I struggling with this

##### FIRSTBLOOD #####

On Kill;ServerFirst;Say %pt% %p% has FIRST BLOOD by killing %v% with %w%

 

As I get this on the screen : global.conquest.cn has first blood by killing Evanok with U_GalilACE23

 

About Global.conquest.cn, its in the fr.loc file, which is located in localization folder of the Procon. I manage it.

About hte name of the weapon, I don't know whzt to do :huh:

 

Thanks for help

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

Originally Posted by Hutchew*:

 

hi, complicated in what way, weaponlimiter allows such rules but layer wont show it for some reason, people being pissed off, no, worked before when i was running a server and procon layer, rules were implemented in similar way to proconrulez

Pretty sure weaponlimiter was a pre-BF3/4 plugin, so before my time. Nowadays, we can't tell what a players "kit" is when they spawn, just when they kill with it, and even that is a little vague at times (RE: Death).

 

Do as you wish, I'm just saying that if you try to set your server up with only one recon per squad, it will be very complicated, and your players will be confused all the time as to what they can and/or cannot kill the other players with. If it was easy, it would have already been done.

 

Hutchew

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

Originally Posted by hauser1*:

 

on BF3 only

 

if you want code an forbid all shotgun for bf4 use that for

1 kill = kill

2 kills = kick

 

On Kill;Damage shotgun;PlayerCount 1;Say %p% kicked for Shotgun;Kick %p% shotgun use

On Kill;Damage shotgun;Say %p% no shotgun allowed;Kill 100

 

@HeadShotPRO

if you don't have proconrulz on plugin list , watch that 1st

you have to go to tab "parent control layer" to see plugin proconrulz on procon host.

i m not the best one to help with sniper limit in squads.

 

Every thing is confuse before learn to use ^^

Thanks for your replay.

 

Its for BF3 can it be made so it says - PlayerSay %p% no Saiga shotgun;Kill 100 and - kicked for Saiga;Kick %p% Saiga shotgun use?

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

Originally Posted by hauser1*:

 

hauser it all looks fine.

 

"Damage Shotgun" is better than "Weapon Siaga20k" if you want to ban ALL the shotguns, but "Weapon Siaga20k" should work for kills with only that weapon.

 

The probable reason your test did not 'admin kill' the player that used the shotgun is that:

(a) you have the normal ProconRulz plugin setting "Protect these players from Kicks and Kills: Admins"

and

(B) the player you tested with is listed as an 'Admin' in your PROCON settings (i.e. they can use Procon to kick players).

Thanks great support it works now :biggrin:

 

What about C4 will this work?

 

On Kill;Weapon/Gadgets/C4/C4;PlayerCount 2;Log %p% banned for C4;Ban %p% C4 Kabooom use

On Kill;Weapon/Gadgets/C4/C4;PlayerCount 1;Log %p% kicked for C4;Kick %p% C4 Kabooom use

On Kill;Weapon/Gadgets/C4/C4;PlayerSay %p% no C4;Kill 100

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

Originally Posted by bambam*:

 

Thanks great support it works now :biggrin:

 

What about C4 will this work?

 

On Kill;Weapon/Gadgets/C4/C4;PlayerCount 2;Log %p% banned for C4;Ban %p% C4 Kabooom use

On Kill;Weapon/Gadgets/C4/C4;PlayerCount 1;Log %p% kicked for C4;Kick %p% C4 Kabooom use

On Kill;Weapon/Gadgets/C4/C4;PlayerSay %p% no C4;Kill 100

The rules are almost ok. I assume your weapon key for C4 is correct (Weapon/Gadgets/C4/C4) but I have not checked that. The easiest place to check is the ProconRulz 'Details' tab.

 

BUT the condition is "Weapon " and you have that wrong i.e. it should be:

 

On Kill;Weapon Weapon/Gadgets/C4/C4;...

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.