Results 1 to 10 of 6118
-
21-11-2011, 14:29 #1
- Join Date
- Feb 2011
- Posts
- 859
ProconRulz V44j1 - weapon limits and other event-triggered admin actions
Donations: none needed - ProconRulz is 100% free software. Please acknowledge any support by clicking the Rate this thread link just above this post, and sharing the rulz you come up with. Thank You.
MAJOR UPDATE TO V44. BF4 SUPPORT, PLUS SUPPORT FOR EXTERNAL PROCONRULZ SCRIPT FILES
Summary
ProconRulz is a general-purpose Procon plugin that allows admin actions to be taken based on events and triggers. The most common usage is for weapon limits, e.g. "On Kill;Weapon SMAW;Kill" (which will limit the SMAW rockets by killing any player that kills with that weapon). Or you can limit players NOT using certain weapons, e.g. for a pistols-only server "On Kill;Not Damage Handgun;Kill" (which will kill any player that kills with anything NOT a pistol).
Rulz for many example requirements are given at the end of this thread
If you are new to ProconRulz, and look at the documentation, the fact that ProconRulz is now capable of enabling you to write sets of rulz that behave as killstreak announcers or in-game admin or rude-word-responders will appear scary at first, so don't forget ProconRulz was designed from the beginning to allow simple rulz to implement weapon limits, so it's easy to start with a single rule e.g. limiting nades with On Kill;Weapon M67;PlayerCount 3;Say Too many nade kills for %p%;Kill.
ONLINE DOCUMENTATION HERE
How to enter your rulz
click here to expand this section:
See below in this thread for sample rulz and an explanation of BF3/BF4 limitations so you don't ask the same "how do I block mortars" question as everyone else...
ProconRulz has a very flexible range of conditions and actions that can be applied, so as your rulz get fancy you are in effect creating a custom plugin. But everyone begins thinking they "just" want a simple weapon limit.
NEWS 25-Dec-2013: version 44j1 uploaded. Rulz .txt files now reloaded on plugin enable (useful for layer-server users).
NEWS 17-Dec-2013: version 44h6 uploaded. New On RoundOver trigger that fired on end-of-round (useful for BF4). !knife rulz added.
NEWS 9-Dec-2013: version 44g3 uploaded. BUGFIX version for new "On Init" trigger with BF3/4. Users who downloaded 44g.2 should replace with this version if they want to use the new On Init trigger (also used in snipersquad rulz set).
NEWS 6-Dec-2013: version 44g2 uploaded. Sniper Squad limiter rulz added. Added Linux support for %ini_..% vars file. New 'On Init' trigger that can be used for simple startup values for rules.
NEWS 2-Dec-2013: version 44f1 uploaded. Support for Linux external .txt rulz files. Updated sniper limit with additional !setsniper command (e.g. !setsniper bam) for admin to guarantee sniper slot to a player.
NEWS 26-Nov-2013: version 44e2 uploaded. Support for BF4 with four weeks of testing (thanks D1bble, Tarreltje). Now rulz can be held in an external file and loaded by the plugin making it easier to share rulz sets e.g. for weapon limits, teamkill limits, announcers, etc.
Older news click to expand:
ProconRulz has been extensively used on BFBC2 servers (for BFBC2 see this thread). That thread now has hundreds of entries so for BF3 I've started this new one.
ProconRulz has relatively comprehensive documentation on its 'Details' tab, so please refer to that. For info, if you haven't downloaded the plugin yet, you can check out an cached version of the details info online here. Of course for the most up-to-date version of the documentation, check the plugin 'Details'.
ProconRulz allows rulz of the format "Trigger;Conditions...;Actions..." with a wide choice of triggers, conditions and actions. The most trivial forms of weapon limits can be implemented with a single rule, e.g. to kill players using the M320 underslung rifle nade, use the single rule given as an example at the top of this post. However, with a bit of thought, it is possible to provide rulz with a more complex behaviour, e.g. warn on the first kill, kill on the third, kick on the fifth.
ProconRulz installs with half-a-dozen default simple rulz that provide a template for your rulz if that helps.
Currently included rulz sets
Sniper Limit (proconrulz_sniperlimit.txt) - limits the number of snipers on each team to a maximum set at the top of the rulz. A sniper slot is reserved when the player kills with a sniper rifle. The sniper slot is released when the round ends, the player leaves, or the player kills with some other weapon and an announcement is issued to team. All players have the !snipers command which tells them the current snipers on their team. Also included is proconrulz_sniperdmrlimit.txt which is the same but limits both sniper rifles and DMR's. CREDIT tarreltje and see thread here
Sniper Squad Limit (proconrulz_snipersquad.txt) - only permits sniper kills if you are in a particular squad (default Echo). Also supports a !snipers command that tells users what's going on. (As above, also with proconrulz_sniperdmrsquad.txt for snipers andDMR's). CREDIT staazvaind.
Announcer (proconrulz_announcer.txt) - gives a few kill messages (Fred knifed Barney) for you to modify.
Multi-kills (proconrulz_multikill.txt) - keeps track of short-term multi-kill streaks and makes Quake-like announcements. Credit Bl1ndy and Panther.
Rules (proconrulz_rules.txt) - simple rulz that display messages when any player types !rules - for you to modify for your server.
Punish (proconrulz_punish.txt) Support of !punish / !p and !forgive / !f for teamkills. CREDIT ty_ger07 and russel5
Killstreak (proconrulz_killstreak.txt) Announces kill streaks at 5/10/15 kills etc, and when ended. Credit ty_ger07
Best 3 Players (proconrulz_best3players.txt) Particularly for TDM announces current highest kill player & each time that changes. CREDIT tarreltje.
************************************************** ************************************************
Plus, you can still edit additional rulz directly into the Plugin settings with these as examples for ideas below
************************************************** ************************************************
BF3 Map names and modes
In case you need them in Map or MapMode conditions, BF3/BF4 names and modes are collected into this post.
ProconRulz doesn't really care what keys you use - it's up to you to check your conditions match whatever your server is sending. This is collected documentation for BF3 that you can find on the internet.
Some current limitations of BF3/BF4 to be aware of
click to expand:
Some sample rulz
KEEP the default logging On Kill rule at the end of all your rulz. This has a 'Log' action which is very helpful when your rulz don't pick up the condition you expected... (e.g. Log %pt% %k% %p% killed %v% with %w% (%wk%), damage %d%). You don't need to understand this now, just leave it in.
Example 1. Limit a single weapon (usage suicidal, kick on 4th kill, ban on 6th kill):
Click to expand:
Example 2. Limit a weapon category via Damage condition (usage suicidal, kick on 4th kill, ban on 6th kill):
Click to expand:
Example 3. For a sniper/pistol server (usage of other weapons is suicidal, kick on 4th kill, ban on 6th kill):
Click to expand:
Example 4. Make teamkills suicidal
Click to expand:
Example 5. Stop use of rockets on map Operation Metro:
Click to expand:
Example 6. If you want to reduce the frequency of a weapon use
e.g. limit players to max 2 nade kills per minute:
Click to expand:
Example 7. Kill Streak Announcer
by ty_ger07.
Please see this dedicated thread
Example 8. Basic Cheater Detector
Click to expand:
Example 9. Limit vehicle use when teams are small
Click to expand:
Example 10. Easy in-game admin
Click to expand:
Example 11. No MAV's on Metro
Click to expand:
Example 12. Unreal Tournament Multi Kills Announcer by Bl1ndy
Please see this dedicated thread
Example 13. Sniper Limit V2!!! (credit tarreltje)
Please see this dedicated thread
Click to expand for a bit of explanation of how these rulz work in BF3:
Example 14. Multi-language 'join' welcome messages (credit Angry_AGAIN)
Click to expand:
Example 15. Knife/Defib/Repair Tool Kill YELL Announcer
This plugin will put a Yell message on the screen each knife or other melee weaon kill
Click to expand:
Example 16. End of Round Stats Announcer by tarreltje
These rules give the 'most kills', 'most knife kills', 'most headshots' playernames and kill counts during and near the end of the round. As with all ProconRulz rulz you can tweak the rulz for different stats or timings as you want.
Please see this dedicated thread
Example 17. Country filter by L2Devlier
Here's an interesting concept, illustrating the global villiage we live (game) in. It's possible you live in a small country, adjacent to a large country (e.g. China), and you're trying to build a local community, but end up with the server being dominated by large numbers of gamers texting in the foreign language from the large-country-next-door, what can you do. L2Devlier came up with this solution in in a long PM to me emphasized this is not about being racist, just trying to compensate for limitations in the EA queueing system if you're trying to build a local community. For other-country-applicability you'll need to read the rulz, understand what they do, and tweak the country-codes as appropriate.
Click to expand the rulz:
Example 18. BEST 3 PLAYERS Announcer by tarreltje
Every 100 tickets, these rulz announce the top 3 players based on kills, e.g.:
BEST 3 PLAYERS :
1st Tarreltje 1000 kills
2nd Gaga 580 kills
3rd Noob 30 kills
Please see this dedicated thread
Example 19. SERVER STATS by tarreltje
On the first kill of each round, server will announce the player names with the highest kill counts, e.g.
DUTCH COWBOYS SERVER STATS
1st RINUSS 1000 kills
2nd BAMBAM 500 kills
3th GAGA 200 kills
Most Knives: RINUSS 3000 knives
Please see this dedicated thread
Example 20. !punish and other TeamKill protection rulz by ty_ger
The !punish, !forgive commands you've probably seen on a variety of servers, plus optional rulz so you can automatically punish teamkillers if you prefer that for your server.
Please see this dedicated thread
Example 21. !votekick - ingame command for players to vote to kick another player
Click to expand:
Example 22. Adaptive SPAMBOT by tarreltje
Easy to modify, these rulz 'chat' different messages according to the map 'Mode' that is currently running, i.e. you can have message for TeamDeathMatch, and different messages for Conquest. The same rulz could be tweaked if you want messages based on Map, rather than MapMode (i.e. some messages for Caspian, different messages for Seine Crossing...)
Please see this dedicated thread
Example 23. Simple Aimbot headshot detector
credit russel5
These rulz count headshots and if it's more than 60% after 30 kills (these params in line 5) and it's not a sniper rifle, player is banned.
click here for rulz:
Versions summary:
v44 (Nov 26 2013): Support for BF4, plus the support for separate rulz .txt files (incl Linux from 44f.1 credit FritzE).On RoundOver trigger.
v43 (Aug 21 2012): Arithmetic in Set/If statements, permanent 'ini' vars, rounding, new date/time and teamsize variables, logging options. New player %score% variable, '+' as 1st character on line allows multi-line rulz.
v41 (Jun 29 2012): More flexible support for in-game admin commands e.g. !kick <player> <reason>
v40 (May 15 2012): Quoted strings can be used in rulz e.g. Set %server_message% "Get ready for next round"
v39 (Apr 12 2012): Yell added (with BF3 R20). Yell/Say can now be to all, Player, Squad, Team (e.g. SquadYell). Player/Victim country codes available (e.g. %pcountry% see online docs). Tickets remaining now in %team_score%.
v38 (Jan 18 2012): any order now permitted for intermixing actions and conditions. server, team, squad, player variables now more easily mixable, Exec can now run PunkBuster commands in addition to the v37 PBBan & PBTempBan, TargetPlayer condition enhanced for ease of use in rulz.
v37: PunkBuster Kicks/bans, new rulz processing flow, rulz variables
v34: Players 'protected' from kicks, kills, bans by ProconRulz now Admins, Admins+Reserved_Slots, Neither, plus Player and Clan whitelist.
v33: BF3 compatibility
v1..32 (see ProconRulz BFBC2 thread)
Downloads: 15,811 + count on this version:
Please note: There is an unsupported version below ProconRulz_NL.zip which allows new lines in messages.
Example new line:
Code:On Say;Text /show;PlayerYell \nHello %p%\nThis is your first visit, please type !rules
[ADMIN]
Hello DarthVader
This is your first visit, please type !rulesLast edited by leibhold; 05-01-2017 at 07:02. Reason: update to 44j1 NL version
--------------------------------------------------------------For the ProconRulz Procon Plugin, always read the first post in the ProconRulz thread. See also the ONLINE DOCUMENTATION for information regarding writing your own rulz.
-
21-11-2011, 14:35 #2
wow! good news!
it's working like a charm.Last edited by RadicalMode; 21-11-2011 at 15:30.
-
21-11-2011, 15:33 #3
-
21-11-2011, 15:50 #4
- Join Date
- Feb 2011
- Posts
- 317
Thank you very much bambam, interesting the reference to the M320
Now do we backup the BF3.def and just copy this one in or wait for the next update as referenced above? BTW I sent you a PM.
For rule writing help, if anyone knows how to write a rule for banning use of M320, though I do allow for smoke but don't think that is currently an option, and controlling spamming of RPG/SMAW I'd be grateful for your assistance, thank you.Last edited by Clay52; 21-11-2011 at 16:35.
-
21-11-2011, 16:32 #5
- Join Date
- Nov 2011
- Posts
- 7
Thank You, Thank You, Thank You ! ! !
-
21-11-2011, 16:39 #6
- Join Date
- Feb 2011
- Posts
- 859
the BF3.def I included is a superset of the one shipped with Procon 1.1.1.1 so you can copy it over that one. Basically it includes a list of all the BF3 R8 weapon definitions - the key work was done by Phil (and me) and will be included in the next 'prod' release of Procon.
So install this BF3.def in your Config folder, and when the next Procon update comes along (soon) it'll get updated again and that's fine. The BF3.def is needed if you want to use 'Damage' conditions (e.g. Damage ProjectileExplosive, or Damage SniperRifle, or Damage Handgun) as opposed to single weapon conditions, and also will give weapon display names in the subst variable %w%.
If you *don't* install this BF3.def, ProconRulz will still work, but all the weapon damages will be "None" and all the weapon display names will be the same as the weapon key, as per the BF3.def shipped with Procon 1.1.1.1.
-
21-11-2011, 16:52 #7
- Join Date
- Feb 2011
- Posts
- 859
Update for ProconRulz noobies:
ProconRulz can do lots of stuff, and will become more powerful as soon as EA ship a version of BF3 that enables more weapon keys and more admin events as were in BFBC2, particularly when a player spawns. But the most common usage is for weapon limits and here's a rulz template, using SniperRifle as an example (say you want to reduce sniper use to 5 sniper kills / player):
On Kill;Damage SniperRifle;Count 7;Kick %p% ignoring sniper limit
On Kill;Damage SniperRifle;Count 5;Say %p% sniper limit;Kill 100
On Kill;Damage SniperRifle;Count 3;Say %p% sniper limit warning #%c%
The plugin will display say-text warnings above 3 sniper kills, player will get auto-killed above 5 sniper kills, and will get auto-kicked above 7 sniper kills.
If you didn't know - weapon limits in BFx are traditionally applied at SPAWN time (i.e. if you limit snipers, you kill players that SPAWN with a sniper rifle if a certain number have already spawned with one on that team). ProconRulz is designed to support this as well as the On Kill rulz, but BF3 R8 is limiting the functionality to Kill-only at the moment, hence the limited example above.Last edited by bambam; 21-11-2011 at 16:59.
-
21-11-2011, 17:06 #8
- Join Date
- Nov 2011
- Posts
- 75
hello
I've no EA rules to read when we join our server?
Can you help me please?
-
21-11-2011, 17:06 #9
- Join Date
- May 2010
- Location
- Austria
- Posts
- 3,269
-
21-11-2011, 17:16 #10
- Join Date
- Nov 2011
- Posts
- 75
Yes there is this option
"EA Rules of conduct read and accepted" Yes/No