Jump to content

All Activity

This stream auto-updates

  1. Last week
  2. Hi everyone, I'm sharing a working Insane Limits- 0.9.18.2 script that automatically punishes players who steal and use enemy faction vehicles (e.g., CN player using T90, US player using Type 99, etc). This helps enforce server rules without needing manual moderation. The logic includes: Full faction checks (US, CN, RU) based on killer.TeamId. Vehicle detection using FriendlyWeaponName(). Exception for AA vehicles on maps that have only one AA (like Hainan Resort, Rogue Transmission, and Giants of Karelia), to avoid false punishment. Script is wrapped in a try/catch block for safety, and uses plugin.KillPlayer() with custom messages for education. This limit keeps the server clean, fair, and aligned with the rules — all automated. Feel free to customize the map list or add more vehicles if needed. Let me know if it helps! Tutorial – Auto-Punish for Enemy Vehicle Stealing (Insane Limits) Purpose: This script automatically punishes players who steal vehicles from an enemy faction in Battlefield 4. It’s ideal for enforcing server rules without requiring active moderators. Features Detects faction-vehicle mismatches Auto-kills violators with 5s delay Sends global chat warning Excludes mobile AA on specific maps (e.g., Hainan Resort) Ignores reserved slot players (VIPs) Limit Settings (Example from UI) Setting Value limit_1_name Stolen Enemy Vehicles limit_1_state Enabled limit_1_evaluation OnKill limit_1_first_check Code limit_1_second_check Disabled limit_1_action `Say limit_1_kill_delay 5 limit_1_say_message %k_n%, you were detected using an enemy faction vehicle (%w_n%). This is not allowed! limit_1_say_audience All limit_1_say_delay 5 limit_1_say_procon_chat True if (plugin.GetReservedSlotsList().Contains(player.Name)) return false; List<string> mapasComAAUnico = new List<string> { "MP_007", // Hainan Resort "MP_011", // Rogue Transmission "XP5_002", // Giants of Karelia (Final Stand) // Add more as needed }; var reason = plugin.FriendlyWeaponName(kill.Weapon); string vehicle = reason?.VehicleName ?? "Unknown"; int team = killer.TeamId; plugin.ConsoleWrite($"[DEBUG] Weapon: '{kill.Weapon}', Vehicle: '{vehicle}', TeamId: {team}"); if (vehicle == "Unknown") { plugin.ConsoleWrite("[DEBUG] Vehicle not identified. Ignoring."); return false; } // US using Chinese vehicle if (team == 1 && ( vehicle.Contains("ZBD") || vehicle.Contains("Type 99") || vehicle.Contains("WZ-10") || vehicle.Contains("Z-9") || vehicle.Contains("PGZ") || vehicle.Contains("J-20") || vehicle.Contains("Type 22"))) { plugin.SendPlayerMessage(killer.Name, $"You were detected using a vehicle from the enemy faction ({vehicle}). Automatically punished."); plugin.ConsoleWrite("[STEAL] US using CN vehicle."); plugin.KillPlayer(killer.Name, 1); return true; } // CN using US or Russian vehicle if (team == 2 && ( vehicle.Contains("Abrams") || vehicle.Contains("M1A2") || vehicle.Contains("LAV-25") || vehicle.Contains("AH-6") || vehicle.Contains("AH-1Z") || vehicle.Contains("F/A-18") || vehicle.Contains("M1128") || vehicle.Contains("M16 AA") || vehicle.Contains("T90"))) { plugin.SendPlayerMessage(killer.Name, $"You were detected using a vehicle from the enemy faction ({vehicle}). Automatically punished."); plugin.ConsoleWrite("[STEAL] CN using US/RU vehicle."); plugin.KillPlayer(killer.Name, 1); return true; } // RU using US or Chinese vehicle if (team == 3 && ( vehicle.Contains("Abrams") || vehicle.Contains("LAV-25") || vehicle.Contains("ZBD") || vehicle.Contains("Type 99") || vehicle.Contains("AH-6") || vehicle.Contains("F/A-18") || vehicle.Contains("DV-15") || vehicle.Contains("J-20"))) { plugin.SendPlayerMessage(killer.Name, $"You were detected using a vehicle from the enemy faction ({vehicle}). Automatically punished."); plugin.ConsoleWrite("[STEAL] RU using US/CN vehicle."); plugin.KillPlayer(killer.Name, 1); return true; } plugin.ConsoleWrite("[DEBUG] Vehicle compatible with faction. OK."); return false;
  3. zicavirus

    PLUGIN

    existe algum plugin ant roubo de veiculos de outra facçao se tiver me mande o link pq isso ia equilibrar bem uma partida de veiculos e se nao tiver por favor crie esse plugin todos vao colocar isso no servidor eu sei
  4. Earlier
  5. Hi I run a bf4 server have done for years to keep it alive all of a sudden you have to ready up now for the game to start people from both sides have to tick the box we never used to the game would just start. we never had this issue I cant seem to fix this issue any idea in the settings we run conquest and domation maps hopefully some can help.
  6. situs depo 10k

    Depo 10K - Deposit Kecil, Manfaat Besar
    Solusi tepat buat kamu yang ingin isi saldo mulai dari 10 ribu. Praktis, cepat, dan aman setiap saat.

    https://situsdepo10k.sport.blog/

    Terpercaya (37).png

  7. We run our server through NFO, and sometime last year the map round #'s have been re-setting from 1 to 2. Originally we thought it was a prank by one of our own, but that's not the case. Within hours of cleaning the map list, and starting over, at least half were swapped to "2". This also happened before our nightly server reboot of BF4. Just looking to see if anyone has insight on the matter. Thanks for reading.
  8. GDZIE JEST ! Łącze do pobranie wtyczki
  9. Is there any help any more for things like this? [TB] ERROR checking for Update: System.Net.WebException: Error: NameResolutionFailure at System.Net.WebConnection.Connect (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x00044] in <33b19a7ad5234d94abf4fd9b47566616>:0 at System.Net.WebConnection.InitConnection (System.Net.WebOperation operation, System.Threading.CancellationToken cancellationToken) [0x000cc] in <33b19a7ad5234d94abf4fd9b47566616>:0 at System.Net.WebOperation.Run () [0x0009a] in <33b19a7ad5234d94abf4fd9b47566616>:0 at System.Net.WebCompletionSource`1[T].WaitForCompletion () [0x00094] in <33b19a7ad5234d94abf4fd9b47566616>:0 at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task`1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func`1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in <33b19a7ad5234d94abf4fd9b47566616>:0 at System.Net.HttpWebRequest.GetResponse () [0x00016] in <33b19a7ad5234d94abf4fd9b47566616>:0 at System.Net.WebClient.GetWebResponse (System.Net.WebRequest request) [0x00000] in <33b19a7ad5234d94abf4fd9b47566616>:0 at System.Net.WebClient.DownloadBits (System.Net.WebRequest request, System.IO.Stream writeStream) [0x000e6] in <33b19a7ad5234d94abf4fd9b47566616>:0 at System.Net.WebClient.DownloadDataInternal (System.Uri address, System.Net.WebRequest& request) [0x00061] in <33b19a7ad5234d94abf4fd9b47566616>:0 at System.Net.WebClient.DownloadString (System.Uri address) [0x00011] in <33b19a7ad5234d94abf4fd9b47566616>:0 at System.Net.WebClient.DownloadString (System.String address) [0x00008] in <33b19a7ad5234d94abf4fd9b47566616>:0 at (wrapper remoting-invoke-with-check) System.Net.WebClient.DownloadString(string) at PRoConEvents.TrueBalancer.UpdateCheck () [0x00034] in <db39b814cc494de7bfb584fdea4a5543>:0
  10. How do i get this to work? i get fail when i am locked into procon
  11. Hello! Please help with the MULTIbalancer settings in air superiority and infantry superiority mode, it is not possible to configure this plugin so that Scrambler works well, Teams Will Be Scrambled is not prescribed at the end of the round, and you need to manually prescribe @mb scramble on every time. I would be very grateful for your help.
  12. hello i am having problems with my rcon specifically the votemap can you help me
  13. Hello , Is this screenshot taken from Procon ? Or another that i don't know ? My eyes are burned and the full white make them wet when too long Would be very nice if anyone can answer me , or give a link to this prog Have a nice day all
  14. This limit will check for how many times a player kills with flare. On the first kill, it will send a warning on chat, on the second kill, it will kick the player. Set limit to evaluate OnKill, set action to None Set first_check to this Expression: Code: ! Regex.Match(kill.Weapon, @"(U_Handflare)", RegexOptions.IgnoreCase).Success Set second_check to this Code: Code: double count = limit.Activations(player.Name); if (count == 1) plugin.SendGlobalMessage(plugin.R("%p_n%, flares not allowed on this server, do not use %w_n% again! Next time kick")); else if (count > 1) plugin.KickPlayerWithMessage(player.Name, plugin.R("%p_n%, kicked you for using %w_n% ")); return false;
  15. Hi, is there any option to kick someone who is using flare from the server or when they throw flare? thx.
  16. Can anyone help me I need a code to block players who want to change teams only VIPs can how to do this
  17. alguem pode me ajudar preciso de um code para bloquear os players que querem trocar de time apenas vips podem tem como fazer isso
  18. Tem alguma coisa que bloqueia os jogadores de se moverem de time e só os vips consegu
  19. estou tentando colocar essas regras aqui no insane mas da erro / Cria uma lista para as regras do servidor List<string> Rules = new List<string>(); Rules.Add("--- SERVER RULES ---"); Rules.Add("No Cheating, Glitching, Statspadding!"); Rules.Add("No Baserape or spawncamping"); Rules.Add("No mainbase camping"); // Verifica se a última mensagem no chat começa com "!rules" if (player.LastChat != null && player.LastChat.StartsWith("!rules")) { // Limita a quantidade de ativações para evitar spam if (limit.Activations(player.Name) >= 2) { // Itera sobre cada regra e envia uma mensagem ao jogador foreach (string Rule in Rules) { if (player.TeamId != null && player.SquadId != null) { plugin.SendSquadMessage(player.TeamId, player.SquadId, Rule); } else { plugin.SendPrivateMessage(player.Name, "Error: Could not retrieve your team or squad information."); break; // Interrompe para evitar mais erros } } } else { plugin.SendPrivateMessage(player.Name, "You have reached the limit for viewing rules."); } } else { plugin.SendPrivateMessage(player.Name, "Use '!rules' to view the server rules."); }
  20. Nie martw się jestem w podobnej sytuacji co ty servery od strony battlefield 3 TO ZWYKŁE GÓWNO !!!...
  21. Hello everyone. How to remove the restriction of one type of weapon for VIP players, but at the same time so that everyone without exception would be killed for using another type. Please show an example.
  22. hi it's been 4 days that i'm getting an error in Adkats : [AdKats] ALTER TABLE adkats_settings MODIFY setting_value varchar(10000) [AdKats] ERROR-7613: [AdKats tables not present or valid in the database. Have you run the AdKats database setup script yet? If so, are your tables InnoDB?] [AdKats] INFO: Shutting down AdKats. [AdKats] SUCCESS: Database timing confirmed. [AdKats] AdKats 7.6.1.3 Disabled! =( here's a screenshot :https://prnt.sc/o9nbuv1E_DZG can anyone help, i tried for hours, running the script again, etc,,, note : everything was working for years with no issues
  23. hello all I am a bit late to the party in terms of hosting a bf4 server but anyways ill get to the point, I am using the vote map plugin and getting the following error. "[10:20:17 02] xVotemap: ERROR checking for Update: System.Net.WebException: The remote name could not be resolved: 'forum.myrcon.com' at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request) at System.Net.WebClient.DownloadString(Uri address) at PRoConEvents.xVotemap.UpdateCheck() in C:\Users\ethan\OneDrive\Desktop\procon\Plugins\BF4\xVotemap.cs:line 1232" was wondering if anyone could help me out. I check in vsstudio to check if anything was wrong but nothing seems out of place and or wrong so I am seeking some help from you guys.
  24. Is it possible to remove the 10 minute timeout from the "killme" command?
  25. hi! Is it possible, for example, using Rсon or other means, to count how many planes were destroyed during a round?
  1. Load more activity
×
×
  • 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.