Jump to content
  • 0
B7ackhawk

Help about BF4

Question

Posted (edited)

Hello guys first happy new year to all

i  use this code , can some one change it for me ! i need make 6 limited when player kill 6 with explosive he got kick

that mean 5 warning 6kill kick

if (Regex.Match(kill.Weapon, @"(_:SMK|FLASH|Shield)", RegexOptions.IgnoreCase).Success) return false;

// show warnings at procon chattab
// yes = true | no = false
bool bShowToProcon = true;

String kCounter = killer.Name + "_NoExplosives_Count";
TimeSpan time = TimeSpan.FromSeconds(5); // Activations within 5 seconds count as 1

int warnings = 0;
if (plugin.RoundData.issetInt(kCounter)) warnings = plugin.RoundData.getInt(kCounter);

if (warnings == 0) {
    String globalMessage = killer.FullName + " killed for explosive kill on " + plugin.FriendlyMapName(server.MapFileName) + "!";
    plugin.SendGlobalMessage(globalMessage);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Say > " + globalMessage);
    String privateMessage = "WARNING (1/3)! Explosives are not allowed on " + plugin.FriendlyMapName(server.MapFileName) + "! Read our rules!";
    plugin.SendPlayerYell(killer.Name, privateMessage, 10);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Yell[10] > " + killer.Name + " > " + privateMessage);
    plugin.KillPlayer(killer.Name, 1);
    plugin.RoundData.setInt(kCounter, warnings+1);
    return false;
}

if (limit.Activations(killer.Name, time) > 1) return false;

if (warnings == 1) {
    String globalMessage = killer.FullName + " killed for explosive kill on " + plugin.FriendlyMapName(server.MapFileName) + "!";
    plugin.SendGlobalMessage(globalMessage);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Say > " + globalMessage);
    String privateMessage = "FINAL WARNING (2/3)! Explosives are not allowed on " + plugin.FriendlyMapName(server.MapFileName) + "! Read our rules!";
    plugin.SendPlayerYell(killer.Name, privateMessage, 10);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Yell[10] > " + killer.Name + " > " + privateMessage);
    plugin.KillPlayer(killer.Name, 1);
    plugin.RoundData.setInt(kCounter, warnings+1);
} else if (warnings >= 2) {
    plugin.KickPlayerWithMessage(player.Name, plugin.R("Kicked for ignoring warnings and killing with explosives!"));
}
plugin.RoundData.setInt(kCounter, warnings+1);
return false;

 

Edited by Prophet731
Put code into code block.

Share this post


Link to post
Share on other sites

24 answers to this question

Recommended Posts

  • 0

Can you try this and let me know if it works right?

if (Regex.Match(kill.Weapon, @"(_:SMK|FLASH|Shield)", RegexOptions.IgnoreCase).Success) return false;

// show warnings at procon chattab
// yes = true | no = false
bool bShowToProcon = true;

String kCounter = killer.Name + "_NoExplosives_Count";
TimeSpan time = TimeSpan.FromSeconds(5); // Activations within 5 seconds count as 1

int warnings = 0;

if (limit.Activations(killer.Name, time) > 1) return false;

if (plugin.RoundData.issetInt(kCounter)) warnings = plugin.RoundData.getInt(kCounter);

if (warnings >= 0 && warnings <= 4) {
    String globalMessage = killer.FullName + " killed for explosive kill on " + plugin.FriendlyMapName(server.MapFileName) + "!";
    plugin.SendGlobalMessage(globalMessage);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Say > " + globalMessage);
    String privateMessage = "WARNING (" + (warnings+1) + "/6)! Explosives are not allowed on " + plugin.FriendlyMapName(server.MapFileName) + "! Read our rules!";
    plugin.SendPlayerYell(killer.Name, privateMessage, 10);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Yell[10] > " + killer.Name + " > " + privateMessage);
    plugin.KillPlayer(killer.Name, 1);
    plugin.RoundData.setInt(kCounter, warnings+1);
    return false;
} else if (warnings == 5) {
    String globalMessage = killer.FullName + " killed for explosive kill on " + plugin.FriendlyMapName(server.MapFileName) + "!";
    plugin.SendGlobalMessage(globalMessage);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Say > " + globalMessage);
    String privateMessage = "FINAL WARNING (" + (warnings+1) + "/6)! Explosives are not allowed on " + plugin.FriendlyMapName(server.MapFileName) + "! Read our rules!";
    plugin.SendPlayerYell(killer.Name, privateMessage, 10);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Yell[10] > " + killer.Name + " > " + privateMessage);
    plugin.KillPlayer(killer.Name, 1);
    plugin.RoundData.setInt(kCounter, warnings+1);
} else if (warnings >= 6) {
    plugin.KickPlayerWithMessage(player.Name, plugin.R("Kicked for ignoring warnings and killing with explosives!"));
}
plugin.RoundData.setInt(kCounter, warnings+1);
return false;

 


The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

Air VPN - The air to breathe the real Internet

Share this post


Link to post
Share on other sites
  • 0
1 minute ago, Prophet731 said:

Can you try this and let me know if it works right?

if (Regex.Match(kill.Weapon, @"(_:SMK|FLASH|Shield)", RegexOptions.IgnoreCase).Success) return false;

// show warnings at procon chattab
// yes = true | no = false
bool bShowToProcon = true;

String kCounter = killer.Name + "_NoExplosives_Count";
TimeSpan time = TimeSpan.FromSeconds(5); // Activations within 5 seconds count as 1

int warnings = 0;

if (limit.Activations(killer.Name, time) > 1) return false;

if (plugin.RoundData.issetInt(kCounter)) warnings = plugin.RoundData.getInt(kCounter);

if (warnings >= 0 && warnings < 4) {
    String globalMessage = killer.FullName + " killed for explosive kill on " + plugin.FriendlyMapName(server.MapFileName) + "!";
    plugin.SendGlobalMessage(globalMessage);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Say > " + globalMessage);
    String privateMessage = "WARNING (" + (warnings+1) + "/6)! Explosives are not allowed on " + plugin.FriendlyMapName(server.MapFileName) + "! Read our rules!";
    plugin.SendPlayerYell(killer.Name, privateMessage, 10);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Yell[10] > " + killer.Name + " > " + privateMessage);
    plugin.KillPlayer(killer.Name, 1);
    plugin.RoundData.setInt(kCounter, warnings+1);
    return false;
} else if (warnings == 5) {
    String globalMessage = killer.FullName + " killed for explosive kill on " + plugin.FriendlyMapName(server.MapFileName) + "!";
    plugin.SendGlobalMessage(globalMessage);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Say > " + globalMessage);
    String privateMessage = "FINAL WARNING (" + (warnings+1) + "/6)! Explosives are not allowed on " + plugin.FriendlyMapName(server.MapFileName) + "! Read our rules!";
    plugin.SendPlayerYell(killer.Name, privateMessage, 10);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Yell[10] > " + killer.Name + " > " + privateMessage);
    plugin.KillPlayer(killer.Name, 1);
    plugin.RoundData.setInt(kCounter, warnings+1);
} else if (warnings >= 6) {
    plugin.KickPlayerWithMessage(player.Name, plugin.R("Kicked for ignoring warnings and killing with explosives!"));
}
plugin.RoundData.setInt(kCounter, warnings+1);
return false;

 

[04:57:59 53] [Insane Limits] Compiling Limit #5 - no rpg - OnKill

 

well let me see if work or not wait me please 

Share this post


Link to post
Share on other sites
  • 0
40 minutes ago, B7ackhawk said:

well it work but got killed by admin  . i need warning 5 in the 6 kicked 

image.png

So you don't want it to kill during the warning phase just for the final kill?


The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

Air VPN - The air to breathe the real Internet

Share this post


Link to post
Share on other sites
  • 0

bro  i need warning 
warning 1
warning 2
warning 3
warning 4
last warning before kick
player got kick for reason 

Share this post


Link to post
Share on other sites
  • 0
if (Regex.Match(kill.Weapon, @"(_:SMK|FLASH|Shield)", RegexOptions.IgnoreCase).Success) return false;

// show warnings at procon chattab
// yes = true | no = false
bool bShowToProcon = true;

String kCounter = killer.Name + "_NoExplosives_Count";
TimeSpan time = TimeSpan.FromSeconds(5); // Activations within 5 seconds count as 1

int warnings = 0;

if (limit.Activations(killer.Name, time) > 1) return false;

if (plugin.RoundData.issetInt(kCounter)) warnings = plugin.RoundData.getInt(kCounter);

if (warnings >= 0 && warnings <= 4) {
    String globalMessage = killer.FullName + " killed for explosive kill on " + plugin.FriendlyMapName(server.MapFileName) + "!";
    plugin.SendGlobalMessage(globalMessage);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Say > " + globalMessage);
    String privateMessage = "WARNING (" + (warnings+1) + "/6)! Explosives are not allowed on " + plugin.FriendlyMapName(server.MapFileName) + "! Read our rules!";
    plugin.SendPlayerYell(killer.Name, privateMessage, 10);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Yell[10] > " + killer.Name + " > " + privateMessage);
    plugin.RoundData.setInt(kCounter, warnings+1);
    return false;
} else if (warnings == 5) {
    String globalMessage = killer.FullName + " killed for explosive kill on " + plugin.FriendlyMapName(server.MapFileName) + "!";
    plugin.SendGlobalMessage(globalMessage);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Say > " + globalMessage);
    String privateMessage = "FINAL WARNING (" + (warnings+1) + "/6)! Explosives are not allowed on " + plugin.FriendlyMapName(server.MapFileName) + "! Read our rules!";
    plugin.SendPlayerYell(killer.Name, privateMessage, 10);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Yell[10] > " + killer.Name + " > " + privateMessage);
    plugin.RoundData.setInt(kCounter, warnings+1);
} else if (warnings >= 6) {
    plugin.KickPlayerWithMessage(player.Name, plugin.R("Kicked for ignoring warnings and killing with explosives!"));
}
plugin.RoundData.setInt(kCounter, warnings+1);
return false;

Try this one then. I just removed this line of code from both if statements.

plugin.KillPlayer(killer.Name, 1);

 


The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

Air VPN - The air to breathe the real Internet

Share this post


Link to post
Share on other sites
  • 0
18 minutes ago, Prophet731 said:
if (Regex.Match(kill.Weapon, @"(_:SMK|FLASH|Shield)", RegexOptions.IgnoreCase).Success) return false;

// show warnings at procon chattab
// yes = true | no = false
bool bShowToProcon = true;

String kCounter = killer.Name + "_NoExplosives_Count";
TimeSpan time = TimeSpan.FromSeconds(5); // Activations within 5 seconds count as 1

int warnings = 0;

if (limit.Activations(killer.Name, time) > 1) return false;

if (plugin.RoundData.issetInt(kCounter)) warnings = plugin.RoundData.getInt(kCounter);

if (warnings >= 0 && warnings <= 4) {
    String globalMessage = killer.FullName + " killed for explosive kill on " + plugin.FriendlyMapName(server.MapFileName) + "!";
    plugin.SendGlobalMessage(globalMessage);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Say > " + globalMessage);
    String privateMessage = "WARNING (" + (warnings+1) + "/6)! Explosives are not allowed on " + plugin.FriendlyMapName(server.MapFileName) + "! Read our rules!";
    plugin.SendPlayerYell(killer.Name, privateMessage, 10);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Yell[10] > " + killer.Name + " > " + privateMessage);
    plugin.RoundData.setInt(kCounter, warnings+1);
    return false;
} else if (warnings == 5) {
    String globalMessage = killer.FullName + " killed for explosive kill on " + plugin.FriendlyMapName(server.MapFileName) + "!";
    plugin.SendGlobalMessage(globalMessage);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Say > " + globalMessage);
    String privateMessage = "FINAL WARNING (" + (warnings+1) + "/6)! Explosives are not allowed on " + plugin.FriendlyMapName(server.MapFileName) + "! Read our rules!";
    plugin.SendPlayerYell(killer.Name, privateMessage, 10);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Yell[10] > " + killer.Name + " > " + privateMessage);
    plugin.RoundData.setInt(kCounter, warnings+1);
} else if (warnings >= 6) {
    plugin.KickPlayerWithMessage(player.Name, plugin.R("Kicked for ignoring warnings and killing with explosives!"));
}
plugin.RoundData.setInt(kCounter, warnings+1);
return false;

Try this one then. I just removed this line of code from both if statements.

plugin.KillPlayer(killer.Name, 1);

 

still player die when the killing someone with explosive 

Share this post


Link to post
Share on other sites
  • 0
1 minute ago, B7ackhawk said:

still player die when the killing someone with explosive 

Did you make sure it's not cached with the old version? That code doesn't have any kill events in it so.


The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

Air VPN - The air to breathe the real Internet

Share this post


Link to post
Share on other sites
  • 0
Just now, Prophet731 said:

Did you make sure it's not cached with the old version? That code doesn't have any kill events in it so.

well . sorry my bad now work only warning but in chat says killed for use explosive and the player still live 

thank you a lot bro 

Share this post


Link to post
Share on other sites
  • 0
1 minute ago, B7ackhawk said:

well . sorry my bad now work only warning but in chat says killed for use explosive and the player still live 

thank you a lot bro 

Just adjust the global message to your liking then you should be fine.


The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

Air VPN - The air to breathe the real Internet

Share this post


Link to post
Share on other sites
  • 0
2 minutes ago, Prophet731 said:

Just adjust the global message to your liking then you should be fine.

can i make the global message to my procon ? 

Share this post


Link to post
Share on other sites
  • 0
27 minutes ago, Prophet731 said:

Should be able too.

Thank for help sir , i will look what i do with global message , bcz it spam in chat and all player watch it 

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)

i got i problem , on locker map there is no warning only kicked ! after he back to server must warning be zero but still got kick ?

Edited by B7ackhawk

Share this post


Link to post
Share on other sites
  • 0
On 1/3/2020 at 12:56 PM, Prophet731 said:

Can you try this and let me know if it works right?

if (Regex.Match(kill.Weapon, @"(_:SMK|FLASH|Shield)", RegexOptions.IgnoreCase).Success) return false;

// show warnings at procon chattab
// yes = true | no = false
bool bShowToProcon = true;

String kCounter = killer.Name + "_NoExplosives_Count";
TimeSpan time = TimeSpan.FromSeconds(5); // Activations within 5 seconds count as 1

int warnings = 0;

if (limit.Activations(killer.Name, time) > 1) return false;

if (plugin.RoundData.issetInt(kCounter)) warnings = plugin.RoundData.getInt(kCounter);

if (warnings >= 0 && warnings <= 4) {
    String globalMessage = killer.FullName + " killed for explosive kill on " + plugin.FriendlyMapName(server.MapFileName) + "!";
    plugin.SendGlobalMessage(globalMessage);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Say > " + globalMessage);
    String privateMessage = "WARNING (" + (warnings+1) + "/6)! Explosives are not allowed on " + plugin.FriendlyMapName(server.MapFileName) + "! Read our rules!";
    plugin.SendPlayerYell(killer.Name, privateMessage, 10);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Yell[10] > " + killer.Name + " > " + privateMessage);
    plugin.KillPlayer(killer.Name, 1);
    plugin.RoundData.setInt(kCounter, warnings+1);
    return false;
} else if (warnings == 5) {
    String globalMessage = killer.FullName + " killed for explosive kill on " + plugin.FriendlyMapName(server.MapFileName) + "!";
    plugin.SendGlobalMessage(globalMessage);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Say > " + globalMessage);
    String privateMessage = "FINAL WARNING (" + (warnings+1) + "/6)! Explosives are not allowed on " + plugin.FriendlyMapName(server.MapFileName) + "! Read our rules!";
    plugin.SendPlayerYell(killer.Name, privateMessage, 10);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Yell[10] > " + killer.Name + " > " + privateMessage);
    plugin.KillPlayer(killer.Name, 1);
    plugin.RoundData.setInt(kCounter, warnings+1);
} else if (warnings >= 6) {
    plugin.KickPlayerWithMessage(player.Name, plugin.R("Kicked for ignoring warnings and killing with explosives!"));
}
plugin.RoundData.setInt(kCounter, warnings+1);
return false;

 

please can someone help me ! need change killed for warning  , in chat says player got killed i need change it for warning 

in the screen it show player die but he not . i need make it in chat say player name your warning for use explosive 


image.png

Share this post


Link to post
Share on other sites
  • 0
2 minutes ago, B7ackhawk said:

please can someone help me ! need change killed for warning  , in chat says player got killed i need change it for warning 

in the screen it show player die but he not . i need make it in chat say player name your warning for use explosive 


 

image.png

Just change this line of code on both of them to what you want it to say. That's all you need to do.

String globalMessage = killer.FullName + " killed for explosive kill on " + plugin.FriendlyMapName(server.MapFileName) + "!";

 


The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

Air VPN - The air to breathe the real Internet

Share this post


Link to post
Share on other sites
  • 0
15 minutes ago, Prophet731 said:

Just change this line of code on both of them to what you want it to say. That's all you need to do.

String globalMessage = killer.FullName + " killed for explosive kill on " + plugin.FriendlyMapName(server.MapFileName) + "!";

 

Unfortunately I have tried more than once
I could not do it 

Share this post


Link to post
Share on other sites
  • 0
Unfortunately I have tried more than once
I could not do it 
Why can't you?

Sent from my ONEPLUS A5010 using Tapatalk


The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

Air VPN - The air to breathe the real Internet

Share this post


Link to post
Share on other sites
  • 0
4 minutes ago, Prophet731 said:

Why can't you?

Sent from my ONEPLUS A5010 using Tapatalk
 

I finally did it just changed killed for warning 
image.png.5c0bf70e81e65e9b4c4e5e808b989892.png

Share this post


Link to post
Share on other sites
  • 0

Glad you got it to work.

Sent from my ONEPLUS A5010 using Tapatalk


The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

Air VPN - The air to breathe the real Internet

Share this post


Link to post
Share on other sites
  • 0
8 hours ago, Prophet731 said:

Glad you got it to work.

Sent from my ONEPLUS A5010 using Tapatalk
 

btw i dont know what you mean via ONEPLUS A5010 using Tapatalk

Share this post


Link to post
Share on other sites
  • 0
btw i dont know what you mean via ONEPLUS A5010 using Tapatalk
Just means I'm using the tapatalk app on my phone.

Sent from my ONEPLUS A5010 using Tapatalk


The developer of the Battlefield Admin Control Panel (BFACP)

For BFACP support please post in the BFACP topic linked above.

Do not contact me via PM on the forums for help with procon. Please make a topic for it. Only PM's I will accept will revolve around any website issues.

Air VPN - The air to breathe the real Internet

Share this post


Link to post
Share on other sites
  • 0
2 hours ago, Prophet731 said:

Just means I'm using the tapatalk app on my phone.

Sent from my ONEPLUS A5010 using Tapatalk
 

cant find you , or maybe i don't know how i search you 

 

image.thumb.png.53a8d44807823f5fe6ab617dbaa38b06.png

Share this post


Link to post
Share on other sites
  • 0
On 1/3/2020 at 1:58 PM, Prophet731 said:
if (Regex.Match(kill.Weapon, @"(_:SMK|FLASH|Shield)", RegexOptions.IgnoreCase).Success) return false;

// show warnings at procon chattab
// yes = true | no = false
bool bShowToProcon = true;

String kCounter = killer.Name + "_NoExplosives_Count";
TimeSpan time = TimeSpan.FromSeconds(5); // Activations within 5 seconds count as 1

int warnings = 0;

if (limit.Activations(killer.Name, time) > 1) return false;

if (plugin.RoundData.issetInt(kCounter)) warnings = plugin.RoundData.getInt(kCounter);

if (warnings >= 0 && warnings <= 4) {
    String globalMessage = killer.FullName + " killed for explosive kill on " + plugin.FriendlyMapName(server.MapFileName) + "!";
    plugin.SendGlobalMessage(globalMessage);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Say > " + globalMessage);
    String privateMessage = "WARNING (" + (warnings+1) + "/6)! Explosives are not allowed on " + plugin.FriendlyMapName(server.MapFileName) + "! Read our rules!";
    plugin.SendPlayerYell(killer.Name, privateMessage, 10);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Yell[10] > " + killer.Name + " > " + privateMessage);
    plugin.RoundData.setInt(kCounter, warnings+1);
    return false;
} else if (warnings == 5) {
    String globalMessage = killer.FullName + " killed for explosive kill on " + plugin.FriendlyMapName(server.MapFileName) + "!";
    plugin.SendGlobalMessage(globalMessage);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Say > " + globalMessage);
    String privateMessage = "FINAL WARNING (" + (warnings+1) + "/6)! Explosives are not allowed on " + plugin.FriendlyMapName(server.MapFileName) + "! Read our rules!";
    plugin.SendPlayerYell(killer.Name, privateMessage, 10);
    if (bShowToProcon) plugin.PRoConChat("NoExplosives > Yell[10] > " + killer.Name + " > " + privateMessage);
    plugin.RoundData.setInt(kCounter, warnings+1);
} else if (warnings >= 6) {
    plugin.KickPlayerWithMessage(player.Name, plugin.R("Kicked for ignoring warnings and killing with explosives!"));
}
plugin.RoundData.setInt(kCounter, warnings+1);
return false;

Try this one then. I just removed this line of code from both if statements.

plugin.KillPlayer(killer.Name, 1);

 

Hello

if i need make limited 4 kill in 4 kill he got kick what i have to edit ?

Share this post


Link to post
Share on other sites

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

    • 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

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