Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by DeadShot*:

 

what are you talking about?

What i meant is: lets say i wanted that on conquest the tickets i wan them to be 600/800 but on rush i want them to be 100 and on TDM i want them to be 300/400 tickets. can it be with ProconRulz, or does any one a plugin that can do that, and im already using adaptive ticket count but it's not affective on all modes
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

What i meant is: lets say i wanted that on conquest the tickets i wan them to be 600/800 but on rush i want them to be 100 and on TDM i want them to be 300/400 tickets. can it be with ProconRulz, or does any one a plugin that can do that, and im already using adaptive ticket count but it's not affective on all modes

Yes, you should be able to do it with the Exec command.

 

Remember that you cannot set the ticket quantity directly. You have to refer to the ticket quantity in terms of percentage of the normal default ticket quantity for that mode. Since I don't know the default ticket quantities for each game mode, I will use 200 in the following example which means 200% of the default ticket setting. You should change the ticket number as necessary to reach the ticket quantity you are after.

 

Something like:

 

On Round;MapMode conquest;Exec vars.gameModeCounter 200

On Round;MapMode rush;Exec vars.gameModeCounter 200

On Round;MapMode teamdeathmatch;Exec vars.gameModeCounter 200

 

 

That SHOULD work, but I have not tested it. 'vars.gameModeCounter' is the command to set the ticket percentage and '200' is the percentage I am setting to in the examples above. Adjust the number from 1 to infinity as your heart desires.

 

'On Round' (on round change), the rule will check the current 'MapMode' (game mode being played), and adjust the tickets to the 'vars.gameModeCounter ' value you provided.

 

Lets say that your server loaded a TDM round and lets assume that TDM's default ticket count is 50 (I don't know TDM's actual default ticket count). Let's say you are using this rule:

 

On Round;MapMode teamdeathmatch;Exec vars.gameModeCounter 150

 

That would set the number of tickets to 75 since 150% of 50 is 75.

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

Originally Posted by DeadShot*:

 

Yes, you should be able to do it with the Exec command.

 

Remember that you cannot set the ticket quantity directly. You have to refer to the ticket quantity in terms of percentage of the normal default ticket quantity for that mode. Since I don't know the default ticket quantities for each game mode, I will use 200 in the following example which means 200% of the default ticket setting. You should change the ticket number as necessary to reach the ticket quantity you are after.

 

Something like:

 

On Round;MapMode conquest;Exec vars.gameModeCounter 200

On Round;MapMode rush;Exec vars.gameModeCounter 200

On Round;MapMode teamdeathmatch;Exec vars.gameModeCounter 200

 

 

That SHOULD work, but I have not tested it. 'vars.gameModeCounter' is the command to set the ticket percentage and '200' is the percentage I am setting to in the examples above. Adjust the number from 1 to infinity as your heart desires.

 

'On Round' (on round change), the rule will check the current 'MapMode' (game mode being played), and adjust the tickets to the 'vars.gameModeCounter ' value you provided.

 

Lets say that your server loaded a TDM round and lets assume that TDM's default ticket count is 50 (I don't know TDM's actual default ticket count). Let's say you are using this rule:

 

On Round;MapMode teamdeathmatch;Exec vars.gameModeCounter 150

 

That would set the number of tickets to 75 since 150% of 50 is 75.

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

Originally Posted by Bl1ndy*:

 

Thats a great idea, i figured this might work aswell but i have not tested it yet.

 

Code:

On Round;MapMode TeamDeathMatch;Exec vars.vehicleSpawnAllowed true
On Round;MapMode Conquest;Exec vars.vehicleSpawnAllowed false
Tested and working.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Infoglot*:

 

Is all that stuff on one line? Make sure you have no line breaks.

 

Also try:

-Remove comma in Kick command. Instead of "Kick NEXT TIME,WATCH YOUR LANGUAGE!", try "Kick NEXT TIME WATCH YOUR LANGUAGE!"

Thanks, I'll try.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ChitownJon*:

 

ok im not too savv with these codes ... i was wondering if someone could help me... All i want to do is have NO CLAYMORE in my TDM Server ... and i would like them killed fist time.... then kicked second time.... sooooo if someone can help me i would REALLY much appreciate it and on top of that i know it would go in the "Rules" section of the plugin but do i DELETE ALL thats in there and just put the claymore stuff in there ...and what do i put the delay before kill number at its default at 500o would 5 be a good delay?

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

Originally Posted by tarreltje*:

 

# Claymore rule

On Kill;Weapon Weapons/Gadgets/Claymore/Claymore;PlayerCount 1;Say --- NO CLAYMORE %p% you are being kicked!!;Kick

On Kill;Weapon Weapons/Gadgets/Claymore/Claymore;Say --- NO CLAYMORE %p% !!;Kill 5000

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

Originally Posted by SolarofDeath*:

 

I have used the following code to enforce language bans on our server and while it does give a warning it is not banning, I have looked it over and can't seem to find what the issue might be. Any suggestions? Also sorry for the language that is posted.

 

On Say;

Set %server_badword% 0

Text nigger,n1gger,nigg3r,n1gg3r,nigga,niglet,kike,jew, slope,chink,gook;Set %server_badword% 5

If %server_badword% == 1;Set %words% 0;Set %server_badword% 0; Say %p% banned for racist/intolerant language!;banned for racist/intolerant language!

If %words% > 1;Set %words% 0;Say %p% kicked for racist/intolerant language!;Kick %p% kicked for racist/intolerant language!

if %server_badword% == 1;Say %p% watch your language, only warning!!!

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

Originally Posted by Nord-Kind*:

 

Hey! I need some help with this ProconRulz!

 

 

I am using this code to limit vehicles under 16 players.

 

" On Kill;Weapon Death;Teamsize 8;

PlayerCount 5;Say %p% kicked for vehicle kills;Kick kicked for vehicle kills under 16 players

PlayerCount 2;Say %p% got killed for killing with vehicles %c%/5;Kill 100

Say %p% - no vehicles under 16 players! (#%c%/5) "

 

Sadly - it seems to not function right....

 

 

After 16 players - the vehicle driver still gets the warning - but it is only visible to the other people on the server.

 

Also: It seems as if you dont get killed everytime for a kill with a vehicle under 16 players. Could it be because I am an admin of the server?

 

 

I really need help!

 

 

Greetz!

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

Originally Posted by ty_ger07*:

 

I have used the following code to enforce language bans on our server and while it does give a warning it is not banning, I have looked it over and can't seem to find what the issue might be. Any suggestions? Also sorry for the language that is posted.

 

On Say;

Set %server_badword% 0

Text nigger,n1gger,nigg3r,n1gg3r,nigga,niglet,kike,jew, slope,chink,gook;Set %server_badword% 5

If %server_badword% == 1;Set %words% 0;Set %server_badword% 0; Say %p% banned for racist/intolerant language!;banned for racist/intolerant language!

If %words% > 1;Set %words% 0;Say %p% kicked for racist/intolerant language!;Kick %p% kicked for racist/intolerant language!

if %server_badword% == 1;Say %p% watch your language, only warning!!!

'banned' is not a valid command in this line "If %server_badword% == 1;Set %words% 0;Set %server_badword% 0; Say %p% banned for racist/intolerant language!;banned for racist/intolerant language!"

 

The proper command for banning is Ban not "banned".

 

Also, your logic is all flawed. You are setting the value to 5 on their first offense and then are telling it to ban if the value is equal to 1. Well, the value will never equal one using your rule's logic.

 

Try this instead:

Code:

On Say;Text nigger,n1gger,nigg3r,n1gg3r,nigga,niglet,kike,jew,slope,chink,gook;Playercount 2;Say %p% banned for racist/intolerant language!;Ban banned for racist/intolerant language!
On Say;Text nigger,n1gger,nigg3r,n1gg3r,nigga,niglet,kike,jew,slope,chink,gook;Playercount 1;Say %p% kicked for racist/intolerant language!;Kick kicked for racist/intolerant language!
On Say;Text nigger,n1gger,nigg3r,n1gg3r,nigga,niglet,kike,jew,slope,chink,gook;Say %p% watch your language, only warning!!!
This code would warn for the first offense, kick for the second offense, and if they join the server and do it again, ban for the third offense.

 

This code method makes much more sense for your purpose than the other style of code. The style of code you were using is for setting different levels of bad words where some words have a lesser penalty than other words. But, since you only provided one list of words, you should use the method I provided. If you want to use the other method, you need to provide different levels of 'bad words' and program your logic the correct way.

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

Originally Posted by ty_ger07*:

 

This plugin is easy to use and versatile. Bambam has provided you an excellent document linked to in the first post. If you read that document you should be able to write most rules on your own.

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

Originally Posted by mougoul*:

 

Hello guys, i have another probleme, sorry i'm a noob whith plugin.

I try this but it doesnt work :

( No vehicule kill under 8 players on our server )

On Kill;Map Seine Crossing;Weapon Death;Teamsize 4;PlayerCount 1;Say %p% No vehicle kill under 8 players Warning %c%/2;Kill

On Kill;Map Grand Bazaar;Weapon Death;Teamsize 4;PlayerCount 1;Say %p% No vehicle kill under 8 players Warning %c%/2;Kill

Thanks for all :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bambam*:

 

Hello guys, i have another probleme, sorry i'm a noob whith plugin.

I try this but it doesnt work :

( No vehicule kill under 8 players on our server )

 

 

Thanks for all :smile:

Use the map key for Seine Crossing (look it up in docs in my sig) or worst case use "Map Cross". And "Map Baz".

 

Otherwise looks ok

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

Originally Posted by hazz22*:

 

Hello, i have a server, and i was thinking if it was posible to make the server knife only if there is less then 4 players? and if there is above 4 players its bolt action only?

so far:

On Kill;Not Damage SniperRifle;Not Damage Melee;Say %p% have been kicked for using %w%;Kick %p% Bolt Action snipers only

On Kill;Weapon Mk11,SVD,M39,QBU-88,SKS;Say %p% have been kicked for using %w%;Kick %p% Bolt Action snipers only

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

Originally Posted by Gizmo1981*:

 

I'd like to ask if there is a way I can make proconrulz kill a player if they cause another player damage ( I run a flight practice and machinima server ) but the randoms that join constantly makes it difficult to film anything half decent without having to kick players or kill them.

 

I'm not good with all the scripting thing, Would anyone be able to help make a rulz script that kills a player after damaging another player with any weapon.

 

Thanks.

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

Originally Posted by tarreltje*:

 

I'd like to ask if there is a way I can make proconrulz kill a player if they cause another player damage ( I run a flight practice and machinima server ) but the randoms that join constantly makes it difficult to film anything half decent without having to kick players or kill them.

 

I'm not good with all the scripting thing, Would anyone be able to help make a rulz script that kills a player after damaging another player with any weapon.

 

Thanks.

MAby not the best rule but this should work:

 

On Kill;Not Damage Melee;Say Killing people is not allowed here!!!;Kick

 

So only knife kills are allowed, and everthing else get kicked!

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

Originally Posted by bambam*:

 

Why you no work Rulz_!

 

Code:

On Kill;Rate 2 1;Say [DOUBLE KILL] %p% with a %w%!
After a while it starts to freak out and say it on every kill made. Any thoughts?
? hmmm something strange there then... I'll check it out... maybe you've found a bug...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Gizmo1981*:

 

MAby not the best rule but this should work:

 

On Kill;Not Damage Melee;Say Killing people is not allowed here!!!;Kick

 

So only knife kills are allowed, and everthing else get kicked!

Thanks, I was actually wondering if that would fall under the not damage rule.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by bambam*:

 

Why issn't there an On Death trigger?

 

And a SayTeam option would be nice aswell.

Doesn't On Kill do what you want? Victim is in %v%, plus there's a VictimSay to make things simple although you can apply actions to the victim with TargetPlayer %v%;...

 

I could add a 'On Death' trigger but I would actually be firing it when the game server signals a 'Kill', the same as On Kill now.

 

I can add a TeamSay, it's pretty basic I just never added it before. In the meantime I thing you'll be able to do it with a 'Exec' command if you really need it.

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

Originally Posted by Angry_AGAIN*:

 

Hi

I tried to setup an Pistol & Knife Only server (yes i know its forbidden)

So i setup my rules like this:

 

On Kill;Damage SniperRifle;PlayerCount 3;Kick

On Kill;Damage SniperRifle;kill;Say Pistol & Knife Only

On Kill;Damage AssaultRifle;PlayerCount 3;Kick

On Kill;Damage AssaultRifle;kill;Say Pistol & Knife Only

On Kill;Damage LMG;PlayerCount 3;Kick

On Kill;Damage LMG;kill;Say Pistol & Knife Only

 

But this allows players to make 3 kills with every other weapon befor he gets kicked.

Is there an easier way to count all other dmg kills except handgun/knife and kick for that?

Will this work?

 

PlayerCount 3;Not Damage Melee;Kick

PlayerCount 3; Not Damage Handgun;Kick

On Kill;Damage SniperRifle;kill;Say Pistol & Knife Only

On Kill;Damage AssaultRifle;kill;Say Pistol & Knife Only

 

Mfg

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