ImportBot Posted July 16, 2012 Author Share Posted July 16, 2012 Originally Posted by EntraVenuS*: Ouch. The part in bold (multiple kills) is pretty hard to code. I thought your server was Infantry Only, why are there vehicles? Are you sure you need that requirement? I can do it, but it will take a lot longer to write and will require a lot of testing to be sure it works right. I also want to make these changes, are these okay? 1) 20 seconds isn't long enough, particularly since part of the time the victim can't type chat because they are in the killcam screen (unless you have that turned off). How about 60 seconds? 2) In order to be compatible with other plugins that use !punish and @punish, how about just the letter p by itself? 3) Since the admin.kill requires a delay, I'm going to add a yell during the delay, so they know why they are being killed. Looking good my friend. I would prefer the double and tripple kills included as it gives the admin a bit of a chance policing the server as it would be unfair to the person who killed the tank to be killed 3 times by 3 different people. I am aware that a person killed in a tank will have the option to punish but i will clearly state that if you are in any vehicle and you punish for the RPG kill you will be removed from the server.. Thanks in advance * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 17, 2012 Author Share Posted July 17, 2012 Originally Posted by PapaCharlie9*: Ok. One other thing I'll do is only allow the first punish to kill. If there are 3 victims, the first forgives, the second punishes and the third punishes, only the second one will count. After a target is punished they can't be punished again for the same event. Of course, if they violate again they will have a new event and a new set of victims and punishment will work again. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 17, 2012 Author Share Posted July 17, 2012 Originally Posted by Master_Pain*: I have been trying to find a way to display a server's rank in game. I found this thread: www.phogue.net/forumvb/showth...3-plugin-I-saw* Can someone finish off that limit? bump * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 17, 2012 Author Share Posted July 17, 2012 Originally Posted by EntraVenuS*: Ok. One other thing I'll do is only allow the first punish to kill. If there are 3 victims, the first forgives, the second punishes and the third punishes, only the second one will count. After a target is punished they can't be punished again for the same event. Of course, if they violate again they will have a new event and a new set of victims and punishment will work again.that sounds logical .. thanks very much papa * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 17, 2012 Author Share Posted July 17, 2012 Originally Posted by LumpyNutZ*: Could it be possible to make a limit what makes server as "knife only" untill there is like 10-12 players? If someone uses another weapons it could 1st announce warning, 2nd kill, 3rd kick? * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 17, 2012 Author Share Posted July 17, 2012 Originally Posted by HexaCanon*: Could it be possible to make a limit what makes server as "knife only" untill there is like 10-12 players? If someone uses another weapons it could 1st announce warning, 2nd kill, 3rd kick?you should have looked around, it is available on the insane limits - examples thread, but here i give you the full limit as you like. limit one : OnKill first check Expression Code: (!Regex.Match(kill.Weapon, @"(ACB-90|Knife|Melee)", RegexOptions.IgnoreCase).Success && server.PlayerCount <= 12)second check code Code: /* Version: V0.7/R2 */ String kCounter = player.Name + "_TreatAsOne_Count"; TimeSpan time = TimeSpan.FromSeconds(1); // Activations within 1 seconds count as 1 int warnings = 0; if (server.RoundData.issetInt(kCounter)) warnings = server.RoundData.getInt(kCounter); if (warnings == 0) { string msg1 = plugin.R("%p_n%, the server is on knife-only mode, please use a knife untill the mode is off, otherwise you will be punished.") ; plugin.ServerCommand ( "admin.say" , msg1, "player" , player.Name ) ; plugin.ServerCommand ( "admin.yell" , msg1 , "8" , "player" , player.Name ) ; plugin.ConsoleWrite("^8" + msg1 + "^0") ; plugin.PRoConChat("Admin > All: " + msg1); server.RoundData.setInt(kCounter, warnings+1); return false; } if (limit.Activations(player.Name, time) > 1) return false; if (warnings == 1) { string msg1 = plugin.R("%p_n%, you have been killed because the server is on knife-only mode, please use a knife untill the mode is off.") ; plugin.ServerCommand ( "admin.say" , msg1, "player" , player.Name ) ; plugin.ServerCommand ( "admin.yell" , msg1 , "8" , "player" , player.Name ) ; plugin.PRoConChat("Admin > All: " + msg1); plugin.ConsoleWrite("^8" + msg1 + "^0") ; plugin.KillPlayer(player.Name) ; } else if (warnings >= 2) { string msg1 = plugin.R("%p_n%, you have been kicked because the server is on knife-only mode, please use a knife untill the mode is off.") ; plugin.ServerCommand ( "admin.say" , msg1, "player" , player.Name ) ; plugin.ServerCommand ( "admin.yell" , msg1 , "8" , "player" , player.Name ) ; plugin.KickPlayerWithMessage(player.Name, msg1) ; plugin.ConsoleWrite("^8" + msg1 + "^0") ; plugin.PRoConChat("Admin > All: " + msg1); } server.RoundData.setInt(kCounter, warnings+1); return false;limit two :OnSpawn first check expression Code: ((player.TimeTotal/60) <= 3)second check code Code: // Edit rules here List<String> KnifeModeON = new List<String>(); KnifeModeON.Add("--- SERVER KNIFE MODE ---"); KnifeModeON.Add("Less than 13 players online"); KnifeModeON.Add("KNIFE MODE IS ON"); KnifeModeON.Add("use knife only untill server is populated."); KnifeModeON.Add("--- SERVER KNIFE MODE ---"); // Try not to add more Rules.Add because it won't fit in the chat box. // Edit rules here List<String> KnifeModeOFF = new List<String>(); KnifeModeOFF.Add("--- SERVER KNIFE MODE ---"); KnifeModeOFF.Add("more than 12 players online"); KnifeModeOFF.Add("KNIFE MODE IS OFF"); KnifeModeOFF.Add("there is no weapon restriction"); KnifeModeOFF.Add("--- SERVER KNIFE MODE ---"); // Try not to add more Rules.Add because it won't fit in the chat box. if (server.PlayerCount <= 12) { string msg1 = plugin.R("%p_n%, the server is on Knife-only Mode, read the chat for details") ; plugin.ServerCommand ( "admin.yell" , msg1 , "8" , "player" , player.Name ) ; foreach(string Rule in KnifeModeON) plugin.ServerCommand("admin.say", Rule, "player" , player.Name); } else if (server.PlayerCoun > 12 && server.PlayerCount <= 14) { string msg1 = plugin.R("%p_n%, Knife-only Mode is off, read the chat for details") ; plugin.ServerCommand ( "admin.yell" , msg1 , "8" , "player" , player.Name ) ; foreach(string Rule in KnifeModeOFF) plugin.ServerCommand("admin.say", Rule, "player" , player.Name); } return false; * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 17, 2012 Author Share Posted July 17, 2012 Originally Posted by LumpyNutZ*: @HC thanks for that. I tried to look for this kinda limit, but didnt found so many thanks for ur efforts * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 17, 2012 Author Share Posted July 17, 2012 Originally Posted by HexaCanon*: reporting how many players are online for the knife mode server. new limit OnJoin first check expression Code: (true)second check codeCode: // Edit rules here List<String> KnifeModeON = new List<String>(); KnifeModeON.Add("--- SERVER KNIFE MODE ---"); KnifeModeON.Add("Less than 13 players online"); KnifeModeON.Add("KNIFE MODE IS ON"); KnifeModeON.Add("use knife only untill server is populated."); KnifeModeON.Add("--- SERVER KNIFE MODE ---"); // Try not to add more Rules.Add because it won't fit in the chat box. // Edit rules here List<String> KnifeModeOFF = new List<String>(); KnifeModeOFF.Add("--- SERVER KNIFE MODE ---"); KnifeModeOFF.Add("more than 12 players online"); KnifeModeOFF.Add("KNIFE MODE IS OFF"); KnifeModeOFF.Add("there is no weapon restriction"); KnifeModeOFF.Add("--- SERVER KNIFE MODE ---"); // Try not to add more Rules.Add because it won't fit in the chat box. if (server.PlayerCount <= 12) { string msg1 = plugin.R("%p_n%, the server is on Knife-only Mode, read the chat for details") ; plugin.ServerCommand ( "admin.yell" , msg1 , "8" , "player" , player.Name ) ; foreach(string Rule in KnifeModeON) plugin.ServerCommand("admin.say", Rule, "player" , player.Name); } else if (server.PlayerCoun > 12 && server.PlayerCount <= 14) { string msg1 = plugin.R("%p_n%, Knife-only Mode is off, read the chat for details") ; plugin.ServerCommand ( "admin.yell" , msg1 , "8" , "player" , player.Name ) ; foreach(string Rule in KnifeModeOFF) plugin.ServerCommand("admin.say", Rule, "player" , player.Name); } return false;new limit OnLeave first check expression Code: (true)second check codeCode: // Edit rules here List<String> KnifeModeON = new List<String>(); KnifeModeON.Add("--- SERVER KNIFE MODE ---"); KnifeModeON.Add("Less than 13 players online"); KnifeModeON.Add("KNIFE MODE IS ON"); KnifeModeON.Add("use knife only untill server is populated."); KnifeModeON.Add("--- SERVER KNIFE MODE ---"); // Try not to add more Rules.Add because it won't fit in the chat box. // Edit rules here List<String> KnifeModeOFF = new List<String>(); KnifeModeOFF.Add("--- SERVER KNIFE MODE ---"); KnifeModeOFF.Add("more than 12 players online"); KnifeModeOFF.Add("KNIFE MODE IS OFF"); KnifeModeOFF.Add("there is no weapon restriction"); KnifeModeOFF.Add("--- SERVER KNIFE MODE ---"); // Try not to add more Rules.Add because it won't fit in the chat box. if (server.PlayerCount <= 12) { string msg1 = plugin.R("%p_n%, the server is on Knife-only Mode, read the chat for details") ; plugin.ServerCommand ( "admin.yell" , msg1 , "8" , "player" , player.Name ) ; foreach(string Rule in KnifeModeON) plugin.ServerCommand("admin.say", Rule, "player" , player.Name); } else if (server.PlayerCoun > 12 && server.PlayerCount <= 14) { string msg1 = plugin.R("%p_n%, Knife-only Mode is off, read the chat for details") ; plugin.ServerCommand ( "admin.yell" , msg1 , "8" , "player" , player.Name ) ; foreach(string Rule in KnifeModeOFF) plugin.ServerCommand("admin.say", Rule, "player" , player.Name); } return false; * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 17, 2012 Author Share Posted July 17, 2012 Originally Posted by GSMACK*: Is there anyway to set a delay timer between lines of code to fire? For example let's say I want to display two separate yell commands. I'd like to display one, then delay 8 seconds, then display the next for 8 seconds. Without any sort of delay, the second yell command will quickly overwrite the other on screen. I thought about writing a loop that test for the passage of time before executing the next line, but this doesn't seem very efficient at all. Any thoughts? * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 17, 2012 Author Share Posted July 17, 2012 Originally Posted by Singh400*: Is there anyway to set a delay timer between lines of code to fire? For example let's say I want to display two separate yell commands. I'd like to display one, then delay 8 seconds, then display the next for 8 seconds. Without any sort of delay, the second yell command will quickly overwrite the other on screen. I thought about writing a loop that test for the passage of time before executing the next line, but this doesn't seem very efficient at all. Any thoughts? I think you have to use Thread Sleep or something like that... * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 17, 2012 Author Share Posted July 17, 2012 Originally Posted by PapaCharlie9*: Is there anyway to set a delay timer between lines of code to fire? For example let's say I want to display two separate yell commands. I'd like to display one, then delay 8 seconds, then display the next for 8 seconds. Without any sort of delay, the second yell command will quickly overwrite the other on screen. I thought about writing a loop that test for the passage of time before executing the next line, but this doesn't seem very efficient at all. Any thoughts? It's complicated. Thread.Sleep does add a delay, but if you just use it directly in your limit, all of PRoCon goes to sleep and stops processing RCON commands and events. BTW, that's the same problem that writing a polling loop to check the clock would have. Most limits (with a couple of exceptions) run in the main thread, the same one PRoCon uses. You don't want that. In order to do this properly, you have to use some advanced C# programming. You have to create your own thread and, being careful about the states of PRoCon and Insane Limits, particularly with respect to global state, like logging and the ban list, write your limit to run in a separate thread. On the wish list for the next version of Insane Limits is a way to do "easy" delays for most commands. If you can't wait for that and you think you can handle writing multithreaded code with appropriate synchronization, you can look at some of the more advanced examples I've written, like: Insane Limits V0.8/R3: Team Switching Limit*. CAUTION: It is very, very easy to make a mistake with multithreaded code and the consequence is that your PRoCon layer/client will lock-up, freeze, crash or corrupt your session data or log files. Proceed with caution. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 18, 2012 Author Share Posted July 18, 2012 Originally Posted by GSMACK*: Thanks PapaCharlie9 for the explanation. I think it's probably best I just put this on the back burner as things to follow up on in the future if delays get implemented in future releases. Although I followed the Team Switching code example, I think the risk of harm or creating a problem is too great. Thanks for the info though, much appreciated. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 18, 2012 Author Share Posted July 18, 2012 Originally Posted by GSMACK*: Could somebody have a look at the following script? I am reusing some common code examples found on here, but having a problem. It's attempting catch excessive kills by evaluating the number of knife kills per a 30 sec timespan. If greater than 10 it kicks and bans on a second offense. The problem is that it is kicking on the 1st knife kill. Code: //==================================================================================== // Knife Cheat Catcher //==================================================================================== // // This InsaneLimit script will attempt to catch players who get excessive kills with // a knife cheat. If the number of knife kills over a 30 second timespan exceeds the // value you set (10 by default) the player is killed and warned. On the second offense, // the player is banned. // //==================================================================================== InsaneLimits Setup: ------------------- _state: Enabled _name: Knife Cheat _evaluation: OnKill _first_check: Expression _first_check_expression: Regex.Match(kill.Weapon, @"(Melee|Knife|Knife_RazorBlade)", RegexOptions.IgnoreCase).Success _second_check: Code _second_check_code: // --- BEGIN CODE ---- // -------------------- // Using a custom "White_List" for Clan or Admins if (plugin.isInList(killer.Name, "White_List")) { return false; } else { int knifeKills = 10; // CUSTOMIZE, maximum number of Knife Kills per 30 seconds String key = "KnifeCheat_"; String msg = null; if ( limit.Activations(killer.Name, TimeSpan.FromSeconds(30)) < knifeKills ) { return false; } else { if (plugin.Data.issetBool(key + killer.Name)) { // Second time, ban this sucker! plugin.ConsoleWrite("^b[KNIFE CHEAT]^n ^8BANNING^0 " + killer.FullName + " for suspicious use of a knife cheat for a second time!"); msg = "*** Banning " + killer.FullName + " for for suspicious use of a knife cheat!"; plugin.SendGlobalMessage(msg); plugin.PRoConChat(msg); plugin.EABanPlayerWithMessage(EABanType.EA_GUID, EABanDuration.Permanent, killer.Name, 0, killer.Name + " use of a knife cheat!"); msg = plugin.R("[%date% %time%]"); msg = msg + " [KNIFE CHEAT] - " + killer.Name + " use of a knife cheat!"; // ensure you have created a folder named 'Logs' within the root of Procon plugin.Log("Logs/InsaneLimits_BANS.log", msg); return false; } else { // Otherwise, warn and kick plugin.Data.setBool(key + killer.Name, true); plugin.ConsoleWrite("^b[KNIFE CHEAT]^n WARNING " + killer.FullName + " for suspicious use of a Knife Cheat!"); msg = "*** Kicking " + killer.FullName + " for suspicious use of a Knife Cheat!"; plugin.SendGlobalMessage(msg); plugin.PRoConChat(msg); plugin.KickPlayerWithMessage(killer.Name, "Suspicious use of a knife cheat! Final warning! Another violation will result in permanent ban!"); msg = plugin.R("[%date% %time%]"); msg = msg + " [KNIFE CHEAT] - " + killer.Name + " kicked for suspicious use of a knife cheat!"; // ensure you have created a folder named 'Logs' within the root of Procon plugin.Log("Logs/InsaneLimits_KICKS.log", msg); return false; } } } // ----------------- // --- END CODE ---- _action: NoneUpdated: Fixed syntax error, updated key var, and added a few comments. Compiled and Tested!! * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 19, 2012 Author Share Posted July 19, 2012 Originally Posted by PapaCharlie9*: You have greater than where you meant less than in the line highlighted red. Could somebody have a look at the following script? I am reusing some common code examples found on here, but having a problem. It's attempting catch excessive kills by evaluating the number of knife kills per a 30 sec timespan. If greater than 10 it kicks and bans on a second offense. The problem is that it is kicking on the 1st knife kill. Code: //==================================================================================== // Knife Cheat Catcher //==================================================================================== // // This InsaneLimit script will attempt to catch players who get excessive kills with // a knife cheat. If the number of knife kills over a 30 second timespan exceeds the // value you set (10 by default) the player is killed and warned. On the second offense, // the player is banned. // //==================================================================================== InsaneLimits Setup: ------------------- _state: Enabled _name: Knife Cheat _evaluation: OnKill _first_check: Expression _first_check_expression: Regex.Match(kill.Weapon, @"(Melee|Knife|Knife_RazorBlade)", RegexOptions.IgnoreCase).Success _second_check: Code _second_check_code: // --- BEGIN CODE ---- // -------------------- // Using a custom "White_List" for Clan or Admins if (plugin.isInList(killer.Name, "White_List")) { return false; } else { int knifeKills = 10; // CUSTOMIZE, maximum number of Knife Kills per 30 seconds String key = "KnifeCheat_" + killer.FullName; String msg = null; if ( limit.Activations(killer.Name, TimeSpan.FromSeconds(30)) > knifeKills ) { return false; } else { if (plugin.Data.issetBool(key + killer.Name)) { // Second time, ban this sucker! plugin.ConsoleWrite("^b[KNIFE CHEAT]^n ^8BANNING^0 " + killer.FullName + " for suspicious use of a knife cheat for a second time!"); msg = "*** Banning " + killer.FullName + " for for suspicious use of a knife cheat!"; plugin.SendGlobalMessage(msg); plugin.PRoConChat(msg); plugin.EABanPlayerWithMessage(EABanType.EA_GUID, EABanDuration.Permanent, killer.Name, 0, killer.Name + " use of a knife cheat!"); msg = plugin.R("[%date% %time%]"); msg = msg + " [KNIFE CHEAT] - " + killer.Name + " use of a knife cheat!"; plugin.Log("Logs/InsaneLimits_BANS.log", msg); return false; } else { // Otherwise, warn and kick plugin.Data.setBool(key + killer.Name, true); plugin.ConsoleWrite("^b[KNIFE CHEAT]^n WARNING " + killer.FullName + " for suspicious use of a Knife Cheat!"); msg = "*** Kicking " + killer.FullName + " for suspicious use of a Knife Cheat!"; plugin.SendGlobalMessage(msg); plugin.PRoConChat(msg); plugin.KickPlayerWithMessage(killer.Name, "Suspicious use of a knife cheat! Final warning! Another violation will result in permanent ban!"); msg = plugin.R("[%date% %time%]"); msg = msg + " [KNIFE CHEAT] - " + killer.Name + " kicked for suspicious use of a knife cheat!"; plugin.Log("Logs/InsaneLimits_KICKS.log", msg); return false; } } } // ----------------- // --- END CODE ---- _action: None You also have some confusion about key. You either want to use key by itself, instead of key + killer.Name, or change key to be the prefix and always use key + killer.Name. Check lines in blue. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 19, 2012 Author Share Posted July 19, 2012 Originally Posted by GSMACK*: You have greater than where you meant less than in the line highlighted red. You also have some confusion about key. You either want to use key by itself, instead of key + killer.Name, or change key to be the prefix and always use key + killer.Name. Check lines in blue. Thanks PapaCharlie9, good catch!! I've updated my code in the above post in case anybody else would like to use it. Much appreciated!! * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 20, 2012 Author Share Posted July 20, 2012 Originally Posted by droopie*: i want my server to automatically restart if and only if 0 players on the server and the current map has been running for 4hours. how can i do it? there is a plugin that does it but for somereason the plugin unchecks itself so unless i manually enable the plugin i then have to set the option manually to restart the server. i know i can do admin.shutDown to restart the server but dunno how to add the round duration in the limits format. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 20, 2012 Author Share Posted July 20, 2012 Originally Posted by Singh400*: i want my server to automatically restart if and only if 0 players on the server and the current map has been running for 4hours. how can i do it? there is a plugin that does it but for somereason the plugin unchecks itself so unless i manually enable the plugin i then have to set the option manually to restart the server. i know i can do admin.shutDown to restart the server but dunno how to add the round duration in the limits format. page1/index.html* * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 20, 2012 Author Share Posted July 20, 2012 Originally Posted by droopie*: page1/index.html*as i said, i have to manually re-enable the plugin after setting the settings if i want to restart the server with that plugin. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 20, 2012 Author Share Posted July 20, 2012 Originally Posted by Singh400*: as i said, i have to manually re-enable the plugin after setting the settings if i want to restart the server with that plugin.Then you have an old version as the change log clearly states: fixed plugin getting disabled on RestartServer == NoThe plugin does what you want, for support issues please reply in the correct thread. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 20, 2012 Author Share Posted July 20, 2012 Originally Posted by HexaCanon*: or you could use expression Code: ( (server.TimeRound/60) > 240 && server.PlayerCount == 0)and set action to server command Code: Admin.Shutdown * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 20, 2012 Author Share Posted July 20, 2012 Originally Posted by droopie*: Then you have an old version as the change log clearly states: The plugin does what you want, for support issues please reply in the correct thread. i WAS using the LATEST and i know THIS isnt THAT plugins thread and i WASNT asking for support for THAT thread. i WAS asking for a LIMITS request of something similar to that. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 20, 2012 Author Share Posted July 20, 2012 Originally Posted by droopie*: or you could use expression Code: ( (server.TimeRound/60) > 240 && server.PlayerCount == 0)and set action to server command Code: Admin.Shutdown thanks this looks like alot like the "Switch map on empty server" and looks like its exactly what i need. hope it works! edit: tried it but didnt work and also tried adding a ; at the end but still didnt work. then i tried the example of the map change on empty that goes like if((server.TimeRound/60) > 60 && server.PlayerCount == 0 && !server.Data.issetBool("active1")) { plugin.ServerCommand("mapList.runNextRound"); server.Data.setBool("active1", true); } else if (plugin.Data.issetBool("active1") && (server.PlayerCount > 0)) { plugin.Data.unsetBool("active1"); } just to try it out but that does nothing even though i dont have compile errors. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 20, 2012 Author Share Posted July 20, 2012 Originally Posted by PapaCharlie9*: @droopie, what are you evaluating on? OnIntervalServer? What is the interval set to? Also, the command should be spelt: Code: admin.shutDownCase is important. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 21, 2012 Author Share Posted July 21, 2012 Originally Posted by droopie*: @droopie, what are you evaluating on? OnIntervalServer? What is the interval set to? Also, the command should be spelt: Code: admin.shutDownCase is important.since i looked at the server map change on empty server example, i forgot to switch the from code to expression. its all good now. also i spelled it Admin.Shutdown i dont know where i got that from but it worked in that case so dunno if it matters. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 21, 2012 Author Share Posted July 21, 2012 Originally Posted by PapaCharlie9*: that sounds logical .. thanks very much papaOkay, I finally had time to finish it. It's here: www.phogue.net/forumvb/showth...-Simple-punish* * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 22, 2012 Author Share Posted July 22, 2012 Originally Posted by EntraVenuS*: Okay, I finally had time to finish it. It's here: www.phogue.net/forumvb/showth...-Simple-punish* brilliant loaded and testing today will report back later thanks papa * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 23, 2012 Author Share Posted July 23, 2012 Originally Posted by CBG*: Hi, I would like set players/admins to be able to kick and kill only, so they could not ban anyone. I am aware of the in-game admin, but that allows for then to ban and tban. Could insane limits for #kick playername optional reason #kill playername optional reason This would need to be for set players/admins. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 23, 2012 Author Share Posted July 23, 2012 Originally Posted by DeviousDevil*: Not sure if there is a limit out there for this or not, so i will just ask here.. I want a limit that will make the vehicle respawn timer be at 100% when the server has 32 or less players in it, and 50% when its over 32 players.. Anyone know how to do this? * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 23, 2012 Author Share Posted July 23, 2012 Originally Posted by Singh400*: Not sure if there is a limit out there for this or not, so i will just ask here.. I want a limit that will make the vehicle respawn timer be at 100% when the server has 32 or less players in it, and 50% when its over 32 players.. Anyone know how to do this? Definitely do-able... Try:- Code: if (server.PlayerCount <= 32) plugin.ServerCommand("vars.vehicleSpawnDelay", "100"); if (server.PlayerCount >= 36) plugin.ServerCommand("vars.vehicleSpawnDelay", "50"); return false;I've left a 4-player 'grey space'. You don't want the limit constantly sending new updates to the server. * Restored post. It could be that the author is no longer active. Link to comment
ImportBot Posted July 24, 2012 Author Share Posted July 24, 2012 Originally Posted by PapaCharlie9*: Hi, I would like set players/admins to be able to kick and kill only, so they could not ban anyone. I am aware of the in-game admin, but that allows for then to ban and tban. Could insane limits for #kick playername optional reason #kill playername optional reason This would need to be for set players/admins. I'm pretty sure the PRoCon Accounts settings have a level which is kick and kill only, no bans or tbans, which in turn would control the In-Game Admin plugin. Check it out, Accounts tab, double click a player name. * Restored post. It could be that the author is no longer active. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.