Jump to content

Insane Limits Requests


ImportBot

Recommended Posts

Originally Posted by dyn*:

 

Got a fresh request here :ohmy:

 

Thought this one had been already requested but searching on here and Google produced zero results.

 

We're running private matches and want 'all chat' to be completely limited. If someone all chats during the match, they're kicked. No warning just a quick kick. The only problem is that when a round is completed and the next map loads we usually are not 'live' -- people are screwing around and all chat is fine. Additionally, with a few tickets left 'gg' should be allowed. Ideally this should be all automated and also include a whitelist so admins can all chat.

 

Ideas:

  • Once a whitelisted player types !live a message could be spammed to all chat and a yell that the round is live and all chat results in an automated kick. If anyone all chats during this period they are automatically kicked.
  • Once there is under (some number of tickets / percent) left in round, or a whitelisted player types !end another message is spammed saying the round is almost over (xx tickets left & gg perhaps__) and that chat is enabled.

Right now the admins have to monitor the chat and then try and pick up on all chat. If someone does all chat, and isn't kicked, there are then other players who complain about it... especially if the complainer was kicked earlier for it.

 

Possible?

* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 3.2k
  • Created
  • Last Reply

Originally Posted by TMiland*:

 

It's not using exact match, it's using the same near match that Procon in-game commands do, like !kick. For example, if I were the admin, any chat with papac or Charlie or PAPAPCHARLIE should match me.

 

EDIT: oops, sorry. There was a problem in the code that was defeating the near match intent. I fixed it so that it really is near match now.

Thank you PapaCharlie9! Much appreciated! I'll test it out :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by TMiland*:

I found this limit: showthread....with-a-vehicle*

Is it possible to only make this limit count, if it is 16 players or less on the server?

<div class="bbcode_container">
    <div class="bbcode_description">PHP Code:</div>
    <div class="bbcode_code" style="height:84px;"><code><code><span style="color: #000000">
<span style="color: #0000BB">String msg </span><span style="color: #007700">= </span><span style="color: #DD0000">"This is infantry only, don't use vehicles!"</span><span style="color: #007700">; </span><span style="color: #FF8000">// Change this to whatever message you want
</span><span style="color: #0000BB">plugin</span><span style="color: #007700">.</span><span style="color: #0000BB">ServerCommand</span><span style="color: #007700">(</span><span style="color: #DD0000">"admin.yell"</span><span style="color: #007700">, </span><span style="color: #0000BB">msg</span><span style="color: #007700">, </span><span style="color: #DD0000">"20"</span><span style="color: #007700">, </span><span style="color: #DD0000">"player"</span><span style="color: #007700">, </span><span style="color: #0000BB">killer</span><span style="color: #007700">.</span><span style="color: #0000BB">Name</span><span style="color: #007700">);
</span><span style="color: #0000BB">plugin</span><span style="color: #007700">.</span><span style="color: #0000BB">ServerCommand</span><span style="color: #007700">(</span><span style="color: #DD0000">"admin.say"</span><span style="color: #007700">, </span><span style="color: #0000BB">msg</span><span style="color: #007700">, </span><span style="color: #DD0000">"player"</span><span style="color: #007700">, </span><span style="color: #0000BB">killer</span><span style="color: #007700">.</span><span style="color: #0000BB">Name</span><span style="color: #007700">);
</span><span style="color: #0000BB">plugin</span><span style="color: #007700">.</span><span style="color: #0000BB">KillPlayer</span><span style="color: #007700">(</span><span style="color: #0000BB">killer</span><span style="color: #007700">.</span><span style="color: #0000BB">Name</span><span style="color: #007700">, </span><span style="color: #0000BB">20</span><span style="color: #007700">);
return </span><span style="color: #0000BB">false</span><span style="color: #007700">; 
</span><span style="color: #0000BB"></span>
</span>
</code></code></div>
</div>
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

I found this limit: showthread....with-a-vehicle*

Change first_check to this:

 

Code:

(kill.Weapon == "Death" && server.PlayerCount <= 16)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by dyn*:

 

Hello can i limit the sniper number on my server?

Thanks

rcon does not replay what someone is spawning with. The only thing you can do is limit how many people are currently getting kills with sniper rifles. Not a very clean approach since the only time someone will know if there are 'too many' snipers is once they've spawned in and actually kill someone.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by shadow2k1*:

 

anyway to make a running tally for each round of how many times a player gets knifed?

 

everytime i knife a person it will display

 

"player" has been knifed 3 times this round

or

"players" tags have been taken 3 times this round

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

Originally Posted by KamelMitLocken*:

 

Hi all,

 

I would like to know if there is any way to check for kdr ratio during a running round?

What I want to do is basically limit all the pro jet pilots and start kicking them once the kdr reaches a certain threshold. (e.g. 15+)

I already saw the vehicle kill rate limiter, but that just checks how mayn kills a player made in a certain amount of time, correct?

But I actually need a KDR limiter that checks the kdr limit of the player when he kills with "Death". Is there anything like that?

 

Thanks in advance!

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

Originally Posted by PapaCharlie9*:

 

anyway to make a running tally for each round of how many times a player gets knifed?

 

everytime i knife a person it will display

 

"player" has been knifed 3 times this round

or

"players" tags have been taken 3 times this round

You didn't explain what you meant by "display". Chat? Yell? Log? This code does Chat and Log:

 

Create a limit to evaluate OnKill, call it "Knife Count", leave Action set to None.

 

Set first_check to this Code:

 

Code:

if (!Regex.Match(kill.Weapon, @"Knife", RegexOptions.IgnoreCase).Success) return false;
String key = "Knifings_" + player.Name;
int count = 0;
if (server.RoundData.issetInt(key)) count = server.RoundData.getInt(key);
count = count + 1;
server.RoundData.setInt(key, count);
String msg = "Player " + player.Name + " has been knifed " + count + " times!";
plugin.SendGlobalMessage(msg);
plugin.ConsoleWrite(msg);
return false;
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

Hi all,

 

I would like to know if there is any way to check for kdr ratio during a running round?

What I want to do is basically limit all the pro jet pilots and start kicking them once the kdr reaches a certain threshold. (e.g. 15+)

I already saw the vehicle kill rate limiter, but that just checks how mayn kills a player made in a certain amount of time, correct?

But I actually need a KDR limiter that checks the kdr limit of the player when he kills with "Death". Is there anything like that?

 

Thanks in advance!

All the available stats are listed in the plugin Details and in post #1 of the plugin thread: myrcon.net/...insane-limits-bfhl#entry30250

 

You can see that player has KdrRound, KillsRound, SpmRound, etc., etc. Just use the one you want and replace the corresponding usage in the Vehicle Kill Rate limiter.

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

Originally Posted by PapaCharlie9*:

 

HI can u add a PlayerInfoInterface variable TotalAccuracy please..

 

M4thoTiX

And what would that value be exactly? How is it different from player.Accuracy?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by MorpheusX(AUT)*:

 

The players Accuracy on the Server.

Please

The rcon protocol doesn't provide statistics about "shots fired" and "shots hit" within one round. Therefore, it's impossible to calculate the accuracy of a player.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

The rcon protocol doesn't provide statistics about "shots fired" and "shots hit" within one round. Therefore, it's impossible to calculate the accuracy of a player.

That's right. Sorry, it can't be done.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Skypattaya*:

 

Hello guys, first of all sorry for my bad english. I am a real newbie to set up our server plug in. It is so much to read and maybe someone allready set up a simliar code like we need on his metro server. Our platoon like to run a metro server with that insane limits plug in. Warning and Admin Kill for his 1st kill and banned by 2nd kill for the followering weapons and stuff. No M320/GP30/M67/M224/MAV/RPG/SMAW/USAS/FRAG AMMO/HE BOLT/C4. Ban should be for 3hours. I will continue read the topics but i will be happy if someone will help me to find the right code with me. Thank you

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

Originally Posted by LumPenPacK*:

 

Warning and Admin Kill for his 1st kill and banned by 2nd kill for the followering weapons and stuff. No M320/GP30/M67/M224/MAV/RPG/SMAW/USAS/FRAG AMMO/HE BOLT/C4. Ban should be for 3hours. I will continue read the topics but i will be happy if someone will help me to find the right code with me. Thank you

There's no way to do exactly this.

 

The server doesn't give any information about MAV, M224 and C4 kills. You can also not detect which ammo was used.

 

showthread....orter-s-plugin*

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

Originally Posted by PapaCharlie9*:

 

Hello guys, first of all sorry for my bad english. I am a real newbie to set up our server plug in. It is so much to read and maybe someone allready set up a simliar code like we need on his metro server. Our platoon like to run a metro server with that insane limits plug in. Warning and Admin Kill for his 1st kill and banned by 2nd kill for the followering weapons and stuff. No M320/GP30/M67/M224/MAV/RPG/SMAW/USAS/FRAG AMMO/HE BOLT/C4. Ban should be for 3hours. I will continue read the topics but i will be happy if someone will help me to find the right code with me. Thank you

CORRECTION: C4 can be detected. The kill.Weapon string is "Weapons/Gadgets/C4/C4".

 

MAV and M224 can sort of be detected by using "Death". Since you are only doing this for Metro Conquest, this is safe to use. It would not be safe on any other map/mode.

 

See this limit thread:

 

showthread....0-RPG-USAS-etc*

 

I added a post at the end of that thread for your specific request.

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

Originally Posted by shadow2k1*:

 

You didn't explain what you meant by "display". Chat? Yell? Log? This code does Chat and Log:

 

Create a limit to evaluate OnKill, call it "Knife Count", leave Action set to None.

 

Set first_check to this Code:

 

Code:

if (!Regex.Match(kill.Weapon, @"Knife", RegexOptions.IgnoreCase).Success) return false;
String key = "Knifings_" + player.Name;
int count = 0;
if (server.RoundData.issetInt(key)) count = server.RoundData.getInt(key);
count = count + 1;
server.RoundData.setInt(key, count);
String msg = "Player " + player.Name + " has been knifed " + count + " times!";
plugin.SendGlobalMessage(msg);
plugin.ConsoleWrite(msg);
return false;
what do i change to make it yell
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

what do i change to make it yell

Change

Code:

plugin.SendGlobalMessage(msg);
to

Code:

plugin.SendGlobalYell(msg, 10);
Change 10 to how many seconds you want the yell to be shown.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BTFU_Maverick*:

 

Need a little help figuring out how to code this. I have an admin script that reads last chat and tests to see if it starts with one of our admin commands. If it does, it does a name match using BestMatch() and it executes the appropriate action. The problem is if I do BestMatch, it never fails. If I match BTFU_Maverick and theres nobody on the server with that name, itll match Bob_Mayday. This has resulted in the wrong player being kicked several times because the target left before I could send the command.

 

So I need to code in a confirmation to say !yes or !no when someone tries to kick or ban someone. I want to type !kk btfu_maverick baserape (my kick command, player name, reason). Itll then run the BestMatch() like its supposed to. Then in the execution of the script I want it to run another Converter ConfirmTarget() to ask "Did you target 'TheBestMatchedPlayer'? If the name is correct and the admin says yes, itll return ConfirmTarget true and continue with the script. If it returns false, itll exit. I just need the confirmation Converter to bool. Little help?

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

Originally Posted by PapaCharlie9*:

 

Need a little help figuring out how to code this. I have an admin script that reads last chat and tests to see if it starts with one of our admin commands. If it does, it does a name match using BestMatch() and it executes the appropriate action. The problem is if I do BestMatch, it never fails. If I match BTFU_Maverick and theres nobody on the server with that name, itll match Bob_Mayday. This has resulted in the wrong player being kicked several times because the target left before I could send the command.

 

So I need to code in a confirmation to say !yes or !no when someone tries to kick or ban someone. I want to type !kk btfu_maverick baserape (my kick command, player name, reason). Itll then run the BestMatch() like its supposed to. Then in the execution of the script I want it to run another Converter ConfirmTarget() to ask "Did you target 'TheBestMatchedPlayer'? If the name is correct and the admin says yes, itll return ConfirmTarget true and continue with the script. If it returns false, itll exit. I just need the confirmation Converter to bool. Little help?

This post will help:

 

showthread....!umad-command)*

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

Originally Posted by shadow2k1*:

 

Change

Code:

plugin.SendGlobalMessage(msg);
to

Code:

plugin.SendGlobalYell(msg, 10);
Change 10 to how many seconds you want the yell to be shown.
thanks
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Snowy*:

 

Help_...

 

I need for certain evenings to be able to lock down my server for clan scrims.

Our server host does not allow to lock the server with a password....

 

Is it possible to set up a limit that would kick a player for not having the right clan tag?

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

Originally Posted by p19blo*:

 

i have a line that shows then killer.Name kills victim.Name but how can i do it so it shows the victims if there is more than one ? ( multi kill)

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

Originally Posted by PapaCharlie9*:

 

i have a line that shows then killer.Name kills victim.Name but how can i do it so it shows the victims if there is more than one ? ( multi kill)

You get a separate OnKill activation for each kill. So if Arsonist kills Larry, Moe and Curly with a C-4 blast, you will get:

 

OnKill Arsonist Larry C4

OnKill Arsonist Moe C4

OnKill Arsonist Curly C4

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

Archived

This topic is now archived and is closed to further replies.




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