Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by Hodor*:

 

maybe the player's ip changed? I didn't use %ip% before, but You want to try using %ea_guid% or %pb_guid% instead? It works.

 

 

Sent from my iPhone using Tapatalk

I need to make kick or ban for IP! Because the player is using the brute accounts, but the IP it does not change!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by maxdamge*:

 

hello everone iam looking for some codes as shotguns limmit 3 players slots. and i want none usas-12 also shorty-12 so please help me.i mean when they use usas-12 or shorty they got killed as first punish then kicked then temp ban then perm ban and thanks. for Bf4

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

Originally Posted by virusdead*:

 

could you tell me if the code is correct,I want 20 nad: Confus:

 

 

# METRO NADE SPAM RULE

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;Incr %server_nadespam[%pt%]%;Log ^1This is %server_nadespam[%pt%]% KILL for %pt% of 20 ALLOWED

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;If %server_nadespam[%pt%]% == 10;TeamSay %pt% KILLS WITH M67 GRENADE %server_nadespam[%pt%]% of 25 ALLOWED

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;If %server_nadespam[%pt%]% == 10;TeamYell 10 %pt% KILLS WITH M67 GRENADE %server_nadespam[%pt%]% of 25 ALLOWED

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;If %server_nadespam[%pt%]% == 25;TeamSay %pt% KILLS WITH M67 GRENADE %server_nadespam[%pt%]% of 25 ALLOWED

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;If %server_nadespam[%pt%]% == 25;TeamYell 10 %pt% KILLS WITH M67 GRENADE %server_nadespam[%pt%]% of 25 ALLOWED

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;If %server_nadespam[%pt%]% == 25;TeamSay NO MORE M67 GRENADE KILLS FOR %pt% IN THIS ROUND

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;If %server_nadespam[%pt%]% == 25;TeamYell 10 NO MORE M67 GRENADE KILLS FOR %pt% IN THIS ROUND

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;If %server_nadespam[%pt%]% >= 26;PlayerCount 1;Log Kicked for -= NADE LIMIT =- VIOLATED max (25) %p% type @nade for team usage;Kick -= NADE LIMIT =- VIOLATED max (25) %p% type @nade for team usage

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;If %server_nadespam[%pt%]% >= 26;PlayerSay -= NADE LIMIT =- Your team has Reached (25) %p% Do not throw again;Kill 100

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;Rate 5 120;PlayerSay %p% STOP THROWING M67 GRENADE FOR TWO MINUTE OR LIMIT WILL BE VIOLATED

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;Rate 5 120;PlayerYell 10 %p% STOP THROWING M67 GRENADE FOR TWO MINUTE OR LIMIT WILL BE VIOLATED

On Kill;Map XP0_Metro,MP_Prison;Weapon U_M67,U_V40,U_Grenade_RGO;Rate 6 120;Kick -= NADE LIMIT =- %p% excessive nade spam / 5 KILLS IN 2 MIN

On Say;Text @nade;PlayerSay %pt% nade count %server_nadespam[%pt%]% of 25 allowed

On Say;Text !nade;TeamSay %pt% nade count %server_nadespam[%pt%]% of 25 allowed

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

Originally Posted by ixnorp*:

 

I need to make kick or ban for IP! Because the player is using the brute accounts, but the IP it does not change!

I pm you instead. Not sure if the ip kick thing is ok to write here. :huh:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Chilace*:

 

I need to make kick or ban for IP! Because the player is using the brute accounts, but the IP it does not change!

PB_SV_BanMask [iP Address / Subnet Mask]

Permanently bans players from joining the server from the specified IP Address / Subnet Mask; for example: issuing PB_SV_BanMask "12.34." will cause PB to deny access to all players trying to join from an IP Address that begins with "12.34."; These bans are written to the pbbans.dat file just like bans issued with the PB_SV_Ban command

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

Originally Posted by Hodor*:

 

PB_SV_BanMask [iP Address / Subnet Mask]

Permanently bans players from joining the server from the specified IP Address / Subnet Mask; for example: issuing PB_SV_BanMask "12.34." will cause PB to deny access to all players trying to join from an IP Address that begins with "12.34."; These bans are written to the pbbans.dat file just like bans issued with the PB_SV_Ban command

??????? ???? ?? ???, ?? ???? ?????? ? ?????? ????? ?????????? :smile:

 

Code:

On Spawn;If %ip% contains 178.165.64.167;Kick
Work perfect, big thanks ixnorp :biggrin:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LjMjollnir*:

 

I'm not sure if that will work but this will "mapList.restartRound" as it is a rCon command.

vars.roundRestartPlayerCount 0

 

works :ohmy:.. and i think Chilace was getting at the point of why not use that command and let the server automatically restart the server as it should be done...

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

Originally Posted by Hodor*:

 

Is there a possibility to make an auto /nextround command in order to not wait for 60 seconds, Dont say that people will have a black screen cause we are doing it for 2 months already manualy and no one said that they had a black screen.

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

Originally Posted by maxdamge*:

 

hello everone iam looking for some codes as shotguns limmit 3 players slots. and i want none usas-12 also shorty-12 so please help me.i mean when they use usas-12 or shorty they got killed as first punish then kicked then temp ban then perm ban and thanks. for Bf4

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

Originally Posted by LjMjollnir*:

 

hello everone iam looking for some codes as shotguns limmit 3 players slots. and i want none usas-12 also shorty-12 so please help me.i mean when they use usas-12 or shorty they got killed as first punish then kicked then temp ban then perm ban and thanks. for Bf4

That was something i had planned for my addon.. except there was very little to no interest.. so its not being published anymore.. that being said if i do bother to add that i might re apply to have my plugin published here... might... but probably not.. but if i do get it done one day i might post it to you privately.. but it isnt a huge priority right now.

 

@Hodor.. one of the main plugin developers is working on a plugin that does that.. i havent followed it recently but when i did last look at it.. aparently the black screens were still happening and there wasnt an easy way to detect if the error had happend or not.. but as i said i havent been following that plugin for a little while now so i am unsure... i will find the link for you.

showthread....reen-remedy%29*

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

Originally Posted by Hodor*:

 

Anybody knows if it's possible yet to ban the Bulldog from server?

Code:
On Kill;Weapon U_Bulldog;PlayerCount 1;Say [BANNED] %p% for using BULLDOG;Exec banList.add guid %ea_guid% seconds 1800 "your ban reason. Brace do not delete!!!"
On Kill;Weapon U_Bulldog;Say [KILLED] %p% using BULLDOG;Kill 1
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by trans-am*:

 

Hi i have a question about playercount, this is my code: Code:

On Kill;Map Subway;Damage Shotgun;PlayerCount 2;Log: %p% was BANNED for using a %w%;Say BANNED: %p% for using a %w%;TempBan 1800 %p%, No SHOTGUN  (30m ban)! You used a %w% weapon.
On Kill;Map Subway;Damage Shotgun;PlayerCount 1;Log: %p% was KICKED for using a %w%;Say KICKED: %p% for using a %w%;Kick %p%, No SHOTGUN on Metro ! You used a %w%.
On Kill;Map Subway;Damage Shotgun;Log: %p% has %c%/1 offenses (%w%);Say  %p%!!! Warning %c%/1 for using a %w%;Kill 100
Will the playercount reset? If yes, how long for it to reset?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

Hi i have a question about playercount, this is my code: Code:

On Kill;Map Subway;Damage Shotgun;PlayerCount 2;Log: %p% was BANNED for using a %w%;Say BANNED: %p% for using a %w%;TempBan 1800 %p%, No SHOTGUN  (30m ban)! You used a %w% weapon.
On Kill;Map Subway;Damage Shotgun;PlayerCount 1;Log: %p% was KICKED for using a %w%;Say KICKED: %p% for using a %w%;Kick %p%, No SHOTGUN on Metro ! You used a %w%.
On Kill;Map Subway;Damage Shotgun;Log: %p% has %c%/1 offenses (%w%);Say  %p%!!! Warning %c%/1 for using a %w%;Kill 100
Will the playercount reset? If yes, how long for it to reset?
Player count resets whenever a new map loads or an old map reloads.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by jdge439*:

 

Im new here, And Im not allowed to make a new thread. But, We do use proconrulz on our server and I have a question.

 

Is it capable of setting ticket% by either map order or mode? As Chainlink hasnt been added to very many plugins, Id imagine the only way to accomplish this task is a plugin that changes % based on the # of the map in rotation.

 

Im trying to run a mix mode server, dragons teeth conquest and chanilink. Currently Chainlink is way to short, so we have been only running it with our ticket % upped to 300%, I guess you can see the issue with adding conquest in.

 

Is there any plugin that can Change the Game %'s? Based on the mode or the number in rotation?

 

Thanks,

 

Jdge

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

Originally Posted by LjMjollnir*:

 

@jdge439

 

It sure is :ohmy:.. however Proconrulz doesnt know what the next map is it only knows the current map.. and that there is a problem :ohmy:

you can only set Ticket counts n game counter before the round begins.. so unless you know the next map you really cant do it (without restarting the round)

 

%mm% contains the game mode so for Chainlink it is Chainlink0 and %m% contains the map name

 

so with those 2 bits of information you know what the current map and mode is.. so if you are NOT running anything that changes the order of the maps being played you could always check the map before chainlink and set the counters at the end of the round

 

however if you are running votemap or anything else that might change the order of the played maps that will not work and you will need to set the data once the map has loaded.. then restart the round

 

im unsure if Ultimate Map Manager has been updated for Dragons Teeth but it allows for separate settings per map might be one to look at.. or you can attempt to write a proconrulz script to handle it

 

Code:

On Init;if %mm% == "Chainlink0"
   Exec vars.gameModeCounter 300
   if %ini_gamemode_test% == 0;Set %ini_gamemode_test% 1;Log Restarting round to set gameModeCounter for Chainlink;exec mapList.restartRound
On Init;if %mm% != "Chainlink0"
   Exec vars.gameModeCounter 100
   if %ini_gamemode_test% == 1;Set %ini_gamemode_test% 0;Log Restarting round to set gameModeCounter for Normal;exec mapList.restartRound
^^ completely untested

but the idea is to set an ini variable so you know if you need to restart the round based on if a chainlink map was last run or not :ohmy:

hope that helps

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

Originally Posted by ty_ger07*:

 

Here is a bug in this plugin. So ur not able to use constructions like:

Code:

On Kill; Damage 1,2,3..; Weapon 4,5,6..; Kit 7,8,9..; Do smth...
Where is the bug? Please note that only BFBC2 supports kit. So if you try kit in BF3 or BF4, it won't work. Otherwise, I don't see any bug.

 

"Weapon a,b,c" is supported and means weapon a, b, or c. "Damage a,b,c" is also supported and means damage a, b, or c. Please note however that the semicolons between conditions mean and NOT or. So, you are saying weapon a, b, or c and damage a,b,or c.

 

Read the documentation if you need further help.

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

Originally Posted by ty_ger07*:

 

Tell me how to make the plugin through the VIP slot

If you read the documentation which is provided to you via a link in the first post, you will see information about the 'Protected' condition.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by DoctorTrojan*:

 

ty_ger07, i mean if i want to allow pistols expect G18, 93R for example. I write

Code:

On Kill;Not Damage Handgun;Weapon U_M93R,U_Glock18;Kill
But this code will not work coz a bug. If u will perform a kill with G18 u will not be punished coz plugin stops on first condition. G18 is a handgun.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

ty_ger07, i mean if i want to allow pistols expect G18, 93R for example. I write

Code:

On Kill;Not Damage Handgun;Weapon U_M93R,U_Glock18;Kill
But this code will not work coz a bug. If u will perform a kill with G18 u will not be punished coz plugin stops on first condition. G18 is a handgun.
It's not a bug. It is a flaw in your logic. As you said, it stops at the first condition because a G18 is a handgun. Each rule only proceeds to the action at the end of the line if all the conditions of that rule are satisfied. If any one condition is not satisfied, it stops that rule from proceeding to the end.

 

Here: "or" not "and":

 

On Kill;Not Damage Handgun;Kill

On Kill;Weapon U_M93R,U_Glock18;Kill

 

There. That does what you want to do.

 

As I said, each semicolon between each condition is 'and'. The documentation also states this.

 

The G18 is a handgun. It can't be both not a handgun and a specific handgun -- they are mutually exclusive. You wanted not a handgun or a specific handgun -- therefore you need to put them on separate rules.

 

If it helps, draw circles on a piece of paper around each condition and see which group of circles is mutually exclusive or which group of circles share a common area. If they are mutually exclusive, they need to be separate rules.

 

If you want the infractions to the rules to share the same punishment counter, create an incremented variable shared by both separate rules and punish when that variable exceeds a certain quantity.

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

Originally Posted by Bandit66AU*:

 

Anyone got the entries to kill a player for killing with a jet in BF4? Is there a vehicle type jet in Proconrulz for BF4?

 

Ive search this thread and cant find anything - not for lack of trying since the thread search option says "jet" is too small a search term.

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

Originally Posted by LjMjollnir*:

 

Anyone got the entries to kill a player for killing with a jet in BF4? Is there a vehicle type jet in Proconrulz for BF4?

 

Ive search this thread and cant find anything - not for lack of trying since the thread search option says "jet" is too small a search term.

Code:
A-10 Thunderbolt Attack Jet Gameplay/Vehicles/A-10_THUNDERBOLT/A10_THUNDERBOLT VehicleAir None 
A-130 Gunship Gameplay/Vehicles/AC130/AC130_Gunship VehicleAir None 
AH-1Z Viper Attack Helicopter Gameplay/Vehicles/AH1Z/AH1Z VehicleAir None 
AH-6 Little Bird Scout Helicopter Gameplay/Vehicles/AH6/AH6_Littlebird VehicleAir None 
B-1 Lancer Bomber XP1/Gameplay/Vehicles/B1Lancer/B1Lancer VehicleAir None 
F-35 Stealth Jet Gameplay/Vehicles/F35/F35B VehicleAir None 
J-20 Stealth Jet Gameplay/Vehicles/Ch_FJET_J-20/CH_FJET_J-20 VehicleAir None 
Xian H-6 Bomber XP1/Gameplay/Vehicles/H6K/H6K VehicleAir None 
Mi-28 Havoc Attack Helicopter Gameplay/Vehicles/Mi28/Mi28 VehicleAir None 
Su-25TM Attack Jet Gameplay/Vehicles/SU-25TM/SU-25TM VehicleAir None 
Su-50 Stealth Jet Gameplay/Vehicles/RU_FJET_T-50_Pak_FA/RU_FJET_T-50_Pak_FA VehicleAir None 
Global Hawk UAV Gameplay/Vehicles/UAV_GlobalHawk/UAV_GlobalHawk VehicleAir None 
Q-5 Fantan Attack Jet Gameplay/Vehicles/CH_JET_Qiang-5-fantan/CH_JET_Q5_FANTAN VehicleAir None 
Z-10 Attack Helicopter Z-10w VehicleAir None 
Z-11W Scout Helicopter Gameplay/Vehicles/Z11W/Z-11w VehicleAir None 
Z-11W Scout Helicopter Gameplay/Vehicles/Z11W/spec/Z-11w_CH VehicleAir
First is the name.. second is weapon key (what inside %wk% on a kill) and the third is the damage type :ohmy:

 

 

now a quick way to disable all of a specific damage type

 

On Kill;Damage VehicleAir;Kill;PlayerSay no Air Vehicles allowed

 

however if you only want to single out the Jets you will need to make some different rules instead :ohmy:

 

On Kill;if %wk% contains "Jet";kill;PlayerSay No Jets allowed

On Kill;if %wk% contains "F35";kill;PlayerSay No Jets allowed

On Kill;if %wk% contains "Thunder";kill;PlayerSay No Jets allowed

.. etc etc till you have one for each of the jets

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