Jump to content

Insane Limits Requests


ImportBot

Recommended Posts

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
  • Replies 3.2k
  • Created
  • Last Reply

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

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

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

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

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

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 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;
new limit

 

OnLeave

 

first check expression

Code:

(true)
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

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

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

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

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

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: None
Updated: 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

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

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

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

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

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

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 == No

The 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

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

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

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

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.shutDown
Case is important.
* Restored post. It could be that the author is no longer active.
Link to comment

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.shutDown
Case 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

Originally Posted by PapaCharlie9*:

 

that sounds logical .. thanks very much papa

Okay, 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

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

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

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

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

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

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.