Jump to content

Insane Limits Requests


ImportBot

Recommended Posts

Originally Posted by purebattlefield*:

 

I'd be more concerned about the serverInfo spam. I had a similar issue and it turned out to be a balancing plugin causing it. I would run a bare bones setup for a while and see what happens.

We're trying to get our balancing sorted out. We used Insane Balancer and it was working for the server, but not working very well to make rounds even. The latest TrueBalancer seems to be working well for getting the tickets relatively even, but not working well for our server's stability. Maybe I'll try contacting the dev of TrueBalancer with the information you suggested and perhaps ask for an older version for now. I wish this was built into BF3. Gesh.

 

I'll make sure to make a note about the serverInfo request.

 

That is not intended behaviour. Disabling a plugin should (and does) disable it there and then. Rebooting to disable a plugin is unheard of.

Yeah. I can't tell why it would still output error messages if it were off. But it was. Maybe unchecking it in the procon client takes some time to register with the layer?
* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 3.2k
  • Created
  • Last Reply

Originally Posted by purebattlefield*:

 

Woo! Welcome! We still have some work to do yet, hope it's not too bumpy. :smile: - Hmm, sorry it is not my intention to derail this thread. I should have sent a PM, apologies!

 

Update: We turned off one plugin at a time till we found what was causing the issue. It does seem to be TrueBalancer. I've sent an email to the developer.

 

I have 12 limits working in Insane Limits now. I don't want to get rid of insane limits. I like it so much. :smile:

 

I could post a link maybe to my existing limits in case anyone else wanted to use them or if anyone wanted to scan through them and see if they find any glaring issues.

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

Originally Posted by Singh400*:

 

Woo! Welcome! We still have some work to do yet, hope it's not too bumpy. :smile: - Hmm, sorry it is not my intention to derail this thread. I should have sent a PM, apologies!

No worries.

 

Update: We turned off one plugin at a time till we found what was causing the issue. It does seem to be TrueBalancer. I've sent an email to the developer.

In the meantime why don't you try ...* balancing limit that Charlie coded?

 

I have 12 limits working in Insane Limits now. I don't want to get rid of insane limits. I like it so much. :smile:

12 active limits? Blimey.

 

I could post a link maybe to my existing limits in case anyone else wanted to use them or if anyone wanted to scan through them and see if they find any glaring issues.

Yes if you feel the need do so. Remember to use the
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Singh400*:

 

@PC9: Any idea how I would do something every 5th/nth event? So for example lets say I have a basic OnSpawn message script.

 

If I wanted to shout a message every 5th spawn how would I do it? I know I could do do (count = 5), (count = 10) and etc. But is there a better way?

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

Originally Posted by purebattlefield*:

 

Sorry about the long post incoming.. Here are the limits I'm using:

 

 

Kick without Battlelog

OnJoin

Expression

Code:

player.Battlelog404 == true
Code:

Code:

plugin.KickPlayerWithMessage(player.Name, plugin.R("player.Name, you were kicked for not having a Battelog account"));
Low Population Welcome

OnSpawn

Expression

Code:

(server.PlayerCount < 17)
Code

Code:

List<String> Low = new List<String>();
Low.Add("Attention, soldier! Let's get this server going!");
Low.Add("We'll notify you when new players are joining.");
Low.Add("From 1-16 players, we run Team Deathmatch.");
Low.Add("After 17+ players, the next map will be Conquest.");


if (limit.ActivationsTotal(player.Name) > 1) 
return false;
    foreach(string X in Low)
plugin.ServerCommand("admin.say", X, "player", player.Name);
return false;
Admin Commands (/admhelp)

OnAnyChat

Expression

Code:

player.LastChat.StartsWith("/admhelp")
Code

Code:

// Edit AdminHelp here
List<String> ADM = new List<String>();
ADM.Add("/@yell [text]\n/@pyell [playername] [text]\n/@kick [playername] [optional: reason]\n/@kill [playername] [optional: reason]\n/@tb-move [playername]\n/@scrambleround: Scramble teams at round end.");

    foreach(string X in ADM)
       plugin.ServerCommand("admin.yell", X, "20", "player", player.Name);

return false;
End of round "Auto Shuffle" Yell

OnSpawn

Expression

Code:

(team1.RemainTicketsPercent < 20 || team2.RemainTicketsPercent < 20)
Code

Code:

if (limit.Activations() > 1)
	return false;

string msg = "Teams auto-balance between rounds.";
plugin.ServerCommand("admin.yell", msg, "20");
return false;
Help Request (/help)

OnAnyChat

Expression

Code:

player.LastChat.StartsWith("/help")
Code

Code:

// Edit Help here
List<String> Help = new List<String>();
Help.Add("/about[b][/b]: Why this server is awesome\n/rules: Learn what is & isn't OK here\n/ts3: TeamSpeak 3 and TS3Sync information\n/nextmap: Show the next map and game type\n/@admin [message]: E-mail all admins");

    foreach(string X in Help)
       plugin.ServerCommand("admin.yell", X, "20", "player", player.Name);

return false;
TS3 Request (/ts3)

OnAnyChat

Expression

Code:

player.LastChat.StartsWith("/ts3")
Code

Code:

// Edit TS3 here
List<String> TS3 = new List<String>();

TS3.Add("TeamSpeak 3 server: teamspeak.purebattlefield.org:10420\n\nWith 6+ TS users, our server automatically assigns TS channels based on BF3 teams/squads. Private squad channel activates when 2+ TS players join one squad.\n\nYour TS name must match your BF3 name.");

    foreach(string X in TS3)
       plugin.ServerCommand("admin.yell", X, "20", "player", player.Name);

return false;
About Request (/about)

OnAnyChat

Expression

Code:

player.LastChat.StartsWith("/about")
Code

Code:

// Edit About here
List<String> About = new List<String>();

About.Add("We feature vanilla gameplay settings, a full map rotation, reasonable ticket sizes, automatic team balancing, a synchronized TeamSpeak server, anti-cheat systems, and many volunteer admins.\n\nFeedback welcome at [email protected].");

    foreach(string X in About)
       plugin.ServerCommand("admin.yell", X, "20", "player", player.Name);

return false;
Rules Request (/rules)

OnAnyChat

Expression

Code:

player.LastChat.StartsWith("/rules")
Code

Code:

// Edit Rules here
List<String> Rules = new List<String>();

Rules.Add("1. Be civil. Swearing fine; racism, sexism, homophobia not.\n2. No hacking or cheating.\n3. Do not intentionally sabotage your team.\n4. Everything else is fair game!\n\nFull rules on purebattlefield.reddit.com.");

    foreach(string X in Rules)
       plugin.ServerCommand("admin.yell", X, "20", "player", player.Name);

return false;
Admin Announce

OnJoin

Expression

Code:

( plugin.isInList(player.Name, "admins") )
Code

Code:

plugin.ServerCommand("admin.yell", "Admin " + player.Name + " is joining the server.");
Next map Request (/nextmap)

OnAnyChat

Code:

player.LastChat.StartsWith("/nextmap")
Code

Code:

/* BF3 friendly map names, including B2K */
    Dictionary<String, String> Maps = new Dictionary<String, String>();
    Maps.Add("MP_001", "Grand Bazaar");
    Maps.Add("MP_003", "Teheran Highway");
    Maps.Add("MP_007", "Caspian Border");
    Maps.Add("MP_011", "Seine Crossing");
    Maps.Add("MP_012", "Operation Firestorm");
    Maps.Add("MP_013", "Damavand Peak");
    Maps.Add("MP_017", "Noshahr Canals");
    Maps.Add("MP_018", "Kharg Island");
    Maps.Add("MP_Subway", "Operation Metro");
    Maps.Add("XP1_001", "Strike At Karkand");
    Maps.Add("XP1_002", "Gulf of Oman");
    Maps.Add("XP1_003", "Sharqi Peninsula");
    Maps.Add("XP1_004", "Wake Island");
    
    /* BF3 friendly game modes, including B2K */
    Dictionary<String, String> Modes = new Dictionary<String, String>();    
    Modes.Add("ConquestLarge0", "Conquest64");
    Modes.Add("ConquestSmall0", "Conquest");
    Modes.Add("ConquestSmall1", "Conquest Assault");
    Modes.Add("RushLarge0", "Rush");
    Modes.Add("SquadRush0", "Squad Rush");
    Modes.Add("SquadDeathMatch0", "Squad Deathmatch");
    Modes.Add("TeamDeathMatch0", "Team Deathmatch");
    
    plugin.ConsoleWrite(plugin.R("%p_n% wants to know the next map"));
    if (Maps.ContainsKey(server.NextMapFileName) && Modes.ContainsKey(server.NextGamemode))
         plugin.ServerCommand("admin.yell", "The next map is " + Maps[server.NextMapFileName]+" on " + Modes[server.NextGamemode], "20", "player", player.Name);
Announce Next Mode

OnSpawn

Expression

Code:

(team1.RemainTicketsPercent < 15 || team2.RemainTicketsPercent < 15)
Code

Code:

if (limit.Activations() > 2)
        return false;

if (server.PlayerCount < 13 ) {
		String message = "If no more than 12 players come";
		String message1 = "Next Mode will be TDM!";
                plugin.SendGlobalMessage(message); 
		plugin.SendGlobalMessage(message1);
		plugin.ConsoleWrite(message);
		plugin.ConsoleWrite(message1);
// When 12- players - TDM
}

if (server.PlayerCount > 13 ) {
		String message = "If more than 13 players stay";
		String message1 = "Next Mode will be CQ!";
                plugin.SendGlobalMessage(message); 
		plugin.SendGlobalMessage(message1);
		plugin.ConsoleWrite(message);
		plugin.ConsoleWrite(message1);
// When 13+ players - CQ
}
return false;
Admin List (/listadmins)

OnAnyChat

Expression

Code:

( plugin.IsInGameCommand(player.LastChat) )
Code

Code:

/* Extract the command */
String command = plugin.ExtractInGameCommand(player.LastChat);

/* Sanity check the command */
if (null == command || command.Length == 0)
    return false;

/* Parse the command */
if (Regex.Match(command, "listadmins", RegexOptions.IgnoreCase).Success) {
    String adminList = "Admins: ";
    bool found = false;
    List<PlayerInfoInterface> players = new List<PlayerInfoInterface>();
    players.AddRange(team1.players);
    players.AddRange(team2.players);
    if (team3.players.Count > 0)
        players.AddRange(team3.players);
    if (team4.players.Count > 0)
        players.AddRange(team4.players);

    foreach (PlayerInfoInterface p in players) {
        if (plugin.isInList(p.Name, "admins")) {
            if (found)
               adminList = adminList + ", " + p.Name;
            else
               adminList = adminList + p.Name;
            found = true;
        }
    }
    if (found)
        plugin.ServerCommand("admin.yell", adminList, "20", "player", player.Name);
}

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

Originally Posted by Singh400*:

 

Looks good to me. But I would stop using Kick without Battlelog limit as it will kick players that have multiple personas under one name on Battlelog.

 

This player is a good example of that: http://battlelog.battlefield.com/bf3/user/gbh4/

 

He joins my server as iGiGreg but Insane Limits goes nuts telling me that player gbh4 doesn't exist. When he clearly does.

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

Originally Posted by purebattlefield*:

 

I see. We were getting errors when stat lookup failed because a battlelog did not exist for the player. It was making our balancer not work. We were getting NaN for TrueBalancer when it would try to get the stats for players. It seems if it couldn't pull the battlelog information it would null the count and be unable to balance.

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

Originally Posted by HexaCanon*:

 

@PC9: Any idea how I would do something every 5th/nth event? So for example lets say I have a basic OnSpawn message script.

 

If I wanted to shout a message every 5th spawn how would I do it? I know I could do do (count = 5), (count = 10) and etc. But is there a better way?

dividing the limit activation number by 5 should result with a 0 reminder , in that case it should send true ?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by purebattlefield*:

 

No worries.

 

12 active limits? Blimey.

Are there issues with using too many limits in Insane Limits?

 

I needed an admin logging tool and found Admin Audit Trail mentioned earlier. I really like using limits to make things work, but is there a point where I should be looking for stand alone plugins instead? Or perhaps learning to write my own? I'm assuming the jump from working with limits to writing plugins is substantial. I'm already looking into changing my /command limits (/help etc) over to a stand alone plugin.

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

Originally Posted by Singh400*:

 

dividing the limit activation number by 5 should result with a 0 reminder , in that case it should send true ?

Think you misread the post. I want a sure fire way of sending a OnSpawn message every 5th spawn (as an example). Without having to write statements for 5, 10, 15, 20, 25 etc

 

Are there issues with using too many limits in Insane Limits?

 

I needed an admin logging tool and found Admin Audit Trail mentioned earlier. I really like using limits to make things work, but is there a point where I should be looking for stand alone plugins instead? Or perhaps learning to write my own? I'm assuming the jump from working with limits to writing plugins is substantial. I'm already looking into changing my /command limits (/help etc) over to a stand alone plugin.

No, I had no problems with 20+ active limits. Not sure you need to move the /help and etc over to a new plugin as they wouldn't cause any problems.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

Am I looking for things like this_:

 

[14:53:33] serverInfo

[14:53:33] admin.listPlayers all

[14:53:33] mapList.getMapIndices

[14:53:59] serverInfo

[14:53:59] admin.listPlayers all

[14:53:59] punkBuster.pb_sv_command pb_sv_plist

[14:54:00] serverInfo

[14:54:00] serverInfo

[14:54:00] serverInfo

[14:54:00] serverInfo

[14:54:03] serverInfo

Yes, but with all the data. We need to see the size of the replies, like the size of the listPlayers. If it's big, which we would expect, and happening multiple times per minute, that might cause lag. Also, having serverInfo sent multiple times a second may also cause lag.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

We're trying to get our balancing sorted out. We used Insane Balancer and it was working for the server, but not working very well to make rounds even. The latest TrueBalancer seems to be working well for getting the tickets relatively even, but not working well for our server's stability. Maybe I'll try contacting the dev of TrueBalancer with the information you suggested and perhaps ask for an older version for now. I wish this was built into BF3. Gesh.

 

I'll make sure to make a note about the serverInfo request.

 

 

 

Yeah. I can't tell why it would still output error messages if it were off. But it was. Maybe unchecking it in the procon client takes some time to register with the layer?

Like Singh suggested, turn off TrueBalancer and give my Insane Limits balancer a try. Unless you need instant balancing.

 

page1/index.html*

 

Yeah, 12 is nothing. I have 20+ limits running also and never have any PRoCon lag when the server is full, although I don't use a layer. That said, you could reduce the number of limits you have by combining all the /command limits into a single one. Just detect a starting / in first_check and then parse out the individual commands in a single second_check. They are all pretty small, so making one consolidated limit shouldn't be too bad.

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

Originally Posted by PapaCharlie9*:

 

@PC9: Any idea how I would do something every 5th/nth event? So for example lets say I have a basic OnSpawn message script.

 

If I wanted to shout a message every 5th spawn how would I do it? I know I could do do (count = 5), (count = 10) and etc. But is there a better way?

Are you asking about how to do the count or how to write a condition to execute every nth count? I'll answer both.

 

The count is the conventional variable stuff. I've used a pattern like this in a lot of plugins and should be pretty familiar:

 

Code:

String kCount = "mycounter";

int count = 0;
if (plugin.RoundData.issetInt(kCount)) count = plugin.RoundData.getInt(kCount);
...
count  = count + 1;
plugin.RoundData.setInt(kCount, count);
To execute a condition on every Nth, use the modulus (integer remainder) operator %. For example, this would do something every 5th (0, 5, 10, 15, 20, ...)

 

Code:

if (count % 5 == 0) {
   .... do something every 5th
}
This is because any integer divided by 5 that has 0 as the remainder has to be a multiple of 5, thus, every fifth. Just keep in mind that (0 % N == 0) will be true, so if you don't want to include 0, you have to exclude it with another clause:

 

Code:

if ((count % 5) == 0 && count != 0) ...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by purebattlefield*:

 

We figured out that we need to restart the procon layer in order to turn off a plugin, after unchecking it. Just simply unchecking it in procon doesn't seem to do it.

 

 

 

 

Raised the timeout to 61. Still getting the exception about once a minute. Console log has been logging for a day or so now. Probably should start a new one to get the information needed.

 

Am I looking for things like this_:

 

[14:53:33] serverInfo

[14:53:33] admin.listPlayers all

[14:53:33] mapList.getMapIndices

[14:53:59] serverInfo

[14:53:59] admin.listPlayers all

[14:53:59] punkBuster.pb_sv_command pb_sv_plist

[14:54:00] serverInfo

[14:54:00] serverInfo

[14:54:00] serverInfo

[14:54:00] serverInfo

[14:54:03] serverInfo

 

We're only experiencing issues with our procon lagging / giving exceptions when the server has something like over 25 people. At 64 it has just been terrible. So maybe the listPlayers is indeed at fault.

Just to update. We were using a plugin named Player Based Welcoming and it was the cause of our problems. Or at least seems that way so far. Things are running smoothly now. I moved the welcome message to an on spawn limit. :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Singh400*:

 

Like Singh suggested, turn off TrueBalancer and give my Insane Limits balancer a try. Unless you need instant balancing.

 

page1/index.html*

 

Yeah, 12 is nothing. I have 20+ limits running also and never have any PRoCon lag when the server is full, although I don't use a layer. That said, you could reduce the number of limits you have by combining all the /command limits into a single one. Just detect a starting / in first_check and then parse out the individual commands in a single second_check. They are all pretty small, so making one consolidated limit shouldn't be too bad.

Can't believe I didn't think of that before! Nice idea...

 

Code:

if ( player.LastChat.StartsWith("@rules") )
	{
		// Edit rules here
		List<String> Rules = new List<String>();
		Rules.Add("Only one rule");
		Rules.Add("No cheating, don't be a dick & no racism");
		Rules.Add("Everything else goes");

		// Try not to add more Rules.Add because it won't fit in the chat box.

		plugin.ConsoleWrite(plugin.R("%p_n% wants to know the rules"));
			foreach(string A in Rules)
				plugin.ServerCommand("admin.say", A, "player", player.Name);
	}
	
if ( player.LastChat.StartsWith("@teamspeak") )
	{
		// Edit TS3 info here
		List<String> TS3 = new List<String>();
		TS3.Add("Address: ts63.gameservers.com");
		TS3.Add("Port: 9280");
		TS3.Add("Password: nicetry - then poke one of us to get moved");

		// Try not to add more TS3.Add because it won't fit in the chat box.

		plugin.ConsoleWrite(plugin.R("%p_n% requested TS3 details"));
			foreach(string B in TS3)
				plugin.ServerCommand("admin.say", B, "player", player.Name);
	}

if ( player.LastChat.StartsWith("@haggis") )
	{
		// Edit server info here
		List<String> SC = new List<String>();
		SC.Add("To see the rules type @rules");
		SC.Add("To see the next map type @shownext");
		SC.Add("To see the TeamSpeak details type @teamspeak");

		// Try not to add more SC.Add because it won't fit in the chat box.

		plugin.ConsoleWrite(plugin.R("%p_n% requested the server commands"));
			foreach(string C in SC)
				plugin.ServerCommand("admin.say", C, "player", player.Name);
	}
	
return false;
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by GSMACK*:

 

I was wondering if somebody could help with the following request or point me to an existing example?

 

I would like a Limit to Mute players for a specified time period. By mute, I mean intercept their chat messages for X minutes and prevent them from being seen by other players.

 

Here's how I would imagine it would work:

 

a player issues a command like: @mute

 

-If the player issuing the command is on a custom admin list then the script continues,

otherwise the limit intercepts the message from being displayed to others and issues a say

message back to the player that they do no have rights to use that command.

 

- If the targeted player to be banned is on the custom admin list then the message is

intercepted preventing others from seeing it and issues a say message back that the

targeted player cannot be muted.

 

- If the player issuing the command is on the custom admin list and targeted player

is not on the custom admin list, the message is intercepted, a say message to all is

issued that " has been muted for x minutes. Messages will not be

displayed from during this time."

 

- During the mute period, all chat messages are intercepted from the muted

preventing them from being displayed and a reply say message is issued back to

reminding them they are still muted for x minutes.

 

- If a muted player quits and rejoins, the mute period stays intact and not lifted until time served.

 

- Optionally, and probably not doable but would be nice if the mute period doesn't expire until the

entire mute period has been served. Meaning, if target player quits after 1 minute of his 10

minute mute period and then rejoins an hour later he is still muted for the remaining 9 minutes.

 

Any help would be greatly appreciated!!

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

Originally Posted by GSMACK*:

 

Unfortunately, not possible for BF3. There's no command in RCON to control player chat.

That's a shame. It be a better approach to just quiet the hot heads and kiddies rather than kill/kick/ban. Gives them time to cool off and just play the game.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by purebattlefield*:

 

Yeah, 12 is nothing. I have 20+ limits running also and never have any PRoCon lag when the server is full, although I don't use a layer. That said, you could reduce the number of limits you have by combining all the /command limits into a single one. Just detect a starting / in first_check and then parse out the individual commands in a single second_check. They are all pretty small, so making one consolidated limit shouldn't be too bad.

What would be the advantage of combining all my chat command limits into one?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by HexaCanon*:

 

it gives no other line

 

this is the code (original vote-kick code works but this one does not)

 

Code:

double percent = 25;

/* Verify that it is a command */
if (!plugin.IsInGameCommand(player.LastChat))
    return false;

/* Extract the command */
String command = plugin.ExtractInGameCommand(player.LastChat);

/* Sanity check the command */
if (command.Length == 0)
    return false;
    
/* Parse the command */
Match kickMatch = Regex.Match(command, @"^votekick\s+([^ ]+)", RegexOptions.IgnoreCase);

/* Bail out if not a vote-kick */
if (!kickMatch.Success)
    return false;
    
/* Extract the player name */
PlayerInfoInterface target = plugin.GetPlayer(kickMatch.Groups[1].Value.Trim(), true);

if (target == null)
    return false;
    
if (target.Name.Equals(player.Name))
{   if (player.Data.issetBool("ENG") == true ) {
        plugin.ServerCommand ( "admin.say" , plugin.R("player.Name, you cannot vote-kick yourself!"), "player" , player.Name ) ;
    } else if (player.Data.issetBool("FR") == true ) {
        plugin.ServerCommand ( "admin.say" , plugin.R("player.Name, you cannot vote-kick yourself!"), "player" , player.Name ) ;
    } else if (player.Data.issetBool("GE") == true ) {
        plugin.ServerCommand ( "admin.say" , plugin.R("player.Name, you cannot vote-kick yourself!"), "player" , player.Name ) ;
    } else if (player.Data.issetBool("SP") == true ) {
        plugin.ServerCommand ( "admin.say" , plugin.R("player.Name, you cannot vote-kick yourself!"), "player" , player.Name ) ;
    } else if (player.Data.issetBool("IT") == true ) {
        plugin.ServerCommand ( "admin.say" , plugin.R("player.Name, you cannot vote-kick yourself!"), "player" , player.Name ) ;
    } else if (player.Data.issetBool("PO") == true ) {
        plugin.ServerCommand ( "admin.say" , plugin.R("player.Name, you cannot vote-kick yourself!"), "player" , player.Name ) ;
    } else if (player.Data.issetBool("SW") == true ) {
        plugin.ServerCommand ( "admin.say" , plugin.R("player.Name, you cannot vote-kick yourself!"), "player" , player.Name ) ;
    } else if (player.Data.issetBool("RU") == true ) {
        plugin.ServerCommand ( "admin.say" , plugin.R("player.Name, you cannot vote-kick yourself!"), "player" , player.Name ) ;
    } else if (player.Data.issetBool("DA") == true ) {
        plugin.ServerCommand ( "admin.say" , plugin.R("player.Name, you cannot vote-kick yourself!"), "player" , player.Name ) ;
    }
    return false;
}
    
/* Account the vote in the voter's dictionary */
/* Votes are kept with the voter, not the votee */
/* If the voter leaves, his votes are not counted */

if (!player.DataRound.issetObject("votekick"))
    player.DataRound.setObject("votekick", new Dictionary<String, bool>());

Dictionary<String, bool> vdict =  (Dictionary<String, bool>) player.DataRound.getObject("votekick");

if (!vdict.ContainsKey(target.Name))
    vdict.Add(target.Name, true);


/* Tally the votes against the target player */
double votes = 0;
List<PlayerInfoInterface> all = new List<PlayerInfoInterface>();
all.AddRange(team1.players);
all.AddRange(team2.players);
all.AddRange(team3.players);
all.AddRange(team4.players);

foreach(PlayerInfoInterface p in all)
    if (p.DataRound.issetObject("votekick"))
    {
       Dictionary<String, bool> pvotes = (Dictionary<String, bool>) p.DataRound.getObject("votekick");
       if (pvotes.ContainsKey(target.Name) && pvotes[target.Name])
           votes++;
    }

if (all.Count == 0)
    return false;
    
int needed = (int) Math.Ceiling((double) all.Count * (percent/100.0));
int remain = (int) ( needed - votes);

if (remain == 1) {
    foreach (PlayerInfoInterface p in all) {
    if (p.Data.issetBool("ENG") == true ) {
        plugin.ServerCommand("admin.say", target.Name + " is about to get vote-kicked, 1 more vote needed", "player", player.Name);
    } else if (p.Data.issetBool("FR") == true ) {
        plugin.ServerCommand("admin.say", target.Name + " is about to get vote-kicked, 1 more vote needed", "player", player.Name);
    } else if (p.Data.issetBool("GE") == true ) {
        plugin.ServerCommand("admin.say", target.Name + " is about to get vote-kicked, 1 more vote needed", "player", player.Name);
    } else if (p.Data.issetBool("SP") == true ) {
        plugin.ServerCommand("admin.say", target.Name + " is about to get vote-kicked, 1 more vote needed", "player", player.Name);
    }else if (p.Data.issetBool("IT") == true ) {
        plugin.ServerCommand("admin.say", target.Name + " is about to get vote-kicked, 1 more vote needed", "player", player.Name);
    }else if (p.Data.issetBool("PO") == true ) {
        plugin.ServerCommand("admin.say", target.Name + " is about to get vote-kicked, 1 more vote needed", "player", player.Name);
    }else if (p.Data.issetBool("SW") == true ) {
        plugin.ServerCommand("admin.say", target.Name + " is about to get vote-kicked, 1 more vote needed", "player", player.Name);
    }else if (p.Data.issetBool("RU") == true ) {
        plugin.ServerCommand("admin.say", target.Name + " is about to get vote-kicked, 1 more vote needed", "player", player.Name);
    }else if (p.Data.issetBool("DA") == true ) {
        plugin.ServerCommand("admin.say", target.Name + " is about to get vote-kicked, 1 more vote needed", "player", player.Name);
    }
} }
else if (remain > 0) {    
    foreach (PlayerInfoInterface p in all) {
    if (p.Data.issetBool("ENG") == true ) {
        plugin.ServerCommand ( "admin.say" , plugin.R("player.Name, your vote against " + target.Name + " was counted, " + remain + " more needed to kick"), "player" , player.Name ) ;
    } else if (p.Data.issetBool("FR") == true ) {
        plugin.ServerCommand ( "admin.say" , plugin.R("player.Name, your vote against " + target.Name + " was counted, " + remain + " more needed to kick"), "player" , player.Name ) ;
    } else if (p.Data.issetBool("GE") == true ) {
        plugin.ServerCommand ( "admin.say" , plugin.R("player.Name, your vote against " + target.Name + " was counted, " + remain + " more needed to kick"), "player" , player.Name ) ;
    } else if (p.Data.issetBool("SP") == true ) {
        plugin.ServerCommand ( "admin.say" , plugin.R("player.Name, your vote against " + target.Name + " was counted, " + remain + " more needed to kick"), "player" , player.Name ) ;
    }else if (p.Data.issetBool("IT") == true ) {
        plugin.ServerCommand ( "admin.say" , plugin.R("player.Name, your vote against " + target.Name + " was counted, " + remain + " more needed to kick"), "player" , player.Name ) ;
    }else if (p.Data.issetBool("PO") == true ) {
        plugin.ServerCommand ( "admin.say" , plugin.R("player.Name, your vote against " + target.Name + " was counted, " + remain + " more needed to kick"), "player" , player.Name ) ;
    }else if (p.Data.issetBool("SW") == true ) {
        plugin.ServerCommand ( "admin.say" , plugin.R("player.Name, your vote against " + target.Name + " was counted, " + remain + " more needed to kick"), "player" , player.Name ) ;
    }else if (p.Data.issetBool("RU") == true ) {
        plugin.ServerCommand ( "admin.say" , plugin.R("player.Name, your vote against " + target.Name + " was counted, " + remain + " more needed to kick"), "player" , player.Name ) ;
    }else if (p.Data.issetBool("DA") == true ) {
        plugin.ServerCommand ( "admin.say" , plugin.R("player.Name, your vote against " + target.Name + " was counted, " + remain + " more needed to kick"), "player" , player.Name ) ;
    }
}


if (remain > 0)
    plugin.ConsoleWrite(player.Name + ", is trying to vote-kick " + target.Name + ", " + remain + " more votes needed");

if (votes >= needed)
{

foreach (PlayerInfoInterface p in all) {
    if (p.Data.issetBool("ENG") == true ) {
        String count = "with " + votes + " vote" + ((votes > 1)_"s":"");
        String message = target.Name + " was vote-kicked " + count ;
        plugin.ServerCommand("admin.say", message, "player", player.Name);
    } else if (p.Data.issetBool("FR") == true ) {
        String count = "with " + votes + " vote" + ((votes > 1)_"s":"");
        String message = target.Name + " was vote-kicked " + count ;
        plugin.ServerCommand("admin.say", message, "player", player.Name);
    } else if (p.Data.issetBool("GE") == true ) {
        String count = "with " + votes + " vote" + ((votes > 1)_"s":"");
        String message = target.Name + " was vote-kicked " + count ;
        plugin.ServerCommand("admin.say", message, "player", player.Name);
    } else if (p.Data.issetBool("SP") == true ) {
        String count = "with " + votes + " vote" + ((votes > 1)_"s":"");
        String message = target.Name + " was vote-kicked " + count ;
        plugin.ServerCommand("admin.say", message, "player", player.Name);
    }else if (p.Data.issetBool("IT") == true ) {
        String count = "with " + votes + " vote" + ((votes > 1)_"s":"");
        String message = target.Name + " was vote-kicked " + count ;
        plugin.ServerCommand("admin.say", message, "player", player.Name);
    }else if (p.Data.issetBool("PO") == true ) {
        String count = "with " + votes + " vote" + ((votes > 1)_"s":"");
        String message = target.Name + " was vote-kicked " + count ;
        plugin.ServerCommand("admin.say", message, "player", player.Name);
    }else if (p.Data.issetBool("SW") == true ) {
        String count = "with " + votes + " vote" + ((votes > 1)_"s":"");
        String message = target.Name + " was vote-kicked " + count ;
        plugin.ServerCommand("admin.say", message, "player", player.Name);
    }else if (p.Data.issetBool("RU") == true ) {
        String count = "with " + votes + " vote" + ((votes > 1)_"s":"");
        String message = target.Name + " was vote-kicked " + count ;
        plugin.ServerCommand("admin.say", message, "player", player.Name);
    }else if (p.Data.issetBool("DA") == true ) {
        String count = "with " + votes + " vote" + ((votes > 1)_"s":"");
        String message = target.Name + " was vote-kicked " + count ;
        plugin.ServerCommand("admin.say", message, "player", player.Name);
    }
}
if (target.Data.issetBool("ENG") == true ) {
    String count = "with " + votes + " vote" + ((votes > 1)_"s":"");
    plugin.KickPlayerWithMessage(target.Name, target.Name + ", you were vote-kicked from the server " + count);
} else if (target.Data.issetBool("FR") == true ) {
    String count = "with " + votes + " vote" + ((votes > 1)_"s":"");
    plugin.KickPlayerWithMessage(target.Name, target.Name + ", you were vote-kicked from the server " + count);
} else if (target.Data.issetBool("GE") == true ) {
    String count = "with " + votes + " vote" + ((votes > 1)_"s":"");
    plugin.KickPlayerWithMessage(target.Name, target.Name + ", you were vote-kicked from the server " + count);
} else if (target.Data.issetBool("SP") == true ) {
    String count = "with " + votes + " vote" + ((votes > 1)_"s":"");
    plugin.KickPlayerWithMessage(target.Name, target.Name + ", you were vote-kicked from the server " + count);
} else if (target.Data.issetBool("IT") == true ) {
    String count = "with " + votes + " vote" + ((votes > 1)_"s":"");
    plugin.KickPlayerWithMessage(target.Name, target.Name + ", you were vote-kicked from the server " + count);
} else if (target.Data.issetBool("PO") == true ) {
    String count = "with " + votes + " vote" + ((votes > 1)_"s":"");
    plugin.KickPlayerWithMessage(target.Name, target.Name + ", you were vote-kicked from the server " + count);
} else if (target.Data.issetBool("SW") == true ) {
    String count = "with " + votes + " vote" + ((votes > 1)_"s":"");
    plugin.KickPlayerWithMessage(target.Name, target.Name + ", you were vote-kicked from the server " + count);
} else if (target.Data.issetBool("RU") == true ) {
    String count = "with " + votes + " vote" + ((votes > 1)_"s":"");
    plugin.KickPlayerWithMessage(target.Name, target.Name + ", you were vote-kicked from the server " + count);
} else if (target.Data.issetBool("DA") == true ) {
    String count = "with " + votes + " vote" + ((votes > 1)_"s":"");
    plugin.KickPlayerWithMessage(target.Name, target.Name + ", you were vote-kicked from the server " + count);
}

return true;

}

return false;
and to be honest this whole thing about flagging a player with a language is confusing.

 

Edit: it will be nice if someone can give us a lesson or guide to links where we can learn from.

 

 

Edit 2 : this is also something i am trying to do yet the flags are not set on players.

 

it is a command to change language

 

Code:

if (Regex.Match ( player.LastChat, @"^\s*[!](_:English)", RegexOptions.IgnoreCase).Success) {
    player.Data.setBool("ENG", true);
    player.Data.setBool("FR", false);
    player.Data.setBool("GE", false);
    player.Data.setBool("SP", false);
    player.Data.setBool("IT", false);
    player.Data.setBool("PO", false);
    player.Data.setBool("SW", false);
    player.Data.setBool("RU", false);
    player.Data.setBool("DA", false);
    plugin.ServerCommand ( "admin.say" , plugin.R("you have chosen English for auto-admin language"), "player" , player.Name ) ;
} else if (Regex.Match ( player.LastChat, @"^\s*[!](_:German)", RegexOptions.IgnoreCase).Success) {
    player.Data.setBool("ENG", false);
    player.Data.setBool("FR", false);
    player.Data.setBool("GE", true);
    player.Data.setBool("SP", false);
    player.Data.setBool("IT", false);
    player.Data.setBool("PO", false);
    player.Data.setBool("SW", false);
    player.Data.setBool("RU", false);
    player.Data.setBool("DA", false);
    plugin.ServerCommand ( "admin.say" , plugin.R("German translation is not yet implemented. English messages will be sent"), "player" , player.Name ) ;
} else if (Regex.Match ( player.LastChat, @"^\s*[!](_:French)", RegexOptions.IgnoreCase).Success) {
    player.Data.setBool("ENG", false);
    player.Data.setBool("FR", true);
    player.Data.setBool("GE", false);
    player.Data.setBool("SP", false);
    player.Data.setBool("IT", false);
    player.Data.setBool("PO", false);
    player.Data.setBool("SW", false);
    player.Data.setBool("RU", false);
    player.Data.setBool("DA", false);
    plugin.ServerCommand ( "admin.say" , plugin.R("French translation is not yet implemented. English messages will be sent"), "player" , player.Name ) ;
} else if (Regex.Match ( player.LastChat, @"^\s*[!](_:Spanish)", RegexOptions.IgnoreCase).Success) {
    player.Data.setBool("ENG", false);
    player.Data.setBool("FR", false);
    player.Data.setBool("GE", false);
    player.Data.setBool("SP", true);
    player.Data.setBool("IT", false);
    player.Data.setBool("PO", false);
    player.Data.setBool("SW", false);
    player.Data.setBool("RU", false);
    player.Data.setBool("DA", false);
    plugin.ServerCommand ( "admin.say" , plugin.R("Spanish translation is not yet implemented. English messages will be sent"), "player" , player.Name ) ;
} else if (Regex.Match ( player.LastChat, @"^\s*[!](_:Italian)", RegexOptions.IgnoreCase).Success) {
    player.Data.setBool("ENG", false);
    player.Data.setBool("FR", false);
    player.Data.setBool("GE", false);
    player.Data.setBool("SP", false);
    player.Data.setBool("IT", true);
    player.Data.setBool("PO", false);
    player.Data.setBool("SW", false);
    player.Data.setBool("RU", false);
    player.Data.setBool("DA", false);
    plugin.ServerCommand ( "admin.say" , plugin.R("Italian translation is not yet implemented. English messages will be sent"), "player" , player.Name ) ;
} else if (Regex.Match ( player.LastChat, @"^\s*[!](_:Portuguese)", RegexOptions.IgnoreCase).Success) {
    player.Data.setBool("ENG", false);
    player.Data.setBool("FR", false);
    player.Data.setBool("GE", false);
    player.Data.setBool("SP", false);
    player.Data.setBool("IT", false);
    player.Data.setBool("PO", true);
    player.Data.setBool("SW", false);
    player.Data.setBool("RU", false);
    player.Data.setBool("DA", false);
    plugin.ServerCommand ( "admin.say" , plugin.R("Portuguese translation is not yet implemented. English messages will be sent"), "player" , player.Name ) ;
} else if (Regex.Match ( player.LastChat, @"^\s*[!](_:Swedish)", RegexOptions.IgnoreCase).Success) {
    player.Data.setBool("ENG", false);
    player.Data.setBool("FR", false);
    player.Data.setBool("GE", false);
    player.Data.setBool("SP", false);
    player.Data.setBool("IT", false);
    player.Data.setBool("PO", false);
    player.Data.setBool("SW", true);
    player.Data.setBool("RU", false);
    player.Data.setBool("DA", false);
    plugin.ServerCommand ( "admin.say" , plugin.R("Swedish translation is not yet implemented. English messages will be sent"), "player" , player.Name ) ;
} else if (Regex.Match ( player.LastChat, @"^\s*[!](_:Russian)", RegexOptions.IgnoreCase).Success) {
    player.Data.setBool("ENG", false);
    player.Data.setBool("FR", false);
    player.Data.setBool("GE", false);
    player.Data.setBool("SP", false);
    player.Data.setBool("IT", false);
    player.Data.setBool("PO", false);
    player.Data.setBool("SW", false);
    player.Data.setBool("RU", true);
    player.Data.setBool("DA", false);
    plugin.ServerCommand ( "admin.say" , plugin.R("Russian translation is not yet implemented. English messages will be sent"), "player" , player.Name ) ;
} else if (Regex.Match ( player.LastChat, @"^\s*[!](_:Danish)", RegexOptions.IgnoreCase).Success) {
    player.Data.setBool("ENG", false);
    player.Data.setBool("FR", false);
    player.Data.setBool("GE", false);
    player.Data.setBool("SP", false);
    player.Data.setBool("IT", false);
    player.Data.setBool("PO", false);
    player.Data.setBool("SW", false);
    player.Data.setBool("RU", false);
    player.Data.setBool("DA", true);
    plugin.ServerCommand ( "admin.say" , plugin.R("Danish translation is not yet implemented. English messages will be sent"), "player" , player.Name ) ;
}
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Singh400*:

 

Sorry about the long post incoming.. Here are the limits I'm using:

 

 

Next map Request (/nextmap)

OnAnyChat

Code:

player.LastChat.StartsWith("/nextmap")
Code

Code:

/* BF3 friendly map names, including B2K */
    Dictionary<String, String> Maps = new Dictionary<String, String>();
    Maps.Add("MP_001", "Grand Bazaar");
    Maps.Add("MP_003", "Teheran Highway");
    Maps.Add("MP_007", "Caspian Border");
    Maps.Add("MP_011", "Seine Crossing");
    Maps.Add("MP_012", "Operation Firestorm");
    Maps.Add("MP_013", "Damavand Peak");
    Maps.Add("MP_017", "Noshahr Canals");
    Maps.Add("MP_018", "Kharg Island");
    Maps.Add("MP_Subway", "Operation Metro");
    Maps.Add("XP1_001", "Strike At Karkand");
    Maps.Add("XP1_002", "Gulf of Oman");
    Maps.Add("XP1_003", "Sharqi Peninsula");
    Maps.Add("XP1_004", "Wake Island");
    
    /* BF3 friendly game modes, including B2K */
    Dictionary<String, String> Modes = new Dictionary<String, String>();    
    Modes.Add("ConquestLarge0", "Conquest64");
    Modes.Add("ConquestSmall0", "Conquest");
    Modes.Add("ConquestSmall1", "Conquest Assault");
    Modes.Add("RushLarge0", "Rush");
    Modes.Add("SquadRush0", "Squad Rush");
    Modes.Add("SquadDeathMatch0", "Squad Deathmatch");
    Modes.Add("TeamDeathMatch0", "Team Deathmatch");
    
    plugin.ConsoleWrite(plugin.R("%p_n% wants to know the next map"));
    if (Maps.ContainsKey(server.NextMapFileName) && Modes.ContainsKey(server.NextGamemode))
         plugin.ServerCommand("admin.yell", "The next map is " + Maps[server.NextMapFileName]+" on " + Modes[server.NextGamemode], "20", "player", player.Name);
Just occurred to me that this is out-dated code. Find the up to date code ...*.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by PapaCharlie9*:

 

Which reminds me, I need to go back and check all my limits that compare server.Gamemode with "Conquest" (only). "Domination" needs to be added to those.

 

(gripe) Why couldn't they call it ConquestDomination?

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

Originally Posted by Singh400*:

 

Which reminds me, I need to go back and check all my limits that compare server.Gamemode with "Conquest" (only). "Domination" needs to be added to those.

 

(gripe) Why couldn't they call it ConquestDomination?

I guess because Domination doesn't have ticket bleed. And relies solely on kills to go down.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Singh400*:

 

Charlie, just double check this code for me and see that I haven't made an error anywhere please...

 

Evaluation: OnAnyChat

First_Check as Expression: ( true )

Second_Check as Code:-

Code:

List<String> racisms = new List<String>();
	racisms.Add("nigger");
	racisms.Add("niggers");
	racisms.Add("paki");
	racisms.Add("pakis");
	racisms.Add("nigga");
	racisms.Add("niggas");

String[] chatwords = Regex.Split(player.LastChat, @"\s+");
    
foreach(String chatword in chatwords) 
{
	foreach(String racism in racisms)
	{
		if (Regex.Match(chatword, "^"+racism+"$", RegexOptions.IgnoreCase).Success)
		{
			plugin.SendGlobalMessage(plugin.R("%p_n% was auto-kicked for using the word: "+racism+"!"));
			plugin.SendGlobalMessage(plugin.R("We operate a zero tolerance policy on racism"));
			plugin.KickPlayerWithMessage(player.Name, plugin.R("[Auto-Admin] Racist Language"));
			plugin.ConsoleWarn(plugin.R("%p_n% used the word: "+racism+""));
			plugin.ConsoleWarn(plugin.R("%p_n% was auto-kicked for using the word: "+racism+"!"));			
			plugin.Log("Logs/InsaneLimits_BWD.log", plugin.R("%date% %time% %p_n% said [" + player.LastChat + "]"));
			
			return true;
			
		}
	}
}

List<String> swears = new List<String>();
	swears.Add("cunt");
	swears.Add("cunts");
	swears.Add("jew");
	swears.Add("jews");
	swears.Add("nazi");
	swears.Add("nazis");

String[] chat_words = Regex.Split(player.LastChat, @"\s+");
    
foreach(String chat_word in chat_words) 
{
	foreach(String swear in swears)
	{
		if (Regex.Match(chat_word, "^"+swear+"$", RegexOptions.IgnoreCase).Success)
		{
			plugin.SendGlobalMessage(plugin.R("%p_n% please stop using the word: "+swear+"! This is your only warning!"));
			plugin.ConsoleWarn(plugin.R("%p_n% used the word: "+swear+""));
			plugin.Log("Logs/InsaneLimits_BWD.log", plugin.R("%date% %time% %p_n% said [" + player.LastChat + "]"));
			
			double count = limit.Activations ( player.Name );

			if (count == 2)
				{
					plugin.KickPlayerWithMessage(player.Name, plugin.R("[Auto-Admin] Bad Language"));
					plugin.SendGlobalMessage(plugin.R("%p_n% was auto-kicked for using the word: "+swear+" - after a warning!"));
					plugin.ConsoleWarn(plugin.R("%p_n% was auto-kicked for using the word: "+swear+" - after a warning!"));
				}
			
			return true;
			
		}
	}
}
Just recently combined the two separate codes into one. And checking the logs some player was able to spam cunt without being kicked.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by purebattlefield*:

 

Just occurred to me that this is out-dated code. Find the up to date code ...*.

We don't run Close Quarters (yet) but I did update my code to include Conquest Assault Large and small. Took me a minute a few days ago to figure out why my Announce Next Map wasn't working properly at the end of each map and would only sometimes come up. Thanks for the updated code!
* 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.