Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by ColColonCleaner*:

 

I'm not sure. I think the issue with Insane Limits was I was kicking based on clan tag and it takes some time for that to update for each player which caused the kick on join to fail.

 

I agree you could watch OnListPlayers event in a custom plugin and do this if it is true that a player is in a kickable state by the time this event fires. The problem I've seen is that the time it takes a player to join is highly variable which affects the time it takes from when they start joining to when they are kickable by any means. If you try to kick too soon after join the kick will just fail. If you wait too long the player might have already finished joining and spawned.

 

I know I was having issues getting this to work with Insane Limits and custom plugins I've written for my servers which is why I resorted to kick on spawn which always works.

 

I'll have to test using the OnListPlayers event for this. It may work fine.

That's what AdKats has been using for 3 years now, monitoring the player list for entry. Its ban enforcer uses this as well, so with the thousand or so servers using that system without issue i know it works flawlessly.

 

The plugin increases the default listplayers frequency from every 30 seconds to every 10 seconds, so it catches them as soon as they are available but before they can do anything. By the time they are in the player list you can perform any actions on them; moves, kills, kicks, etc.

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

Originally Posted by ColColonCleaner*:

 

I was able to spawn sometimes before being kicked though.

Refer to my previous comment. Increase your list players frequency from every 30 seconds to every 10 seconds. Either calling list players every 10 seconds or checking if it's been called in the last 10 works fine for a trigger.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BuRockK*:

 

Kick on join is easy if you watch the player list, but I don't think proconrulz does that. In InsaneLimits and AdKats we just watch the player list for when a player enters it and consider that the join event, always been reliable. We rarely actually watch the join or authenticate events, although i think there is an IL option for that too.

no you cant make a list of current players in a server in proconrulz im affraid. if we could, that would open up lotta possibilities of rulz and be awesome.

 

Come to think of it. You could enter player names of people who spawned first time in server into an ini and keep that entry valid until the player is either kicked/banned or leave maybe. I dont know never tried. I just thought of it now. I may actually try something like this

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

Originally Posted by ColColonCleaner*:

 

no you cant make a list of current players in a server in proconrulz im affraid. if we could, that would open up lotta possibilities of rulz and be awesome.

 

Come to think of it. You could enter player names of people who spawned first time in server into an ini and keep that entry valid until the player is either kicked/banned or leave maybe. I dont know never tried. I just thought of it now. I may actually try something like this

Those will get out of sync unfortunately. I originally tried managing the player list via just the events but they aren't totally reliable, the list is best. Can you access the player list in IL? I forget.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BuRockK*:

 

Those will get out of sync unfortunately. I originally tried managing the player list via just the events but they aren't totally reliable, the list is best. Can you access the player list in IL? I forget.

Nope i never used IL. Never needed to use pro plugins as my server is a 10 slot server just for fun of it and help people with easter eggs and some assignments like DICE LA etc

 

But i plan on installing it just to know how it works and who knows maybe one day i will own a 70 slot server

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

Originally Posted by BuRockK*:

 

Well i was thinking of how to do this "kick on join" event with proconrulz and noticed its just not possible. Unless, proconrulz would support an "On TeamChange" event. Which then would be easy for plugin to know when a joining player has finished loading map and has entered the actual game.

 

Simply, when a player joins a server and is currently loading map, his team state is Neutral. Then when he finishes loading map, his state changes from Neutral to a random team based on server settings i guess. Im sure itd be easy for you guys to do this with C sharp in a plugin but as for now, its not possible in ProconRulz.

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

Originally Posted by ty_ger07*:

 

Well i was thinking of how to do this "kick on join" event with proconrulz and noticed its just not possible. Unless, proconrulz would support an "On TeamChange" event. Which then would be easy for plugin to know when a joining player has finished loading map and has entered the actual game.

 

Simply, when a player joins a server and is currently loading map, his team state is Neutral. Then when he finishes loading map, his state changes from Neutral to a random team based on server settings i guess. Im sure itd be easy for you guys to do this with C sharp in a plugin but as for now, its not possible in ProconRulz.

Yup. It's what I was thinking about earlier today. I was gonna say the same thing until I checked and saw that ProconRulz doesn't have an On TeamChange event to access.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

no you cant make a list of current players in a server in proconrulz im affraid. if we could, that would open up lotta possibilities of rulz and be awesome.

 

Come to think of it. You could enter player names of people who spawned first time in server into an ini and keep that entry valid until the player is either kicked/banned or leave maybe. I dont know never tried. I just thought of it now. I may actually try something like this

You could do an "On Join;Exec admin.listPlayers all" (or whatever the proper command formatting is), but I think that would be too close to the On Join event to get anything useful out of it. Plus, the time between that command fininshing successfully and then initiating an On Join;Kick command would be an issue since ProcnRulz doesn't have delay functionality and therefore the commands would overlap before the first even finished.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by s1ngular1ty*:

 

Well i was thinking of how to do this "kick on join" event with proconrulz and noticed its just not possible. Unless, proconrulz would support an "On TeamChange" event. Which then would be easy for plugin to know when a joining player has finished loading map and has entered the actual game.

 

Simply, when a player joins a server and is currently loading map, his team state is Neutral. Then when he finishes loading map, his state changes from Neutral to a random team based on server settings i guess. Im sure itd be easy for you guys to do this with C sharp in a plugin but as for now, its not possible in ProconRulz.

As CCC said, you can watch OnListPlayers in a custom plugin and kick there. It catches players as they are joining. I was using OnPlayerJoin event previously which fires too soon and causes the kick to fail.

 

Insanelimits has a OnTeamChange event. You could try doing a limit there and see if it works. Seems a little hacky to me. I used kick on spawn with Insane Limits based on Clan Tags which worked fine and I never had any issues. If you are worried about someone coming right back and sitting at spawn screen just to a temp ban for like a couple of hours or longer instead of a kick and problem is solved. It isn't a perfect solution but it is easy and works.

 

Here is a link to how to do this in Insane Limits

myrcon.net/...insane-limits-examples#entry18491

 

Just change limit from OnJoin to OnSpawn.

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

Originally Posted by BuRockK*:

 

Yup. It's what I was thinking about earlier today. I was gonna say the same thing until I checked and saw that ProconRulz doesn't have an On TeamChange event to access.

Maybe someone would add support for On TeamChange to ProconRulz. With BamBams permission of course
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BuRockK*:

 

You could do an "On Join;Exec admin.listPlayers all" (or whatever the proper command formatting is), but I think that would be too close to the On Join event to get anything useful out of it. Plus, the time between that command fininshing successfully and then initiating an On Join;Kick command would be an issue since ProcnRulz doesn't have delay functionality and therefore the commands would overlap before the first even finished.

Yea well having a playerlist isnt gonna help much when u cant initiate a command when a player finished loading map. So i guess only logical option would be an On TeamChange event
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BuRockK*:

 

As CCC said, you can watch OnListPlayers in a custom plugin and kick there. It catches players as they are joining. I was using OnPlayerJoin event previously which fires too soon and causes the kick to fail.

 

Insanelimits has a OnTeamChange event. You could try doing a limit there and see if it works. Seems a little hacky to me. I used kick on spawn with Insane Limits based on Clan Tags which worked fine and I never had any issues. If you are worried about someone coming right back and sitting at spawn screen just to a temp ban for like a couple of hours or longer instead of a kick and problem is solved. It isn't a perfect solution but it is easy and works.

 

Here is a link to how to do this in Insane Limits

myrcon.net/...insane-limits-examples#entry18491

 

Just change limit from OnJoin to OnSpawn.

I never used IL. I dont know how limits work there. But like i said, OnJoin wouldnt work, neither would OnListPlayer because even if the player is in playerlist or catched in an OnJoin even, you cant really do anything because he/she is loading map atm. Only way to know player has finished loading map is when player changes team from Neutral to an actual team.

 

Sure OnSpawn is easy, even i did a little script for ProconRulz on that. But id rather work on OnTeamChange event just to see if it works like a charm

 

I will install IL and test this OnTeamChange and see if it works

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

Originally Posted by BuRockK*:

 

Okay so i have one question before i download IL and test on teamchange even with a Neutral state..

 

OnTeamChange - Limit evaluated after player switches team (admin move not counted as team-switch)

 

Does this also apply to teamchange thats done by the server itself? ie, Neutral --> US Army

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

Originally Posted by elmanzaps4*:

 

help me

you can add "killed by prohibited weapon" to those lines?

 

Tell me one right line, with message "killed by prohibited weapon" and I will use your line as an example to the others

 

 

On Kill;Weapon U_M320_HE;Kill

On Kill;Weapon U_RPG7;Kill

On Kill;Weapon U_SMAW;Kill

On Kill;Weapon U_XM25;Kill

On Kill;Weapon U_USAS-12;Kill

On Kill;Weapon U_M82A3;Kill

On Kill;Weapon U_MGL;Kill

On Kill;Weapon U_SAIGA_20K;Kill

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

Originally Posted by ty_ger07*:

 

help me

you can add "killed by prohibited weapon" to those lines?

 

Tell me one right line, with message "killed by prohibited weapon" and I will use your line as an example to the others

 

 

On Kill;Weapon U_M320_HE;Kill

On Kill;Weapon U_RPG7;Kill

On Kill;Weapon U_SMAW;Kill

On Kill;Weapon U_XM25;Kill

On Kill;Weapon U_USAS-12;Kill

On Kill;Weapon U_M82A3;Kill

On Kill;Weapon U_MGL;Kill

On Kill;Weapon U_SAIGA_20K;Kill

On Kill;Weapon U_M320_HE;Say killed with prohibited weapon;Kill
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BuRockK*:

 

is there a way to have proconrules make a one off yell announcement every time the server goes over 11 players?

On Join; set %totalplayers% %ts1% + %ts2%; if %totalplayers% > 11; yell Total Players: %totalplayers%
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by SmackDaddy*:

 

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

# Knife message !knife in-game command

# Set your knife message with "!knife "

# Victim will be given that message when you knife them

# View your message with "!knife_" or anyone's with "!knife? "

# You can check Configs/_proconrulz.ini to see all saved messages

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

 

On Say;Text !knife?

TargetPlayer;Say %t% knife message = %ini_knife_message[%t%]%;End

Say Your knife message = %ini_knife_message[%p%]%;End

 

On Say;Text !knife;log !knife;Set %ini_knife_message[%p%]% %targettext%;PlayerSay %p% your knife message is set

 

On Kill;Weapon Melee;If %ini_knife_message[%p%]% != 0

VictimSay Message from %p%: %ini_knife_message[%p%]%

PlayerSay You told %v%: %ini_knife_message[%p%]%

If I wanted this command to only be available to Admins and Reserved Slot players, how would I go about this?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by SmackDaddy*:

 

Also, for this ProconRulz rule set, how would I also keep DMR users from being affected as well as snipers?

 

#AimDetect

on spawn;serverfirst;set %kills% 0;set %hs% 0

on kill;Not Damage SniperRifle;incr %kills%

on kill;Not Damage SniperRifle;Headshot;incr %hs%

on kill;Set %proc.1% %hs% / %kills% * 100

on kill;If %proc.1% >= 60;If %kills% > 30;Log %p%;Ban %p% Impossible stats Hs/K %proc.1% %

on say;Admin;Text @kills;TargetPlayer;TargetAction Say kills %kills% HS %hs% and %proc.1% %

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

Originally Posted by BuRockK*:

 

If I wanted this command to only be available to Admins and Reserved Slot players, how would I go about this?

Put "Protected" between "On Say" and "Text !knife"

 

Example: On Say;Protected;Text !knife; ...

 

quote from proconrulz.pdf:

"Protected": player is admin or in reservedslots list and protected from ProconRulz kicks and kills

 

Pls read this pdf on further help: http://www.forsterlewis.com/proconrulz.pdf

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

Originally Posted by Dete96*:

 

That will only work if the player is protected in ProCon Rulz. It's a setting in line 6 of the plugin: "Protect these players from kick or kill..." If you set this to "Admins and reserved slots" it should work. Not sure if you want that though...

 

 

Gesendet von iPhone mit Tapatalk

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

Originally Posted by BuRockK*:

 

That will only work if the player is protected in ProCon Rulz. It's a setting in line 6 of the plugin: "Protect these players from kick or kill..." If you set this to "Admins and reserved slots" it should work. Not sure if you want that though...

 

 

Gesendet von iPhone mit Tapatalk

Yea, i forgot to mention that option
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by CEBEP78*:

 

Guys like to Procon rulz do to kill when a player, that player is dead, I saw the statistics for round one who killed him, in yellow text in the middle of the screen? Statistics Weapons, accuracy, headshots, KD?

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

Originally Posted by BuRockK*:

 

Guys like to Procon rulz do to kill when a player, that player is dead, I saw the statistics for round one who killed him, in yellow text in the middle of the screen? Statistics Weapons, accuracy, headshots, KD?

i did not understand what you need. but if its for bf3 i wouldnt know

 

pls read

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

Originally Posted by BuRockK*:

 

Hey Guys, I need a code which one disables Lav-25 in Seine Crossing Can u please Help me?

I dont think you can disable or forbid one vehicle within the game. but best you can do, try this:

 

On Kill;Damage VehicleHeavy;TargetPlayer;kill "Do not use Heavy Vehicles"

 

Not sure if itll work, didnt tested it

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

Originally Posted by cin83ali*:

 

I dont think you can disable or forbid one vehicle within the game. but best you can do, try this:

 

On Kill;Damage VehicleHeavy;TargetPlayer;kill "Do not use Heavy Vehicles"

 

Not sure if itll work, didnt tested it

It did not work
* 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.