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.




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