Jump to content

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


ColColonCleaner

Recommended Posts

  • 2 weeks later...
  • 2 weeks later...
1 minute ago, spyder27 said:

!killme 

To make sure he kills himself, what command should I give? (I mean in proconRulz string)

Thanks to who will ansewer me.

Adkats has that built in.

Need new plugin features? I can change: Adkats, AdKatsLRT, LanguageEnforcer, InsaneLimits, xVotemap for you. Also working on new plugins. Have an idea? Share it and I might include it in my repos. Github.com/hedius

 

Check out E4GLAdKats for an advancded and maintained AdKats version.

Link to post
  • 1 month later...

I would like to include the CROSSBOW in the permitted weapons (BF4).

Who can help me insert the right string in these codes?

Thanks

in proconrulz

 

 

 

 

# ColonelSeven's Pistol and Melee for Battlefield 4 v0.5
# Information Shouts
On Spawn;PlayerFirst;PlayerYell %p%, this server is Pistol and Melee only (Defib,Repair,Knife,Pistol)!;PlayerSay %p%, type !weapons and !commands in chat for more info!
On Say;Text !allowed,!weapons;PlayerSay ::: ALLOWED: FLASHBANG,DEFIBRILLATOR,REPAIR TOOL,KNIFE,PISTOLS;PlayerSay ::: TAKE NOTE: Shorty 12G is classified as a shotgun;PlayerSay ::: TAKE NOTE: ALL Explosives are instant kick!
On Say;Text !commands;PlayerSay ::: COMMANDS: !weapons - !allowed

# Player Total Kicks and Bans check
On Join;If %ini_kickban_tbans[%p%]% == 3;TempBan 86400 %p%, you've been temp. banned 3 times. Ban for 24 hours.;Set %ini_kickban_tbans[%p%]% 0
On Join;If %ini_kickban_kicks[%p%]% == 15;TempBan 86400 %p%, you've been kicked 15 times. Ban for 24 hours.;Set %ini_kickban_kicks[%p%]% 0

# Original by bambam - Modified by ColonelSeven
# Explosives check first (flashbang excl. just in case)
On Kill;Not Weapon U_Flashbang;Damage Explosive;Log ^2EXPLOSIVE: ^1%p% ^0was KICKED for using a ^1%w%;Incr %ini_kickban_kicks[%p%]%;Say %p% was KICKED for using a %w%;Kick %p% Melee and Pistols only! You used a %w%.
On Kill;Not Weapon U_Flashbang;Damage ProjectileExplosive;Log ^2EXPLOSIVE: ^1%p% ^0was KICKED for using a ^1%w%;Incr %ini_kickban_kicks[%p%]%;Say %p% was KICKED for using a %w% ;Kick %p% Melee and Pistols only! You used a %w%.
# Weapons check second
On Kill;Not Weapon U_Flashbang;Not Weapon U_Defib; Not Weapon U_Repairtool;Not Weapon Melee;Not Damage Handgun;PlayerCount 3;Log ^1%p% ^0was BANNED for using a ^1%w%;Incr %ini_kickban_tbans[%p%]%;Say %p% was BANNED (15m) for using a %w%;TempBan 900 %p% (15min)  Melee and Pistols only! You used a %w%.
On Kill;Not Weapon U_Flashbang;Not Weapon U_Defib; Not Weapon U_Repairtool;Not Weapon Melee;Not Damage Handgun;PlayerCount 2;Log ^1%p% ^0was KICKED for using a ^1%w%;Incr %ini_kickban_kicks[%p%]%;Say %p% was KICKED for using a %w% ;Kick %p% Melee and Pistols only! You used a %w%.
On Kill;Not Weapon U_Flashbang;Not Weapon U_Defib; Not Weapon U_Repairtool;Not Weapon Melee;Not Damage Handgun;PlayerCount 1;Log ^1%p% ^0has ^2%c%/2 ^0offenses (^1%w%^0);Set %warnyell% 2;Say ::: WARNING: %p%, warning %c%/2 for using a %w%;PlayerSay %p%, Melee and Pistols only! You used a %w% (%c%/2);PlayerYell %p%, Melee and Pistols only! You used a %w% (%c%/2);Kill 100
On Kill;Not Weapon U_Flashbang;Not Weapon U_Defib; Not Weapon U_Repairtool;Not Weapon Melee;Not Damage Handgun;Log ^1%p% ^0has ^2%c%/2 ^0offenses (^1%w%^0);Set %warnyell% 1;Say ::: WARNING: %p%, warning %c%/2 for using a %w%;PlayerSay %p%, Melee and Pistols only! You used a %w% (%c%/2);PlayerYell %p%, Melee and Pistols only! You used a %w% (%c%/2);Kill 100

# Warning Yell On Spawn (after offense 1 and 2)
On Spawn;If %warnyell% == 2;Log Yell^2 2/2 ^0given to ^1%p%;PlayerYell %p%, you've 2/2 offenses! Next will be a KICK!;Set %warnyell% 0
On Spawn;If %warnyell% == 1;Log Yell^2 1/2 ^0given to ^1%p%;PlayerYell %p%, you've 1/2 offenses! Pistols and Melee only!;Set %warnyell% 0

# Kill Announcer
On Kill;Weapon Melee;Say *** %p% grabbed and stabbed %v%!!!
On Kill;If %wk% contains Defib;Say *** %p% zapped %v% with the Defib!!!
On Kill;If %wk% contains Repair;Say *** %p% killed %v% with the Repair Tool!!!
On Kill;If %wk% contains Flashbang;Say *** %p% killed %v% with a FLASHBANG!!!

# FIRSTBLOOD
On Kill;ServerFirst;Say *** %p% has FIRST BLOOD by killing %v% with a %w%

Edited by spyder27
Link to post
  • 3 months later...
  • 2 months later...
On 5/31/2022 at 5:03 PM, eros122 said:

On Kill;Headshot;PlayerSay Headshot Count [%p%] your headshots %hs% on this round

 

i made headshot count

but count didnt work

 

any ideas?

You need to set a variable to track and add the headshots. Just search in this topic for headshot, I saw an example

Link to post
On 5/31/2022 at 11:03 PM, eros122 said:

On Kill;Headshot;PlayerSay Headshot Count [%p%] your headshots %hs% on this round

 

i made headshot count

but count didnt work

 

any ideas?

16 hours ago, Zillion70 said:

You need to set a variable to track and add the headshots. Just search in this topic for headshot, I saw an example

thought id post the method i gave him on discord to help others out if needed

 

this one will display a message each time that player gets a kill and will keep the count for the round
 

On Kill;Headshot;Incr %hs%;PlayerSay Headshot Counter [%p%] you have %hs% headshots on this round

next one will count each headshot but only display a message at set amounts

On Kill;Headshot;Incr %hs%;
    If %hs% == 5;PlayerSay Headshot Counter [%p%] you have made %hs% headshots on this round
    If %hs% == 10;PlayerSay Headshot Counter [%p%] you have made %hs% headshots on this round
    If %hs% == 15;PlayerSay Headshot Counter [%p%] you have made %hs% headshots on this round
    If %hs% == 20;PlayerSay Headshot Counter [%p%] you have made %hs% headshots on this round



 

Link to post
  • 2 months later...

This code doesn't seem to work, only message works, what am I doing wrong?

I'm not good with codes, I want to ban mortar and ucav.

 

 

On Kill;Weapon M224;Kill

On Kill;Weapon M224;PlayerCount 5;Log %p% banned for Mortar;Ban %p% Mortar use

On Kill;Weapon M224;PlayerCount 3;Log %p% kicked for Mortar;Kick %p% Mortar use

On Kill;Weapon Mortar;PlayerSay %p% No Mortar Use;Kill 100

Link to post

these should work. however i have not tested it.

use either this

On Kill;Weapon M224,U_M224;PlayerSay %p% No Mortar Allowed;kill
    PlayerCount 5;Log %p% Banned for using Mortar;Ban %p% using Mortar
    PlayerCount 3;Log %p% kicked for using Mortar;Kick

On Kill;Weapon UCAV;PlayerSay %p% No UCAV Allowed;kill
    PlayerCount 5;Log %p% Banned for using Mortar;Ban %p% using UCAV
    PlayerCount 3;Log %p% kicked for using Mortar;Kick

or if that does not work try using this.

On Kill;Weapon M224,U_M224;PlayerSay %p% No Mortar Allowed;kill
    Incr %mortarkills%;
    If %mortarkills% == 5;Log %p% Banned for using Mortar;Ban %p% using Mortar
    If %mortarkills% == 3;Log %p% kicked for using Mortar;Kick

On Kill;Weapon UCAV;PlayerSay %p% No UCAV Allowed;kill
    Incr %ucavkills%;
    If %ucavkills% == 5;Log %p% Banned for using Mortar;Ban %p% using UCAV
    If %ucavkills% == 3;Log %p% kicked for using Mortar;Kick

 

Edited by MrSpins
Link to post
10 hours ago, MrSpins said:

these should work. however i have not tested it.

use either this

On Kill;Weapon M224,U_M224;PlayerSay %p% No Mortar Allowed;kill
    PlayerCount 5;Log %p% Banned for using Mortar;Ban %p% using Mortar
    PlayerCount 3;Log %p% kicked for using Mortar;Kick

On Kill;Weapon UCAV;PlayerSay %p% No UCAV Allowed;kill
    PlayerCount 5;Log %p% Banned for using Mortar;Ban %p% using UCAV
    PlayerCount 3;Log %p% kicked for using Mortar;Kick

or if that does not work try using this.

On Kill;Weapon M224,U_M224;PlayerSay %p% No Mortar Allowed;kill
    Incr %mortarkills%;
    If %mortarkills% == 5;Log %p% Banned for using Mortar;Ban %p% using Mortar
    If %mortarkills% == 3;Log %p% kicked for using Mortar;Kick

On Kill;Weapon UCAV;PlayerSay %p% No UCAV Allowed;kill
    Incr %ucavkills%;
    If %ucavkills% == 5;Log %p% Banned for using Mortar;Ban %p% using UCAV
    If %ucavkills% == 3;Log %p% kicked for using Mortar;Kick

 

I tested both codes, and none of them killed the player who used prohibited weapons.

Link to post
9 hours ago, MrSpins said:

are you testing it with yourself? remember proconrulz protects server admins so if its not killing you make sure to turn off that setting

I hadn't bothered with that.

I tested both codes, kill is working, kick and ban does not work in either code.

 

Link to post
  • 2 weeks later...
8 hours ago, PROTECTORSNIPER said:

Hello,

i need a code for the following server information For Proconrulz ( on Spawn ) on spawn server and player stats, as in the picture below. Thanks.

Screenshot (59).png

maybe use the search function before :) that's the stats / chat logger plugin.

Need new plugin features? I can change: Adkats, AdKatsLRT, LanguageEnforcer, InsaneLimits, xVotemap for you. Also working on new plugins. Have an idea? Share it and I might include it in my repos. Github.com/hedius

 

Check out E4GLAdKats for an advancded and maintained AdKats version.

Link to post
5 hours ago, Hedius said:

maybe use the search function before :) that's the stats / chat logger plugin.

ok Thanks,  can you help me with this ?

I recently rented a battlefield 4 server and now I want to set it up properly, I have already set up all the necessary procon plugins,

except one,  ( Chat, GUID, Stats and Mapstats Logger ), now i just have to find out how exactly i connect the Server to Mysql ?

I don't know my way around here at all, I wanted you to describe me exactly how I use mysql have to do ? what exactly am I supposed to do there ? 

an exact description of the process would be good. Thanks

Link to post
2 minutes ago, PROTECTORSNIPER said:

ok Thanks,  can you help me with this ?

I recently rented a battlefield 4 server and now I want to set it up properly, I have already set up all the necessary procon plugins,

except one,  ( Chat, GUID, Stats and Mapstats Logger ), now i just have to find out how exactly i connect the Server to Mysql ?

I don't know my way around here at all, I wanted you to describe me exactly how I use mysql have to do ? what exactly am I supposed to do there ? 

an exact description of the process would be good. Thanks

Do you have a mysql server? From your procon hoster?

3 minutes ago, PROTECTORSNIPER said:

ok Thanks,  can you help me with this ?

I recently rented a battlefield 4 server and now I want to set it up properly, I have already set up all the necessary procon plugins,

except one,  ( Chat, GUID, Stats and Mapstats Logger ), now i just have to find out how exactly i connect the Server to Mysql ?

I don't know my way around here at all, I wanted you to describe me exactly how I use mysql have to do ? what exactly am I supposed to do there ? 

an exact description of the process would be good. Thanks

Eh guess this will become a little longer conversion. You can msg me on discord Hedius#0001 if you want. Will be AFK for the next 3 hours though.

Need new plugin features? I can change: Adkats, AdKatsLRT, LanguageEnforcer, InsaneLimits, xVotemap for you. Also working on new plugins. Have an idea? Share it and I might include it in my repos. Github.com/hedius

 

Check out E4GLAdKats for an advancded and maintained AdKats version.

Link to post
13 minutes ago, Hedius said:

Do you have a mysql server? From your procon hoster?

Eh guess this will become a little longer conversion. You can msg me on discord Hedius#0001 if you want. Will be AFK for the next 3 hours though.

the Mysql is from server hoster,and Procon to,  ( 4Netplayers ). and i have the procon and the plugin is in there, but it can't be activated without mysql. 

Screenshot (60).png

Screenshot (61).png

Screenshot (62).png

Link to post
3 hours ago, PROTECTORSNIPER said:

the Mysql is from server hoster,and Procon to,  ( 4Netplayers ). and i have the procon and the plugin is in there, but it can't be activated without mysql. 

Screenshot (60).png

Screenshot (61).png

Screenshot (62).png

You need

Host, database name, user, password for the database.

Port should be 3306.

 

somewhere in the 4netplayers interface you should be able to get that info.

 

Otherwise, ask their support. Maybe they can provide it.

 

Enter that info in the plugin settings and then the plugin should start.

Need new plugin features? I can change: Adkats, AdKatsLRT, LanguageEnforcer, InsaneLimits, xVotemap for you. Also working on new plugins. Have an idea? Share it and I might include it in my repos. Github.com/hedius

 

Check out E4GLAdKats for an advancded and maintained AdKats version.

Link to post
6 minutes ago, Hedius said:

You need

Host, database name, user, password for the database.

Port should be 3306.

 

somewhere in the 4netplayers interface you should be able to get that info.

 

Otherwise, ask their support. Maybe they can provide it.

 

Enter that info in the plugin settings and then the plugin should start.

oh ok it's that simple i activated the plugin :) it works, Many Thanks

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

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