Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by ixnorp*:

 

Many thanks again.

I added the code and no errors. But is it not so that you cannot kill with a MAV? So the rule On Kill: Weapon Death won't acctually work? I am not the expert but i'm just thinking. I am an absolute noob when it comes to programming. But maybe there is a rule that can trigger a message when a player is using a MAV?

On Kill;Weapon Death;..... will work.

 

you can do something like this, this will tell the whole server player is using mav to kill.

 

On Kill;Weapon Death;kill;Say %p% got killed for killing with mav....

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

Originally Posted by m4gnet*:

 

Oh no! It does not work. Server BC2.

As an example. It works, but not completely. DeathsStreak is obtained only once on player per round. Somewhere hiding error.

 

# Death Streak Announcer

On Kill;If %streak_death[%p%]% == 0;Set %deathincr% 0

On Kill;Incr %deathincr%;Incr %streak_death[%p%]%;

On Kill;If %deathincr% == 5;Set %deathincr% 5;

On Kill;If %streak_death[%p%]% == 5;Say %v% have a 5-Deaths Streak!

 

________________________________;Yell 5000 %v% have a 5-Deaths Streak!

Yell 5000 = 5 second message

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

Originally Posted by ixnorp*:

 

the On Kill;Weapon Roadkill should handle the roadkills from MAV

Eh? Damn. Now it's my turn. I thought it was on kill;damage roadkill;... Gave me bad condition.

 

 

Sent from my iPhone using Tapatalk

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

Originally Posted by ixnorp*:

 

Oh no! It does not work. Server BC2.

As an example. It works, but not completely. DeathsStreak is obtained only once on player per round. Somewhere hiding error.

 

# Death Streak Announcer

On Kill;If %streak_death[%p%]% == 0;Set %deathincr% 0

On Kill;Incr %deathincr%;Incr %streak_death[%p%]%;

On Kill;If %deathincr% == 5;Set %deathincr% 5;

On Kill;If %streak_death[%p%]% == 5;Say %v% have a 5-Deaths Streak!

 

________________________________;Yell 5000 %v% have a 5-Deaths Streak!

Yell 5000 = 5 second message

Not sure if mine is right. Didn't test it. I'm also not very good on this, but anyway I still get to learn.

 

On spawn;set %death?[%p%]% 0

 

On kill;incr %death?[%v%]% (not sure if this should be %p%)

 

 

On kill;if %death?[%v%]% == 5;say %p% is on 5 death streak

On kill;.....

 

 

 

 

Sent from my iPhone using Tapatalk

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

Originally Posted by LjMjollnir*:

 

LjMjollnir - is the question? RoadKill

may mean it?

On Kill;Not Admin;Weapon roadkill;Say %p% slayed %v% with %w%! RoadKill Unallowed / Killed by Admin;Kill

adding Not Admin will disable that Rule for Admins.. meaning an Admin can roadkill players but general players cant roadkill anyone.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Tomgun*:

 

ok I had this idea while sitting on the "white seat", the idea came to me instead of instant kill for vehicle use in an infantry only server why not let people punish for it (more satisfying) so I have made the following but need some help:

 

################################################## #######

# Vehicle Kill Punisher by TomGunSE

################################################## #######

 

On Spawn;ServerFirst;Set %ini_punish% 0

On Kill;Weapon Death;PlayerSay %p% you vehicle/mortor killed %v%. This is not allowed!! %v% may punish you!!

On Kill;Weapon Death;VictimSay %v%: Type !v or !vehicle to punish %p% for vehicle kill!

# Vehicle kill Tracking Rulz

On Kill;Weapon Death;Set %server_vehiclekillkill[%p%]% %v%

On Kill;Weapon Death;Set %server_vehiclekillkill[%v%]% %p%

# Vehicle Kill Punish Rulz

On Say;Text !v,!vehicle;If %server_vehiclekillkill[%p%]% == 0;PlayerSay %p%: could not find a recent vehicle kill to punish! or already has been punished!

On Say;Text !v,!vehicle;If %server_vehiclekillkill[%p%]% != 0

Incr %ini_punish_count[%server_vehiclekillkill[%p%]%]%

If %ini_punish_count[%p%]% == 4;TempBan 300 %p% TempBan 5 minutes;Set %ini_punish_count[%p%]% 0

TargetPlayer %server_vehiclekillkill[%p%]%;TargetAction Say %t% killed for vehicle kill!;TargetAction Kill;TargetConfirm;Set %server_vehiclekillkill[%p%]% 0

#Leave

On Leave;Set %ini_punish_count[%p%]% 0

now yes I have edited a previous !punish for TK script so well done who made this before if you recognize your work so cheers, but I would like it to kick on the 4th punish and if they come back temp ban for 5 mins on the 5th punish going onto a full ban on the 6th punish plus put road kill in there (I haven't got the code right). I would also like roadkill added but now sure where to put it and what to put.

 

So if anyone can help I would be grateful :smile:

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

Originally Posted by m4gnet*:

 

On Kill;Weapon roadkill;Count 5;TempBan 300 Banned 5min for Vehicle kill [Warning 5/3]

On Kill;Weapon roadkill;Count 4;Kick Kicked for Vehicle kill [Warning 4/3]

On Kill;Weapon roadkill;Count 3;Say %p% bam bam [Warning 3/3];Kill

On Kill;Weapon roadkill;Count 2;Say %p% bam bam [Warning 2/3];Kill

On Kill;Weapon roadkill;Say %p% slayed %v% with %w%! RoadKill Unallowed [Warning 1/3];Kill

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

Originally Posted by DHGreenday*:

 

You don't need the ";" at the end of your lines. This will give the 2nd warning on the 2nd & 3rd triggers, and then the 1st warning on all triggers after. I don't know how to set it to only give the warnings on 2nd & 4th.

 

On Say;Text hack,cheat,cheater,hacker;

PlayerCount 3;PlayerSay AUTOADMIN: %p% Again if you think someone is cheating please notify an admin with !admin

PlayerCount 1;PlayerSay AUTOADMIN: %p% if you think someone is cheating please notify an admin with !admin

Thanks for the advice I have worked out how to do it now! Its quite simple, I just needed to add PlayerOnce to each line. The 2 inevitable outcomes are either 1 the player disconnects or 2 the player gets a timeban so each message will only need to be shown once but if you want to repeat then all you have to do is do the same message on the next player count. On the one I've created all messages are different. Everything resets when the player rejoins anyhow.

 

Feel free to use and tweak as you wish. I would like to add a delayed message to the player ingame before the ban is issued. I just need to work out if it is possible.

 

The rule will be ignored if the player notifies an admin with the trigger words.

 

On Say;Text hack,cheat,cheater,hacker,hck,wallhack,esp,aimbot, multihack;Not Text admin,!admin,@admin,#admin;

PlayerOnce;PlayerSay AUTOADMIN: %p% If you think someone is cheating please say !admin cheater to notify an admin

PlayerCount 1;PlayerOnce;PlayerSay AUTOADMIN: %p% Report suspects say !report playername cheater or !admin cheater

PlayerCount 2;PlayerOnce;PlayerSay AUTOADMIN: %p% Sorry we can't respond please report cheaters at ............... or on their battlelog profile

PlayerCount 3;PlayerOnce;PlayerSay AUTOADMIN: %p% We strongly advice you to report suspects on our website ............... or on battlelog

PlayerCount 4;PlayerOnce;PlayerSay AUTOADMIN: %p% Thanks for your concern but next hackusation will be regarded as spam = 30 mins Tempban

PlayerCount 5;PlayerSay AUTOADMIN: %p% Giving timeout;TempBan 1800 AUTOADMIN: 30 minutes timeout to report the player on battlelog

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

Originally Posted by mal0mod0*:

 

Is there anyhow to make a "most capture"(conquest) rule...sort of like most kills file? I read through documentation but didn't see anything? Also BF4 doesn't have individual knife kills yet?

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

Originally Posted by Velocus_NL*:

 

Hello again,

 

Is this code right for a DMR only server?

 

On Kill;Not Damage DMR;PlayerCount 5;Log %p%banned (DMR only);Ban %p% DMR only

On Kill;Not Damage DMR;PlayerCount 3;Log %p% kicked (DMR only);Kick %p% DMR only

On Kill;Not Damage DMR;PlayerSay %p% DMR only;Kill 100

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

Originally Posted by ixnorp*:

 

Also BF4 doesn't have individual knife kills yet?

BF4 only has Melee for all knifes

 

 

Hello again,

 

Is this code right for a DMR only server?

 

On Kill;Not Damage DMR;PlayerCount 5;Log %p%banned (DMR only);Ban %p% DMR only

On Kill;Not Damage DMR;PlayerCount 3;Log %p% kicked (DMR only);Kick %p% DMR only

On Kill;Not Damage DMR;PlayerSay %p% DMR only;Kill 100

ya.. you can cut it shorter like this

 

On Kill;Not Damage DMR

PlayerCount 5;Log %p% banned (DMR only);Ban %p% DMR only

PlayerCount 3;Log %p% kicked (DMR only);Kick %p% DMR only

PlayerSay %p% DMR only;Kill 100

 

i assume you put %p% at kick/ban is to be shown at the kick/ban reason right?

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

Originally Posted by chesterfield*:

 

sorry again

 

So only this Code Stop all M320 from evry weapon on my server?

 

On Kill;if %wk% contains M320_HE;Say Killed %p%, No M320 HE/LVG on this server;Kill 100

On Kill;if %wk% contains M320_LVG;Say Killed %p%, No M320 HE/LVG on this server;Kill 100

 

THX

With this code they dont got a kill in there STATS, only on field they die.

Is it possible that they get a kill in there Stats?

 

Other Question

Is it possible to make only one sniper or dmr due a Squad?

Squad Alpha 1 Sniper or 1 DMR

Squad Bravo 1 Sniper or 1 DMR

 

THX ppl

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

Originally Posted by ixnorp*:

 

With this code they dont got a kill in there STATS, only on field they die.

Is it possible that they get a kill in there Stats?

 

Other Question

Is it possible to make only one sniper or dmr due a Squad?

Squad Alpha 1 Sniper or 1 DMR

Squad Bravo 1 Sniper or 1 DMR

 

THX ppl

what you mean kill in their stats___:huh:

 

that code only kills player that killed other players with m320 HE and LVG. Doesn't stop the other m320 like smoke/flash/dart

 

 

And there are already sniper & dmr limit files in the proconrulz zip.

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

Originally Posted by chesterfield*:

 

The code is nice and it works, but ppl dont get a death calculated, if they killed one with m320 HE/LVG.

 

I know the limits, but i see no limit with only 1 sniper or dmr du a squad

Squad Alpha 1 Sniper or 1 DMR

Squad Bravo 1 Sniper or 1 DMR

 

THX and sorry for my bad english, i hope you understand

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

Originally Posted by ixnorp*:

 

The code is nice and it works, but ppl dont get a death calculated, if they killed one with m320 HE/LVG.

 

I know the limits, but i see no limit with only 1 sniper or dmr du a squad

Squad Alpha 1 Sniper or 1 DMR

Squad Bravo 1 Sniper or 1 DMR

 

THX and sorry for my bad english, i hope you understand

I think it is because it is an admin kill, that is why there is no deathcount.

 

Not sure about the sniper/dmr limits, didn't use it before, only know it is included in the zip. Sorry.

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

Originally Posted by Rodex*:

 

I created a punish rule that includes:

* punish for payback

* forgive if you say sorry/sry (3 times then auto punish on the 4:th "sry") (count is variable, set the count to what you want)

* If you !punish > 5 times you get punished :ohmy: After all, your in a team..... (optional, set a variable and you'll disable this)

 

Anyone up for testing it? search for SKK on servers, when it's working I'll share it here of course!

(It's a pistol/knife only HC TDM server)

I can't test myself now, I'm at work :ohmy:

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

Originally Posted by virusdead*:

 

I have wished that this module does not ban players for concealment but temperament ban

 

On Kill;map mp_prison;Damage Shotgun

PlayerCount 2;Say Banned %p% for using Shotguns;Ban No shotguns on this server!!!

PlayerCount 1;Say %p% :::::::::Kicked from server for using Shotguns!!;Kick Warning kick this time.. no shotguns will be a BAN next time.

Say %p% :::::::::: killed for using Shotguns;Kill 100

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

Originally Posted by ixnorp*:

 

I have wished that this module does not ban players for concealment but temperament ban

 

On Kill;map mp_prison;Damage Shotgun

PlayerCount 2;Say Banned %p% for using Shotguns;Ban No shotguns on this server!!!

PlayerCount 1;Say %p% :::::::::Kicked from server for using Shotguns!!;Kick Warning kick this time.. no shotguns will be a BAN next time.

Say %p% :::::::::: killed for using Shotguns;Kill 100

On Kill;map mp_prison;Damage Shotgun

PlayerCount 2;Say Banned %p% for using Shotguns;TempBan (seconds) No shotguns on this server!!!

PlayerCount 1;Say %p% :::::::::Kicked from server for using Shotguns!!;Kick Warning kick this time.. no shotguns will be a BAN next time.

Say %p% :::::::::: killed for using Shotguns;Kill 100

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

Originally Posted by virusdead*:

 

On Kill;map mp_prison;Damage Shotgun

PlayerCount 2;Say Banned %p% for using Shotguns;TempBan900 (seconds) No shotguns on this server!!!

PlayerCount 1;Say %p% :::::::::Kicked from server for using Shotguns!!;Kick Warning kick this time.. no shotguns will be a BAN next time.

Say %p% :::::::::: killed for using Shotguns;Kill 100

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

Originally Posted by Velocus_NL*:

 

On Kill;Weapon Death;..... will work.

 

you can do something like this, this will tell the whole server player is using mav to kill.

 

On Kill;Weapon Death;kill;Say %p% got killed for killing with mav....

How about this?

 

On Kill;Damage MAV;PlayerCount 5;Log %p% banned for ;Ban %p% MAV

On Kill;PlayerCount 3;Log %p% kicked for MAV;Kick %p% using MAV

On Kill;Damage MAV;PlayerSay %p% no MAV allowed;Kill 100

 

Maybe its not important but i run a sniper & knives only server. So they use mav to destroy spawnbeak.

 

Many thanks again.

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