Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by spatieman*:

 

use the server rules on request plugin for this.

or adkats,if u have database access.

 

but if u host a proconlayer.

u also have FTP access to the layer,where u can upload all needed files.

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

Originally Posted by Sussan*:

 

Hello I need some help to configure the !rules command for my bf4 server please. On our oldserver in the procon layer this plugin was installed for us. How ever we moved to new provider so need to manually set it up. This is what we have in the proconrulez_rules txt file

 

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

# Server !rules messages

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

 

On Say;Text !rules

 

and then we list what we want the rules to be. But no matter what way I do it no response is given to the !rules command. Can some please point me in the direction I need to go to fix this.

i use insane limits and put this in it:

 

enable

!rules

onanychat

expression

player.LastChat.StartsWith("!rules")

code

// Edit rules here

List Rules = new List();

Rules.Add("----- SERVER RULES -----");

Rules.Add("put inbetween here youre rules");

Rules.Add("put inbetween here youre rules");

Rules.Add("put inbetween here youre rules");

Rules.Add("put inbetween here youre rules");

Rules.Add("put inbetween here youre rules");

 

// Try not to add more Rules.Add because it won't fit in the chat box.

 

if(limit.Activations(player.Name)

foreach(string Rule in Rules)

plugin.SendSquadMessage(player.TeamId, player.SquadId, Rule);

 

return false;

 

 

 

so this works for me.. i dont know if you use insane limits.. but let me know if it works

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

Originally Posted by spatieman*:

 

Weard isue.

we want a sniper limit rule that can be turned on or off on our BF4 server.

So far that works,the turning it on or off that is.

 

But for some reason the rule is not kicking in.

this is the code we have

 

Code:

on say;admin;text !start sniper;set %wep_sniper% 1;say ** BOLT SNIPER ONLY **
on say;admin;text !stop sniper;set %wep_sniper% 0;playersay all allowd
on say;admin;text !check sniper;playersay status:;if %wep_sniper% = 0;playersay Weapon sniperer off
on say;admin;text !check sniper;playersay status:;if %wep_sniper% = 1;playersay Weapon sniperer on

if %wep_sniper% = 1;on kill;not damage sniperrifle;weapon U_SKS,U_SR338,U_RFB,U_MK11,U_QBU88,U_SCAR-HSV,U_M39EBR,U_GalilACE53
if %wep_sniper% = 1;Incr %kill_sniper[%p%]%
if %wep_sniper% = 1;If %kill_sniper[%p%]% == 1;say SORRY, WEAPON LIMIT ACTIVE -> !limit;kill 2000
if %wep_sniper% = 1;If %kill_sniper[%p%]% == 2;say PLEASE TYPE !limit NO OTHER WEAPONS;kill 2000
if %wep_sniper% = 1;If %kill_sniper[%p%]% == 3;playersay LEARN ENGLISH PLEASE -> !limit in chat;kill 2000 
if %wep_sniper% = 1;If %kill_sniper[%p%]% == 4;playersay RESPECT THE WEAPON LIMIT PLEASE;kill 2000 
if %wep_sniper% = 1;If %kill_sniper[%p%]% == 5;playersay U ARE ABOUT TO GET KICKED,STOP IT !limit;kill 2000
if %wep_sniper% = 1;If %kill_sniper[%p%]% == 6;playersay FINAL WARNING TYPE !limit,NEXT KILL IS KICK;kill 2000
if %wep_sniper% = 1;If %kill_sniper[%p%]% == 7;say KICKING %p% FOR NOT READING THE LIMIT RULES
if %wep_sniper% = 1;If %kill_sniper[%p%]% >= 7;Set %kill_sniper[%p%]% 0

if %wep_sniper% = 0;on say;text !limit;say ** NO weapon limit active **
if %wep_sniper% = 1;on say;text !limit;say ** weapon limit active **
+say ONLY BOLT SNIPERS
what am i doing wrong,

it is a adapted version that i use on my BF3 server

 

-edit-

even with full weapon code it is not working..........

weard thing, if i remove the %wel_sniper% in front, it works. eh.

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

Originally Posted by Kulafu101*:

 

Hey there,

Having error, Can you tell me what is wrong?

[17:33:29 79] ProconRulz: loading 93 rulz

[17:33:29 79] ProconRulz: Warning, weapon Weapons/Knife/Knife not found in Procon (but you can still use the key in ProconRulz)

[17:33:29 79] ProconRulz: 93 rules loaded

[17:39:39 89] ProconRulz: loading 114 rulz

[17:39:39 89] ProconRulz: Warning, weapon Weapons/Knife/Knife not found in Procon (but you can still use the key in ProconRulz)

[17:39:39 89] ProconRulz: 114 rules loaded

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

Originally Posted by Gam3R*:

 

Hey there,

Having error, Can you tell me what is wrong?

[17:33:29 79] ProconRulz: loading 93 rulz

[17:33:29 79] ProconRulz: Warning, weapon Weapons/Knife/Knife not found in Procon (but you can still use the key in ProconRulz)

[17:33:29 79] ProconRulz: 93 rules loaded

[17:39:39 89] ProconRulz: loading 114 rulz

[17:39:39 89] ProconRulz: Warning, weapon Weapons/Knife/Knife not found in Procon (but you can still use the key in ProconRulz)

[17:39:39 89] ProconRulz: 114 rules loaded

Which game? BFBC2?
* Restored post. It could be that the author is no longer active.
Link to comment
  • 2 weeks later...

Originally Posted by spatieman*:

 

I made a pimped time date script, but for some reason it goes wonko with the 1st 12 days's

wen i type !date, i should spam 10 dec 2017 ,

but is says, 12 dec 2017 ,bcouse of the _12 in the month translation.

is there a workaround for this?

 

Code:

# Fetching time / date
# 2017_12_10
On Init
  If %ymd% contains _01_;Set %server_month% Jan
  If %ymd% contains _02_;Set %server_month% Feb
  If %ymd% contains _03_;Set %server_month% Mar
  If %ymd% contains _04_;Set %server_month% Apr
  If %ymd% contains _05_;Set %server_month% May
  If %ymd% contains _06_;Set %server_month% Jun
  If %ymd% contains _07_;Set %server_month% Jul
  If %ymd% contains _08_;Set %server_month% Aug
  If %ymd% contains _09_;Set %server_month% Sep
  If %ymd% contains _10_;Set %server_month% Oct
  If %ymd% contains _11_;Set %server_month% Nov
  If %ymd% contains _12_;Set %server_month% Dec

  If %ymd% contains _01;Set %server_day% 1
  If %ymd% contains _02;Set %server_day% 2
  If %ymd% contains _03;Set %server_day% 3
  If %ymd% contains _04;Set %server_day% 4
  If %ymd% contains _05;Set %server_day% 5
  If %ymd% contains _06;Set %server_day% 6
  If %ymd% contains _07;Set %server_day% 7
  If %ymd% contains _08;Set %server_day% 8
  If %ymd% contains _09;Set %server_day% 9
  If %ymd% contains _10;Set %server_day% 10
  If %ymd% contains _11;Set %server_day% 11
  If %ymd% contains _12;Set %server_day% 12
  If %ymd% contains _13;Set %server_day% 13
  If %ymd% contains _14;Set %server_day% 14
  If %ymd% contains _15;Set %server_day% 15
  If %ymd% contains _16;Set %server_day% 16
  If %ymd% contains _17;Set %server_day% 17
  If %ymd% contains _18;Set %server_day% 18
  If %ymd% contains _19;Set %server_day% 19
  If %ymd% contains _20;Set %server_day% 20
  If %ymd% contains _21;Set %server_day% 21
  If %ymd% contains _22;Set %server_day% 22
  If %ymd% contains _23;Set %server_day% 23
  If %ymd% contains _24;Set %server_day% 24
  If %ymd% contains _25;Set %server_day% 25
  If %ymd% contains _26;Set %server_day% 26
  If %ymd% contains _27;Set %server_day% 27
  If %ymd% contains _28;Set %server_day% 28
  If %ymd% contains _29;Set %server_day% 29
  If %ymd% contains _30;Set %server_day% 30
  If %ymd% contains _31;Set %server_day% 31

  if %ymd% contains 2017;set %server_year% 2017
  if %ymd% contains 2018;set %server_year% 2018
  if %ymd% contains 2019;set %server_year% 2019
  if %ymd% contains 2020;set %server_year% 2020

on say;text !time,!date;say today is %server_day% %server_month% %server_year% and the time is %hms%
+;yell 8 today is %server_day% %server_month% %server_year% and the time is %hms%
# spamming special events
on say;text !date;if %ymd% contains _10_04;say Today is World animal's day
on say;text !date;if %ymd% contains _12_24;say Today is christmas eve
on say;text !date;if %ymd% contains _12_25;say Today is first christmas day
on say;text !date;if %ymd% contains _12_26;say Today is second christmas day
on say;text !date;if %ymd% contains _12_31;say Today is New Year's Eve
on say;text !date;if %ymd% contains _01_01;say HAPPY NEW YEAR !!
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by spatieman*:

 

Trying to figure out how to add !nextmap and !stats on my server. Can someone help me please?

for stats u need a SQL database, the statslogger plugin for procon.

 

the !nextmap is as game command !nextlevel

but if u want for proconrulz

on say;admin;text !nextlevel,/nextlevel;say Starting next map now;exec mapList.runNextRound

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

Originally Posted by ty_ger07*:

 

I need the code for ON Join announcement.. To show players joining and disconnecting. Anyone?

Did you read the instructions? It's very easy.

 

On Join;Say %p% is joining.

On Leave;Say %p% left.

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

Originally Posted by SKredneck*:

 

for stats u need a SQL database, the statslogger plugin for procon.

 

the !nextmap is as game command !nextlevel

but if u want for proconrulz

on say;admin;text !nextlevel,/nextlevel;say Starting next map now;exec mapList.runNextRound

Thank you!

 

Did you read the instructions? It's very easy.

 

On Join;Say %p% is joining.

On Leave;Say %p% left.

Yes I read the instructions but couldn't find the code for On Join. Sorry.. Thanks for the help!
* Restored post. It could be that the author is no longer active.
Link to comment
  • 3 months later...

Originally Posted by spatieman*:

 

Any one a idea what i am doing wrong here?

I try to make a shortcut to switch maplists for the ultimate map manager.

normal operation is @maplist 1 on ,than maplist 0 off

Maplist should switch after a few seconds.

 

with this i only need to say !start tdm ,and the TDM maplist should load.

i tried to change @ to / ,but that doesnt work

 

any suggestions ?

 

with this

Code:

#0:default 1:tdm 2:domination 3:rush 4:gun master
on say;text !maplist;
+playersay 0:default 1:tdm 2:dominattion 3:rush 4:Gun Master
+playersay use @maplist _ on, than @maplist _ off
+playersay new maplist is active, old deacttivated

on say; text !start normal;if %ini_whitelist_masters% contains %p%;say switching map mode to DEFAULT maps    ;say /@maplist 0 on;say /@maplist %ini_current_maplist% off;say STANDBY ! Default is loading;set %ini_current_maplist% 0
on say; text !start tdm   ;if %ini_whitelist_masters% contains %p%;say switching map mode to TDM maps        ;say /@maplist 1 on;say /@maplist %ini_current_maplist% off;say STANDBY ! TDM is loading;set %ini_current_maplist% 1
on say; text !start dom   ;if %ini_whitelist_masters% contains %p%;say switching map mode to Domination maps ;say /@maplist 1 on;say /@maplist %ini_current_maplist% off;say STANDBY ! Domination is loading;set %ini_current_maplist% 2
on say; text !start rush  ;if %ini_whitelist_masters% contains %p%;say switching map mode to Rush maps       ;say /@maplist 1 on;say /@maplist %ini_current_maplist% off;say STANDBY ! Rush is loading;set %ini_current_maplist% 3
on say; text !start gm    ;if %ini_whitelist_masters% contains %p%;say switching map mode to Gun Master maps ;say /@maplist 1 on;say /@maplist %ini_current_maplist% off;say STANDBY ! Gun Master is loading;set %ini_current_maplist% 4
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by kot163*:

 

ok now this code work like sniper spawn limit? I want have 1 sniper per team on my server. With YELL player "1 SNIPER per team". Help me pls, sorry for my bad english.

 

Code:

# set the max snipers per team here
On Round;Set %server_sniperlimit% 1

# sniper limit rulz
On Spawn;if %player_is_sniper% == 1;Decr %player_is_sniper%;Decr %team_recontotal%;log il y a %team_recontotal% snipers cote %pt%
On Spawn;Set %player_is_sniper% 0

On kill;Damage sniperRifle;
if %team_recontotal% == 3;if %player_is_sniper% == 0;Yell %p% - Trop de snipers, merci de changer de kit !!!;Kill 5000
if %player_is_sniper% == 1;End;log %p% is still a sniper, %team_recontotal% snipers cote %pt%
incr %team_recontotal%;set %player_is_sniper% 1;log %p% is a sniper, %team_recontotal% snipers cote %pt%
On kill;Not Damage sniperRifle;Not Damage Handgun;if %player_is_sniper% == 1;decr %player_is_sniper%;decr %team_recontotal%;Say Player %p% n'est plus sniper, ily a %team_recontotal% cote %pt%;log %p% n'est plus sniper, %team_recontotal% snipers cote %pt%
On Leave;if %player_is_sniper% == 1;Decr %team_recontotal%
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ColColonCleaner*:

 

There is currently no script that will slay people on spawn for picking the wrong class, only when they kill someone. Spawn events in battlefield do not provide admins which class the person is playing. I would need to modify my loadout enforcer to have class slots, which I doubt I will add at this time.

 

That script should work for when people kill with the sniper class when they don't have the slot. I've never used that script before but many others have.

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

Originally Posted by Gam3R*:

 

Yea I just want it for BFBC2 as insane limits doesn't work.

I'm pretty sure the code can be changed to so clan-tag can be accessed but not sure how.

So if anyone could help that would be awesome :smile:

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

Originally Posted by ColColonCleaner*:

 

Yea I just want it for BFBC2 as insane limits doesn't work.

I'm pretty sure the code can be changed to so clan-tag can be accessed but not sure how.

So if anyone could help that would be awesome :smile:

In BC2 you should have access to that information, it's only in BF3/BF4 that you need to query battlelog for it. I would look through the PDF document on how to program in proconrulz to see if they mention it.
* 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.