Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by ty_ger07*:

 

If I want to set up a rule to kick/ban on certain words, and I do this:

 

Code:

##             Swearing     ##
On Say;
 Set %server_badword% 0
 Text test;Incr %words%;Set %server_badword% 1
 If %words% > 2;Set %words% 0; Say %p% kicked for swearing and/or disrespecting players;Kick %p% Being disrespectful
 if %server_badword% == 1;Say %p% watch your language!!!
You need to substitute 'test' for the words you are actually enforcing.

 

How do I get it to actually kick/ban? Does it not use the In-Game Admin kick/ban !,@,# commands? Is it something I need to set up?

No, this has nothing to do with the In-Game admin. PRoCon Rulz is its seperate plugin and it kicks/bans using the rules you create.

 

 

Let me go through the code line by line with you.

 

On Say;

 

If someone says something, this rule starts.

 

Set %server_badword% 0

 

Set a value called %server_badword% to 0.

 

Text test;Incr %words%;Set %server_badword% 1

 

If what the person said contained the word 'test', increase their %words% variable by 1 and set their %server_badword% variable to 1.

 

If %words% > 2;Set %words% 0; Say %p% kicked for swearing and/or disrespecting players;Kick %p% Being disrespectful

 

If the person's %words% value is greater than 2, it means that they have broken this rule more than 2 times. Say in chat that this person was kicked and then kick them.

 

if %server_badword% == 1;Say %p% watch your language!!!

 

Tell the person to watch their language.

 

 

 

If you want to make this code more useful, add actual swear words to the rule separated by commas.

 

Like this:

 

Code:

##             Swearing     ##
On Say;
 Set %server_badword% 0
 Text shit,fuck,bitch,asshole,pussy,douche,nigger,spick,fag,cunt,twat;Incr %words%;Set %server_badword% 1
 If %words% > 2;Set %words% 0; Say %p% kicked for swearing and/or disrespecting players;Kick %p% Being disrespectful
 if %server_badword% == 1;Say %p% watch your language!!!
Pardon my language.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by killengage*:

 

Many Thanks, BamBam !!

killengage here's your full plugin: displays the list of admin player names when any player says anything including the string 'admin'...

 

On Spawn;Admin;ServerFirst;Set %server_admins% %p%;End

On Spawn;Admin;PlayerFirst;Set %server_admins% %p%,%server_admins%

On Say;Text admin;Admins;Say Yes %p%, admins %server_admins% online and in-game

On Say;Text admin;Not Admins;Say %p% no admins are currently in-game but your message will be picked up later

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

Originally Posted by Drayu*:

 

You need to substitute 'test' for the words you are actually enforcing.

 

 

 

No, this has nothing to do with the In-Game admin. PRoCon Rulz is its seperate plugin and it kicks/bans using the rules you create.

 

 

Let me go through the code line by line with you.

 

On Say;

 

If someone says something, this rule starts.

 

Set %server_badword% 0

 

Set a value called %server_badword% to 0.

 

Text test;Incr %words%;Set %server_badword% 1

 

If what the person said contained the word 'test', increase their %words% variable by 1 and set their %server_badword% variable to 1.

 

If %words% > 2;Set %words% 0; Say %p% kicked for swearing and/or disrespecting players;Kick %p% Being disrespectful

 

If the person's %words% value is greater than 2, it means that they have broken this rule more than 2 times. Say in chat that this person was kicked and then kick them.

 

if %server_badword% == 1;Say %p% watch your language!!!

 

Tell the person to watch their language.

 

 

 

If you want to make this code more useful, add actual swear words to the rule separated by commas.

 

Like this:

 

Code:

##             Swearing     ##
On Say;
 Set %server_badword% 0
 Text shit,fuck,bitch,asshole,pussy,douche,nigger,spick,fag,cunt,twat;Incr %words%;Set %server_badword% 1
 If %words% > 2;Set %words% 0; Say %p% kicked for swearing and/or disrespecting players;Kick %p% Being disrespectful
 if %server_badword% == 1;Say %p% watch your language!!!
Pardon my language.
thank you for the feedback! I didn't put the swear words in because I didn't want to offend. SO, I guess here is my question, what do I need to put in the rulz for it to kick? I added that code, but nothing happens other than it says it is kicking...

 

thank you again!

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

Originally Posted by axRhino*:

 

Is it possible to use procon rulz to write a rule that would balance squads in squad deathmatch?

 

The logic , I would think, should be pretty simple:

 

On new player joining server > look at team player counts > assign player to smallest team.

 

While not an all encompassing solution it would help alot with managing new players.

 

BF3 itself does a poor job with SQDM and non of the balancers out there attempt to handle 4 squads..they deal only with 2 team scenarios.

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

Originally Posted by bambam*:

 

Is it possible to use procon rulz to write a rule that would balance squads in squad deathmatch?

sorry to be boring but this is probably best with a purpose-built plugin - there's a lot of logic you'd end up needing to consider (like BF3 won't always tell you someone's left the server, so you have to continually check) and the logic you'd want deciding *who* to move to balance the teams is bound to be non-trivial (some team balancers have a flaw where the same player is moved each time, which pisses them off, understandably).
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by halli42*:

 

Hey guys,

 

I have this "welcome script" running on my server:

 

On Spawn;PlayerFirst;PlayerSay Welcome, %p%! Play fair and have fun.

 

Is it possible to define some delays and post more messages?

 

On Spawn;PlayerFirst;PlayerSay Welcome, %p%! Play fair and have fun. -> 1 second delay -> NEXT LINE -> 1 second delay -> NEXT LINE

 

thanks in advance!

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

Originally Posted by FoxRiverMan*:

 

Hello:

 

I am a server admin who living in china , and your pulgins is rock , But i have a issue which is since the Ver.38d2 finally released ,and i simply deleted the old one and uploaded the new one , The procon rulz never showed up in the pulgins list and i just wondering what and why dose the procon rulz disappeared , and then i just reboot my game server also procon server a lots of times but it didn't help anyway .

 

Did i done anything wrong ? please tell me how can i fix it , and btw sorry for my bad english .lol

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

Originally Posted by ty_ger07*:

 

nobody knows whats wrong with this script?

Well, you tell me. What is not working?

 

 

 

Knife is not 'Weapon Knife'. Knife is: 'Weapon Weapons/Knife/Knife'. Also, there are two knifes. Knife is a slash kill, and melee is a dog tag stealing slow kill. So, you should use both kinds of knifes in your report.

 

On Kill;Weapon Weapons/Knife/Knife,Melee;Say Player %p% has killed with the Knife %c% times

On Kill;Headshot;Say Player %p% has killed with the a Headshot %c% times

 

I think that will work.

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

Originally Posted by jenneboy*:

 

On Kill;Damage ProjectileExplosive;PlayerCount 2;Log %p% no RPG-7/SMAW/M320;Kick %p% no RPG-7/SMAW/M320

On Kill;Damage ProjectileExplosive;PlayerSay %p% no RPG-7/SMAW/M320;Kill 100

can someone make me a code so the rpg smaw m320 are only not allowed only on tdm?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by duyty*:

 

Hey guys,

 

I have this "welcome script" running on my server:

 

On Spawn;PlayerFirst;PlayerSay Welcome, %p%! Play fair and have fun.

 

Is it possible to define some delays and post more messages?

 

On Spawn;PlayerFirst;PlayerSay Welcome, %p%! Play fair and have fun. -> 1 second delay -> NEXT LINE -> 1 second delay -> NEXT LINE

 

thanks in advance!

I'm also interested in this one but then for showing the rules. If you typ now @rules it shows very quickly and noone can read the first lines.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Drayu*:

 

wanted to thank you guys for the help. We (lots of help and talk through by my buddy Kilroy) were able to tailor the code. Please excuse any language. It is here if someone wants to use it.

 

Code:

##    Language Filter    ##
On Say;
Set %server_badword% 0
Text spick,fag,nig;Incr %words%;Set %server_badword% 1
Text nigger,n1gger,nigg3r,n1gg3r,nigga,faggot,f@ggot,f@gg0t,chink,gook;Set %server_badword% 5
If %server_badword% == 5;Set %words% 0;Set %server_badword% 0; Say %p% banned for racist/intolerant language!;TempBan 10080 %p% banned for racist/intolerant language!
If %words% > 1;Set %words% 0;Say %p% kicked for racist/intolerant language!;Kick %p% kicked for racist/intolerant language!
if %server_badword% == 1;Say %p% watch your language, only warning!!!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bambam*:

 

halli42

Is it possible to define some delays and post more messages?

Not with the current version of ProconRulz... you can post multiple messages but with no delay between them. I'll think about it.

 

Needa

Is there a 'No Mav Rule' out there?

MAVs kill with "Roadkill" so you can only block them on infantry-only servers (i.e. you can't tell the difference between a MAV kill and being run over by a tank). You CANNOT stop people spawning with the MAV because BF3 provides NO information about loadout at spawn time at all - it's currently impossible with any plugin...

 

FoxRiverMan sorry you've lost your plugin rulz. They are stored as text in the "Configs\.cfg" file, with all the other plugin settings for all the other plugins. The only option is to back up this file. What I do is have a "Backups" folder in the Configs folder, and drag the .cfg over into the Backups folder periodically, and then rename it with the date. Unfortunately this won't help you recover your rulz (or other plugin settings) if you've already lost them...

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

Originally Posted by rouven*:

 

Is there a 'No Mav Rule' out there?

Tried to seach for it to no avail.

 

Thanks, Cpt-Needa

www.habitat4hookers.com

 

PS. And yes Phogue, I came back along time ago, great job on things. I miss the old FFOW days.

On Metro it should be safe to use:

 

On Kill;Map Subway;Weapon Roadkill;PlayerCount 5;Log %p% banned for MAV;Ban %p% MAV use

On Kill;Map Subway;Weapon Roadkill;PlayerCount 3;Log %p% kicked for MAV;Kick %p% MAV use

On Kill;Map Subway;Weapon Roadkill;PlayerSay %p% no MAV;Kill 100

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

Originally Posted by bambam*:

 

On Metro it should be safe to use:

 

On Kill;Map Subway;Weapon Roadkill;PlayerCount 5;Log %p% banned for MAV;Ban %p% MAV use

On Kill;Map Subway;Weapon Roadkill;PlayerCount 3;Log %p% kicked for MAV;Kick %p% MAV use

On Kill;Map Subway;Weapon Roadkill;PlayerSay %p% no MAV;Kill 100

Thanks for these - I've added it as example 11 on the thread 1st page...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by jenneboy*:

 

On Kill;Damage ProjectileExplosive;PlayerCount 2;Log %p% no RPG-7/SMAW/M320;Kick %p% no RPG-7/SMAW/M320

On Kill;Damage ProjectileExplosive;PlayerSay %p% no RPG-7/SMAW/M320;Kill 100

can someone make me a code so the rpg smaw m320 are only not allowed only on tdm?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by rouven*:

 

can someone make me a code so the rpg smaw m320 are only not allowed only on tdm?

Hi,

please try the following, but haven't tested it:

Code:

On Kill;MapMode TDM;Damage ProjectileExplosive;PlayerCount 5;Log %p% banned for rockets on TDM;Ban %p% rockets on TDM
On Kill;MapMode TDM;Damage ProjectileExplosive;PlayerCount 3;Log %p% kicked for rockets on TDM;Kick %p% rockets on TDM
On Kill;MapMode TDM;Damage ProjectileExplosive;PlayerSay %p% No SMAW/RPG/M320 on TDM;Kill 100
Rgds,

Rouven

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

Originally Posted by jenneboy*:

 

Hi,

please try the following, but haven't tested it:

Code:

On Kill;MapMode TDM;Damage ProjectileExplosive;PlayerCount 5;Log %p% banned for rockets on TDM;Ban %p% rockets on TDM
On Kill;MapMode TDM;Damage ProjectileExplosive;PlayerCount 3;Log %p% kicked for rockets on TDM;Kick %p% rockets on TDM
On Kill;MapMode TDM;Damage ProjectileExplosive;PlayerSay %p% No SMAW/RPG/M320 on TDM;Kill 100
Rgds,

Rouven

didnt work :'( it should kill after 1 kill kick after 3 kills with use of a rpg/smaw/m320 only in tdm....

 

Please somebody

* 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.