Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by unconvincible*:

 

Hello guys/girls :smile:

I need some help/infos for BF3.

 

1. How can I check if my targetplayer is an admin?

2. TempBan -> How I get the seconds?

3. How get I the teamID of my targetplayer?

 

I think this is all :smile: I hope you can anwser all my questions ^^

 

EDIT:

Found a way for the third point:

Code:

On Spawn;Set %team_id[%p%]% %ptk%
Or is there a better way?

 

Sincerely,

unconvincible

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

Originally Posted by Prime-Meridian*:

 

Procon is not able to detect whether a mcom is destroyed by C4 or artillery. No such mcom information is provided from the game server to procon. Therefore, this plugin cannot control mcom destruction. "It's in the game."

for: BFBC2

myrcon.net/...proconrulz-v44j1-weapon-limits-and-other-event-triggered-admin-actions#entry14229

ty_ger07, please help to write correctly is a rule that would have it worked.

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

Originally Posted by LjMjollnir*:

 

1. How can I check if my targetplayer is an admin?

2. TempBan -> How I get the seconds?

1) has been covered on here recently :ohmy:... while i dont do mods for Bf3 i assume its very similar in regards for proconrulz

 

Code:

On Spawn;Admin;ServerFirst;Set %server_admins% %p%;End
On Spawn;Admin;PlayerFirst;Set %server_admins% %p%,%server_admins%
that will make a Variable %server_admins% that contains the names of all the admins as they spawn

 

then its a simple matter of using "contains" for example

Code:

On Kill;if %server_admins% contains %v%;Say %p% killed Admin %v%!!!!
2)

Code:

On Kill;if %server_admins% contains %v%;Say %p% killed Admin %v% and earnt a 5min ban!;TempBan 300 You killed an Admin!!!!
That being said ive seen people have issues with the TempBan provided by Proconrulz.. there is another way around tho :ohmy:.. you can use the Exec command and send the server command to ban someone

 

Im not going to look it up for Bf3... but here is the Bf4 version :ohmy:... its probably very similar

 

Code:

On Kill;if %server_admins% contains %v%;Say %p% killed Admin %v% and earnt a 5min ban!;Exec banList.add name %p% seconds 300 "banned for killing an Admin 5 mins."
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by unconvincible*:

 

1) has been covered on here recently :ohmy:... while i dont do mods for Bf3 i assume its very similar in regards for proconrulz

 

Code:

On Spawn;Admin;ServerFirst;Set %server_admins% %p%;End
On Spawn;Admin;PlayerFirst;Set %server_admins% %p%,%server_admins%
that will make a Variable %server_admins% that contains the names of all the admins as they spawn

 

then its a simple matter of using "contains" for example

Code:

On Kill;if %server_admins% contains %v%;Say %p% killed Admin %v%!!!!
2)

Code:

On Kill;if %server_admins% contains %v%;Say %p% killed Admin %v% and earnt a 5min ban!;TempBan 300 You killed an Admin!!!!
That being said ive seen people have issues with the TempBan provided by Proconrulz.. there is another way around tho :ohmy:.. you can use the Exec command and send the server command to ban someone

 

Im not going to look it up for Bf3... but here is the Bf4 version :ohmy:... its probably very similar

 

Code:

On Kill;if %server_admins% contains %v%;Say %p% killed Admin %v% and earnt a 5min ban!;Exec banList.add name %p% seconds 300 "banned for killing an Admin 5 mins."
thx.

But for tempban, is it possible to do it like this?

- !tban unconvincible 3600 reason

or

- !tban unconvincible 300 reason2

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

Originally Posted by LjMjollnir*:

 

thx.

But for tempban, is it possible to do it like this?

- !tban unconvincible 3600 reason

or

- !tban unconvincible 300 reason2

Sure thing.. very very easy to do :ohmy:

 

Code:

On Say;Admin;!tban;TargetPlayer;TargetAction TempBan %TargetText%
Now im not too sure if it will handle the time correctly.. the way things need to be send to the sever is kind of odd and i dont know for sure it will be able to seperate the time out from that command... its more likely you will need to hard code a time in

 

Code:

On Say;Admin;!tban;TargetPlayer;TargetAction TempBan 3600 %TargetText%
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Prime-Meridian*:

 

People, tell me please how correctly to write this is the rule?

Code:

On Kill;Damage VehicleHeavy;Say %p% use Tnak and Bradley you can only when the on server four player kills[autokill];Kill
where it is necessary to put the icon for what would algorithm worked properly?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LjMjollnir*:

 

People, tell me please how correctly to write this is the rule?

Code:

On Kill;Damage VehicleHeavy;Say %p% use Tnak and Bradley you can only when the on server four player kills[autokill];Kill
where it is necessary to put the icon for what would algorithm worked properly?
Judging by your previous posts you want this to work for BFBC2? i dont know what works and doesnt for that game.. but your rule is almost there :ohmy:

 

Code:

On Kill;If %n% < 2;Damage VehicleHeavy;Say %p% use Tank and Bradley you can only when the on server four player kills[autokill];Kill
I added the Red section.. that checks to see if the smallest team has atleast 2 players (2 per side is 4 players if balancing is working correctly...) if it doesnt it will kill people using VehicleHeavy (which i am not sure is supported in BFBC2).. test it.. if it doesnt work its probably that BfBc2 doesnt support such a rule.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Prime-Meridian*:

 

Judging by your previous posts you want this to work for BFBC2? i dont know what works and doesnt for that game.. but your rule is almost there :ohmy:

 

Code:

On Kill;If %n% < 2;Damage VehicleHeavy;Say %p% use Tank and Bradley you can only when the on server four player kills[autokill];Kill
I added the Red section.. that checks to see if the smallest team has atleast 2 players (2 per side is 4 players if balancing is working correctly...) if it doesnt it will kill people using VehicleHeavy (which i am not sure is supported in BFBC2).. test it.. if it doesnt work its probably that BfBc2 doesnt support such a rule.
Thank you LjMjollnir , tomorrow I will test your's version of the rules.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LjMjollnir*:

 

Me again :smile:... Someone any idea how to make a nuke?

There is already a votenuke around here someplace... check the Insane Limits plugin (it handles things alot better then Proconrulz.. but is a little bit harder to work with)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Mooseca*:

 

Hey guys I'm having a problem with proconrulz and bc2.

 

Code:

####Mooseca's Teamkilling Setup WIP
On TeamKill; Incr %teamkills%
On TeamKill; If %teamkills% == 1; PlayerSay No teamkilling this is your first warning.
On TeamKill; If %teamkills% == 2; PlayerSay No teamkilling this is your second warning.
On TeamKill; If %teamkills% == 3; PlayerSay No teamkilling this is your third warning.
On TeamKill; If %teamkills% == 4; PlayerSay No teamkilling this is your fourth and final warning.
On TeamKill; If %teamkills% == 5; Kick You were kicked for too many teamkills.
On Teamkill; Rate 4 240; TempBan 604800 Banned for teamkilling. (4 teamkills, 4 minutes) - If you think this is wrong visit www.rblclan.com

#Teamkill counter reset
On Round; Set %teamkills% 0
On Leave; Set %teamkills% 0
For some reason when they get temp banned it appears twice in log and it removes itself. Any idea why?

 

Code:

[22:23:59 51] ProconRulz: Player METEC001 temp banned for 604800 seconds
[22:23:59 52] ProconRulz: Player METEC001 temp banned for 604800 seconds
Code:
Banlist	09/24/2014 22:30:22	SYSOP	GUIDTimedBanned	EA_2D8767A245CAFF9CFC7179E1732A1FB3 [ Banned for teamkilling. (4 teamkills, 4 minutes) - If you think this is wrong visit www.rblclan.com] was banned from the server for 10080 minutes

Banlist	09/24/2014 22:30:23	SYSOP	GUIDTimedBanned	EA_2D8767A245CAFF9CFC7179E1732A1FB3 [ Banned for teamkilling. (4 teamkills, 4 minutes) - If you think this is wrong visit www.rblclan.com] was banned from the server for 10080 minutes
He has now come and gone multiple times and is a right pain. ANy help is appreciated :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Prime-Meridian*:

 

Judging by your previous posts you want this to work for BFBC2? i dont know what works and doesnt for that game.. but your rule is almost there :ohmy:

 

Code:

On Kill;If %n% < 2;Damage VehicleHeavy;Say %p% use Tank and Bradley you can only when the on server four player kills[autokill];Kill
I added the Red section.. that checks to see if the smallest team has atleast 2 players (2 per side is 4 players if balancing is working correctly...) if it doesnt it will kill people using VehicleHeavy (which i am not sure is supported in BFBC2).. test it.. if it doesnt work its probably that BfBc2 doesnt support such a rule.
Once again, thank you LjMjollnir, the algorithm works well. :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

I want to make up to 16 players "Join message", but does not work ;(

 

Code:

On Join;If %p% < 16;Say %p% joining to the server
Why this code doesn't works?
%p% is THIS specific player. Is this specific player a number? Are you '16'?

 

There is no "serversize" variable, but teamsize should work for you. If server size is 16, team size should be around 8 if there are two teams.

 

Code:

On Join;Teamsize 8;Say %p% joining to the server
The documentation says:

"Teamsize ": smallest team has N or fewer players

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

Originally Posted by Gazovik83*:

 

hi guys.

I ask for your help in creating a rule for idle time, depending on the amount of players

 

e.g.:

if the amount players is within from 0 to 26, the idle time is set for 86400 seconds

and

if the amount players is within from 26 to 32 or more, the idle time is set for 300 seconds

 

this ...* not work

 

thanks for the help

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

Originally Posted by Hodor*:

 

%p% is THIS specific player. Is this specific player a number? Are you '16'?

 

There is no "serversize" variable, but teamsize should work for you. If server size is 16, team size should be around 8 if there are two teams.

 

Code:

On Join;Teamsize 8;Say %p% joining to the server
The documentation says:

"Teamsize ": smallest team has N or fewer players

Displays this message if the server is more than 16 players, and I need that a message did not show if the server is more than 16 players.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Displays this message if the server is more than 16 players, and I need that a message did not show if the server is more than 16 players.

Yes, I know.

 

You can try to do a lot of manual counting and still count wrong. Or just accept that the smallest team is 8 or less and call it close enough.

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

Originally Posted by Gazovik83*:

 

hi guys.

I ask for your help in creating a rule for idle time, depending on the amount of players

 

e.g.:

if the amount players is within from 0 to 26, the idle time is set for 86400 seconds

and

if the amount players is within from 26 to 32 or more, the idle time is set for 300 seconds

 

this ...* not work

 

thanks for the help

no one will help? :sad:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LjMjollnir*:

 

no one will help? :sad:

Well waiting a little always helps :ohmy:.. Ty_ger07 and myself are generally the ones that helps people around here these days and i was asleep when you posted :P

 

Code:

On Leave;if %n% < 13;Exec vars.idleTimeout 86400
On Join;if %n% > 13;Exec vars.idleTimeout 300
I dont exactly like this code.. but give it a go.. Proconrulz doesnt give an easy way to see total players it does give us %ts1% and %ts2% but i believe it fails with SQDM.. just the smallest team this is why im checking for 13 players (2x13 = 26.. if your balancing plugin is working correctly)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by trans-am*:

 

hi guys.

I ask for your help in creating a rule for idle time, depending on the amount of players

 

e.g.:

if the amount players is within from 0 to 26, the idle time is set for 86400 seconds

and

if the amount players is within from 26 to 32 or more, the idle time is set for 300 seconds

 

this ...* not work

 

thanks for the help

That not working, i use ...* instead
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Gazovik83*:

 

Well waiting a little always helps :ohmy:.. Ty_ger07 and myself are generally the ones that helps people around here these days and i was asleep when you posted :P

 

Code:

On Leave;if %n% < 13;Exec vars.idleTimeout 86400
On Join;if %n% > 13;Exec vars.idleTimeout 300
I dont exactly like this code.. but give it a go.. Proconrulz doesnt give an easy way to see total players it does give us %ts1% and %ts2% but i believe it fails with SQDM.. just the smallest team this is why im checking for 13 players (2x13 = 26.. if your balancing plugin is working correctly)
thnx work fine!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BUG*:

 

Using a couple of rules to limit certain weapons and it seems to doing it's job to give them a temporary ban if used to kill a player.

But under my banlist it doesn't add player names under the name column that i rather have and not in the reason column like now.

 

Code:

# NO FIM-92 STINGER
On Kill;Weapon U_FIM92;PlayerCount 1;Log %p% Banned 24h for using FIM-92 STINGER;TempBan 86400 %p% FIM-92 STINGER
On Kill;Weapon U_FIM92;PlayerSay %p% FIM-92 STINGER not allowed, next time ban will be issued.;Kill 100
http://i59.tinypic.com/2ce2lxe.jpg
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Using a couple of rules to limit certain weapons and it seems to doing it's job to give them a temporary ban if used to kill a player.

But under my banlist it doesn't add player names under the name column that i rather have and not in the reason column like now.

 

Code:

# NO FIM-92 STINGER
On Kill;Weapon U_FIM92;PlayerCount 1;Log %p% Banned 24h for using FIM-92 STINGER;TempBan 86400 %p% FIM-92 STINGER
On Kill;Weapon U_FIM92;PlayerSay %p% FIM-92 STINGER not allowed, next time ban will be issued.;Kill 100
http://i59.tinypic.com/2ce2lxe.jpg
This is not a limitation of this plugin. EA GUID or PB GUID bans do not have names. If you want the player's name to be in the name collumn, you would need to do a name ban. The bad thing abojt name bans is that the player just needs to change their origin soldier name. So, GUID bans are used and the name is included in the comment for convenience.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BUG*:

 

This is not a limitation of this plugin. EA GUID or PB GUID bans do not have names. If you want the player's name to be in the name collumn, you would need to do a name ban. The bad thing abojt name bans is that the player just needs to change their origin soldier name. So, GUID bans are used and the name is included in the comment for convenience.

Ok thx for explanation. Guess we cant get everything :ohmy: wish it still would added name in a proper place, imo would make more sense and easy to read and find players.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Helskov*:

 

Need some help to setup procon rules for my server.

I want to set up Mortar limit.

1 Slot pr team. 2 punish before kick if no slot...

 

We have today this limit on RconNet, but we are moving to Procon.

But i cant figure out how to set this up.

 

Also i have a problem with procon rulez. My server is running procon as a service on a Server 2003 R2. All my plugins are installed on the server. But when i connect to the layer from my desktop all rules gets removed because they not are configured on my desktop.

Do i really have to configure the rulez on every machine that connects to the layer?

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