Jump to content

Insane Limits Requests


ImportBot

Recommended Posts

Originally Posted by LCARSx64*:

 

Hello.

 

Could anybody help me with one problem ?

 

I have this rank limit rule ( player.Rank > 60 ) with action kick included and need just for this rule a whitelist.

 

How could i make a whitelist just for this rule ?

 

Best regards

 

Jockey

Enable custom lists 1. Settings > use_custom_lists = True, create a new custom list with the following details:

Code:

name = safe_players
comparison = CaseSensitive
data = player1, player2, player3, etc
Change your first_check Expression to:

Code:

(player.Rank > 60 && !plugin.isInList(player.Name, "safe_players"))
* Restored post. It could be that the author is no longer active.
Link to comment
  • Replies 3.2k
  • Created
  • Last Reply

Originally Posted by newmanyak*:

 

hi

 

I have always open vote for gun master presets? this is possible?

 

How could i make a vote for gun master presets.

 

Best regards

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

Originally Posted by LCARSx64*:

 

hi

 

I have always open vote for gun master presets? this is possible?

 

How could i make a vote for gun master presets.

 

Best regards

I'm already working on one.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by jockey250178*:

 

Enable custom lists 1. Settings > use_custom_lists = True, create a new custom list with the following details:

Code:

name = safe_players
comparison = CaseSensitive
data = player1, player2, player3, etc
Change your first_check Expression to:

Code:

(player.Rank > 60 && !plugin.isInList(player.Name, "safe_players"))
Thank you.

 

That works great.

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

Originally Posted by pspjim*:

 

This is a wonderful plugin, thanks all for helping.

 

I am trying to add the following conditions to the server:

 

any player over 100 rank will get killed after killing another player with whatever weapon, and display message noob only server

any player kill with sniper will get killed, and display no sniper, playername was killed for using sniper

any player with K/D ratio over 2.5 from battlelog will get killed after killing another player with whatever weapon, and display message noob only server

 

above two condition should not limit admin and/or whitelist.

 

also how to add when admin say !move player, then the target player will be admin killed and moved to another team?

 

Thanks!

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

Originally Posted by LCARSx64*:

 

This is a wonderful plugin, thanks all for helping.

 

I am trying to add the following conditions to the server:

 

any player over 100 rank will get killed after killing another player with whatever weapon, and display message noob only server

any player kill with sniper will get killed, and display no sniper, playername was killed for using sniper

any player with K/D ratio over 2.5 from battlelog will get killed after killing another player with whatever weapon, and display message noob only server

 

above two condition should not limit admin and/or whitelist.

Use this:


Rank && Sniper Excluder

 

Create a new limit to evaluate OnKill. Set action to None.

 

Set first_check to this Code:

Code:

// Rank & Sniper Excluder - Limit 1 of 1
// v1.0 - OnKill - first_check
//

String msg = "";
bool isAdmin = false;
bool bKill = false;
bool bKick = false;
bool bBan = false;
bool bMove = false;
bool bLevel = false;

if (plugin.CheckAccount(killer.Name, out bKill, out bKick, out bBan, out bMove, out bLevel))
{
    if (bKill && bKick && bBan && bMove && bLevel) isAdmin = true;
}
if (isAdmin || plugin.isInWhitelist(killer.Name)) return false;
if (killer.Rank > 100 || killer.Kdr > 2.5)
{
    msg = "NOOB ONLY SERVER!";
    plugin.SendPlayerMessage(killer.Name, msg);
    plugin.SendPlayerYell(killer.Name, "\n" + msg, 8);
    plugin.KillPlayer(killer.Name);
}
else if (kill.Category == "SniperRifle")
{
    msg = "NO SNIPER RIFLES!";
    plugin.SendPlayerMessage(killer.Name, msg);
    plugin.SendPlayerYell(killer.Name, "\n" + msg, 8);
    plugin.KillPlayer(killer.Name);
    plugin.SendGlobalMessage(killer.FullName + " was killed for using a sniper rifle!");
}

return false;

also how to add when admin say !move player, then the target player will be admin killed and moved to another team?

 

Thanks!

The command is !fmove, this command comes built-in to both of these plugins:

 

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

Originally Posted by moacco07*:

 

Hi LCARSx6,

 

Have you seen the BF4 challenge (Europe VS USA) where they have 1 min to use only knife only and once 1min is up, continue normally throughout the round.

 

Layout something like this.

 

- Round start

- At any time during the round, admin only need to type 1 command something like !weapon on (only specific weapon of admin choice to be played with timer)

- Once time's up, it will automatically off and continue the rest of the round normally (all weapons allowed).

 

specific weapon of admin choice - can be edited

Timer - can be edited

 

with punishment if players disrespect the rule (1 = kill, 2= kick 3= tban 10mins)

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

Originally Posted by LCARSx64*:

 

Hi LCARSx6,

 

Have you seen the BF4 challenge (Europe VS USA) where they have 1 min to use only knife only and once 1min is up, continue normally throughout the round.

 

Layout something like this.

 

- Round start

- At any time during the round, admin only need to type 1 command something like !weapon on (only specific weapon of admin choice to be played with timer)

- Once time's up, it will automatically off and continue the rest of the round normally (all weapons allowed).

 

specific weapon of admin choice - can be edited

Timer - can be edited

 

with punishment if players disrespect the rule (1 = kill, 2= kick 3= tban 10mins)

I haven't seen it, but I can make it. Is that what you're asking for?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by moacco07*:

 

I haven't seen it, but I can make it. Is that what you're asking for?

Hi LCARSx64

 

Yes, it will be great that you can create it. Here below more structural basis.

 

- Round start (Any modes)

 

- At any time during the round, admin ONLY have to type "!event on" command (only specific weapon of admin choice to be played with timer) and message (Yell 60 secs) display (Gamers be ready for special event in 1 min)

 

- Once it reaches that 1min it activates only the specific weapon (lets say knife, shield, defib and repair tool with timer 3mins to be played with (Yell message 60 secs) display as (Special event activated! Knife, shield, defib and repair tool only for 3 mins!)

 

- If player refuse to obey the rules punishment as follows:

1st offence: kill

2nd offence: kick

3rd offence: tban 10 mins

 

- When the timer reaches remaining of 10 secs, countdown series on yell will be display as below.

10 secs remaining before weapons free!

9 secs remaining before weapons free!

8 secs remaining before weapons free!

7 secs remaining before weapons free!

6 secs remaining before weapons free!

5 secs remaining before weapons free!

4 secs remaining before weapons free!

3 secs remaining before weapons free!

2 secs remaining before weapons free!

1 secs remaining before weapons free!

Gamers all weapons are free!

 

(Now it reactivate back to normal. => the end)

 

(Customizable = to be ready timer, playing timer and weapons)

 

This command "!event on". can it be use in-game as well in Procon chat?

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

Originally Posted by pspjim*:

 

Use this:


Rank && Sniper Excluder

 

Create a new limit to evaluate OnKill. Set action to None.

 

....

Thank you so much LCARSx64 ...

why I was asking for !move commands is I am using i3d.net servers, which provides procon tools but I am not sure I can access the MySQL stuff. I will try it out, thanks again!!!

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

Originally Posted by LCARSx64*:

 

Hi LCARSx64

 

Yes, it will be great that you can create it. Here below more structural basis.

 

- Round start (Any modes)

 

- At any time during the round, admin ONLY have to type "!event on" command (only specific weapon of admin choice to be played with timer) and message (Yell 60 secs) display (Gamers be ready for special event in 1 min)

 

- Once it reaches that 1min it activates only the specific weapon (lets say knife, shield, defib and repair tool with timer 3mins to be played with (Yell message 60 secs) display as (Special event activated! Knife, shield, defib and repair tool only for 3 mins!)

 

- If player refuse to obey the rules punishment as follows:

1st offence: kill

2nd offence: kick

3rd offence: tban 10 mins

 

- When the timer reaches remaining of 10 secs, countdown series on yell will be display as below.

10 secs remaining before weapons free!

9 secs remaining before weapons free!

8 secs remaining before weapons free!

7 secs remaining before weapons free!

6 secs remaining before weapons free!

5 secs remaining before weapons free!

4 secs remaining before weapons free!

3 secs remaining before weapons free!

2 secs remaining before weapons free!

1 secs remaining before weapons free!

Gamers all weapons are free!

 

(Now it reactivate back to normal. => the end)

 

(Customizable = to be ready timer, playing timer and weapons)

 

This command "!event on". can it be use in-game as well in Procon chat?

The commands written in Insane Limits can only be used in-game, not from Procon chat.

When you say the weapons are to be admin customizable, how exactly are you thinking that would work?

 

Thank you so much LCARSx64 ...

why I was asking for !move commands is I am using i3d.net servers, which provides procon tools but I am not sure I can access the MySQL stuff. I will try it out, thanks again!!!

The MySQL database can be on a remote server provided your layer has permissions on the server to access it. The database is not required if using the In-Game Admin plugin.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by moacco07*:

 

The commands written in Insane Limits can only be used in-game, not from Procon chat.

When you say the weapons are to be admin customizable, how exactly are you thinking that would work?

 

 

The MySQL database can be on a remote server provided your layer has permissions on the server to access it. The database is not required if using the In-Game Admin plugin.

Hi LCARSx64,

 

Sorry if it's not clear. What i mean that on the script, the weapons can be edited. Example maybe today i want it to be knife only and tomorrow i want it to be pistol only. something like below.

 

Code:

Regex.Match(kill.Weapon, @"(_:M1911|M9|Taurus|MP412REX|MP443|Glock|Melee|Knife|Defib|Repair)", RegexOptions.IgnoreCase).Success) return false;
So whenever i want to change the weapon i just edit it.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LCARSx64*:

 

Hi LCARSx64,

 

Sorry if it's not clear. What i mean that on the script, the weapons can be edited. Example maybe today i want it to be knife only and tomorrow i want it to be pistol only. something like below.

 

Code:

Regex.Match(kill.Weapon, @"(_:M1911|M9|Taurus|MP412REX|MP443|Glock|Melee|Knife|Defib|Repair)", RegexOptions.IgnoreCase).Success) return false;
So whenever i want to change the weapon i just edit it.
Ah gotcha. I thought you were saying you wanted it changeable via a command, that would be very hefty ask if it were to use friendly weapon names lol.

 

I'll work on this as soon as I get the chance, I'm currently working on a couple of other things that I really want to finish first.

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

Originally Posted by moacco07*:

 

Ah gotcha. I thought you were saying you wanted it changeable via a command, that would be very hefty ask if it were to use friendly weapon names lol.

 

I'll work on this as soon as I get the chance, I'm currently working on a couple of other things that I really want to finish first.

Hi LCARSx64,

 

Thank you so much Sir. Highly appreciate it. I'll wait for the good news. Btw do you know any website that teaches you C++ besides youtube.

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

Originally Posted by LCARSx64*:

 

Hi LCARSx64,

 

Thank you so much Sir. Highly appreciate it. I'll wait for the good news. Btw do you know any website that teaches you C++ besides youtube.

Here's a couple:

 

http://www.learncpp.com/

http://www.tutorialspoint.com/cplusplus/

http://www.penguinprogrammer.co.uk/c...ners-tutorial/

http://www.cplusplus.com/doc/tutorial/

 

But if you're wanting to learn to write limits, they are written in C#. Here's some tuts for that:

 

http://www.tutorialspoint.com/csharp/

http://www.homeandlearn.co.uk/csharp/csharp.html

https://www.microsoftvirtualacademy....beginners-8295

http://www.learncs.org/

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

Originally Posted by moacco07*:

 

Thank you Sir,

 

I really want to learn so i also can contribute to the community!

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

Originally Posted by moacco07*:

 

Thank you Sir,

 

I really want to learn so i also can contribute to the community!

And Sir, do you know the software for C# that can test the scripts?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LCARSx64*:

 

And Sir, do you know the software for C# that can test the scripts?

If you're talking about testing limits then you'll need to try adding them to Insane Limits, if they compile fine then you need to test them in a server. The limit's virtual state can be useful for this.

 

If you mean compiling and testing C# in general, you could use something like: https://www.visualstudio.com/product...o-community-vs

 

Personally, I create limits using Notepad++ (https://notepad-plus-plus.org/) but this is basically an advanced notepad.

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

Originally Posted by MRniceGuy*:

 

Hi

i want to set up a sniper limit

4 snipers for each team

and kill in action if someone else use it

server mode is conquest large

Thank you so much

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

Originally Posted by PapaCharlie9*:

 

Thank you.

 

That works great.

See, ask in the right place, and you get a quick answer. :smile:

 

Keep up the great work LCARS. Just don't give people code in the plugin thread - send them here instead. It's like feeding squirrels in the park -- they always come back to the same spot expecting more hand-outs.

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

Originally Posted by PapaCharlie9*:

 

Hi

i want to set up a sniper limit

4 snipers for each team

and kill in action if someone else use it

server mode is conquest large

Thank you so much

Try one of these:

 

Only 5 snipers per team (it's really the size of a squad).

showthread....ghlight=sniper*

 

Sniper Lottery

showthread....ghlight=sniper*

 

BTW, I found these by typing sniper into the forum search at the top. You might try it some time.

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

Originally Posted by LCARSx64*:

 

See, ask in the right place, and you get a quick answer. :smile:

 

Keep up the great work LCARS. Just don't give people code in the plugin thread - send them here instead. It's like feeding squirrels in the park -- they always come back to the same spot expecting more hand-outs.

Thanks Papa. I'll definitely send people here from now on instead of just replying on the plugin thread. :smile:
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by MRniceGuy*:

 

Try one of these:

 

Only 5 snipers per team (it's really the size of a squad).

showthread....ghlight=sniper*

 

Sniper Lottery

showthread....ghlight=sniper*

 

BTW, I found these by typing sniper into the forum search at the top. You might try it some time.

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

Originally Posted by pspjim*:

 

Hi LCARSx64

should it be like this is I will like to include all rank>100 or kdr>2.5 or kill per minute > 1

if (killer.Rank > 100 || killer.Kdr > 2.5 || killer.Kpm > 1)

 

and I read the manual and did not find this, how to kill a person after he had used DMR to kill?

or is it already included as sniperifle?

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

Originally Posted by LCARSx64*:

 

Hi LCARSx64

should it be like this is I will like to include all rank>100 or kdr>2.5 or kill per minute > 1

if (killer.Rank > 100 || killer.Kdr > 2.5 || killer.Kpm > 1)

 

and I read the manual and did not find this, how to kill a person after he had used DMR to kill?

or is it already included as sniperifle?

Change this section of code:

Code:

if (killer.Rank > 100 || killer.Kdr > 2.5)
{
    msg = "NOOB ONLY SERVER!";
    plugin.SendPlayerMessage(killer.Name, msg);
    plugin.SendPlayerYell(killer.Name, "\n" + msg, 8);
    plugin.KillPlayer(killer.Name);
}
else if (kill.Category == "SniperRifle")
{
    msg = "NO SNIPER RIFLES!";
    plugin.SendPlayerMessage(killer.Name, msg);
    plugin.SendPlayerYell(killer.Name, "\n" + msg, 8);
    plugin.KillPlayer(killer.Name);
    plugin.SendGlobalMessage(killer.FullName + " was killed for using a sniper rifle!");
}
To:

 

Code:

if (killer.Rank > 100 || killer.Kdr > 2.5 || killer.Kpm > 1.0)
{
    msg = "NOOB ONLY SERVER!";
    plugin.SendPlayerMessage(killer.Name, msg);
    plugin.SendPlayerYell(killer.Name, "\n" + msg, 8);
    plugin.KillPlayer(killer.Name);
}
else if (kill.Category == "SniperRifle" || kill.Category == "DMR")
{
    if (kill.Category == "SniperRifle")
    {
        msg = NO SNIPER RIFLES!";
    }
    else
    {
        msg = "NO DMRs!";
    }
    plugin.SendPlayerMessage(killer.Name, msg);
    plugin.SendPlayerYell(killer.Name, "\n" + msg, 8);
    plugin.KillPlayer(killer.Name);
    if (kill.Category == "SniperRifle")
    {
        plugin.SendGlobalMessage(killer.FullName + " was killed for using a sniper rifle!");
    }
    else
    {
        plugin.SendGlobalMessage(killer.FullName + " was killed for using a DMR!");
    }
}
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by God_Zilla*:

 

Please help with my request (link)*.

 

The logic of the script in a simple varinat in my opinion is as follows:

Code:

$Online1 = 7 // default MapList for empty or low population server
$Online2 = 8
$Online3 = 16
$Online4 = 32
$Online5 = 40


OnRoundOver
read in MaplistDB.txt value $CurrentMapList

// Online less or equal $Online1
If players <= $online1 and $CurrentMapList = Maplist1.txt
do nothing
If players <= $online1 and $CurrentMapList <> Maplist1.txt
clean off current MapList in Procon
insert MapList from Maplist1.txt
turn the first map from the list
written MaplistDB.txt: "$CurrentMapList = Maplist1.txt"

// Online more or equal $Online2
If players is >= $online2 and < $online3 and $CurrentMapList = Maplist2.txt
do nothing
If players is >= $online2 and < $online3 and $CurrentMapList <> Maplist2.txt
clean off current MapList in Procon
insert MapList from Maplist2.txt
turn the first map from the list
written MaplistDB.txt: "$CurrentMapList = Maplist2.txt"

// Online more or equal $Online3
If players is >= $online3 and < $online4 and $CurrentMapList = Maplist3.txt
do nothing
If players is >= $online3 and < $online4 and $CurrentMapList <> Maplist3.txt
clean off current MapList in Procon
insert MapList from Maplist3.txt
turn the first map from the list
written MaplistDB.txt: "$CurrentMapList = Maplist3.txt"

// Online more or equal $Online4
If players is >= $online4 and < $online5 and $CurrentMapList = Maplist4.txt
do nothing
If players is >= $online4 and < $online5 and $CurrentMapList <> Maplist4.txt
clean off current MapList in Procon
insert MapList from Maplist4.txt
turn the first map from the list
written MaplistDB.txt: "$CurrentMapList = Maplist4.txt"

// Online more or equal $Online5
If players is >= $online5 and $CurrentMapList = Maplist5.txt
do nothing
If players is >= $online5 and $CurrentMapList <> Maplist5.txt
clean off current MapList in Procon
insert MapList from Maplist5.txt
turn the first map from the list
written MaplistDB.txt: "$CurrentMapList = Maplist5.txt"
Example MaplistDB.txt:

Code:

$CurrentMapList = Maplist2.txt
Something like that.

 

PapaCharlie9*, LCARSx64* - please please please.

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

Originally Posted by PapaCharlie9*:

 

Please help with my request (link)*.

 

The logic of the script in a simple varinat in my opinion is as follows:

Code:

$Online1 = 7 // default MapList for empty or low population server
$Online2 = 8
$Online3 = 16
$Online4 = 32
$Online5 = 40


OnRoundOver
read in MaplistDB.txt value $CurrentMapList

// Online less or equal $Online1
If players <= $online1 and $CurrentMapList = Maplist1.txt
do nothing
If players <= $online1 and $CurrentMapList <> Maplist1.txt
clean off current MapList in Procon
insert MapList from Maplist1.txt
turn the first map from the list
written MaplistDB.txt: "$CurrentMapList = Maplist1.txt"

// Online more or equal $Online2
If players is >= $online2 and < $online3 and $CurrentMapList = Maplist2.txt
do nothing
If players is >= $online2 and < $online3 and $CurrentMapList <> Maplist2.txt
clean off current MapList in Procon
insert MapList from Maplist2.txt
turn the first map from the list
written MaplistDB.txt: "$CurrentMapList = Maplist2.txt"

// Online more or equal $Online3
If players is >= $online3 and < $online4 and $CurrentMapList = Maplist3.txt
do nothing
If players is >= $online3 and < $online4 and $CurrentMapList <> Maplist3.txt
clean off current MapList in Procon
insert MapList from Maplist3.txt
turn the first map from the list
written MaplistDB.txt: "$CurrentMapList = Maplist3.txt"

// Online more or equal $Online4
If players is >= $online4 and < $online5 and $CurrentMapList = Maplist4.txt
do nothing
If players is >= $online4 and < $online5 and $CurrentMapList <> Maplist4.txt
clean off current MapList in Procon
insert MapList from Maplist4.txt
turn the first map from the list
written MaplistDB.txt: "$CurrentMapList = Maplist4.txt"

// Online more or equal $Online5
If players is >= $online5 and $CurrentMapList = Maplist5.txt
do nothing
If players is >= $online5 and $CurrentMapList <> Maplist5.txt
clean off current MapList in Procon
insert MapList from Maplist5.txt
turn the first map from the list
written MaplistDB.txt: "$CurrentMapList = Maplist5.txt"
Example MaplistDB.txt:

Code:

$CurrentMapList = Maplist2.txt
Something like that.

 

PapaCharlie9*, LCARSx64* - please please please.

Just wanted to say I'm not ignoring you, just haven't had time to work on this. I can't tell you when I will, I've been very busy IRL.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by LCARSx64*:

 

Please help with my request (link)*.

 

The logic of the script in a simple varinat in my opinion is as follows:

Code:

$Online1 = 7 // default MapList for empty or low population server
$Online2 = 8
$Online3 = 16
$Online4 = 32
$Online5 = 40


OnRoundOver
read in MaplistDB.txt value $CurrentMapList

// Online less or equal $Online1
If players <= $online1 and $CurrentMapList = Maplist1.txt
do nothing
If players <= $online1 and $CurrentMapList <> Maplist1.txt
clean off current MapList in Procon
insert MapList from Maplist1.txt
turn the first map from the list
written MaplistDB.txt: "$CurrentMapList = Maplist1.txt"

// Online more or equal $Online2
If players is >= $online2 and < $online3 and $CurrentMapList = Maplist2.txt
do nothing
If players is >= $online2 and < $online3 and $CurrentMapList <> Maplist2.txt
clean off current MapList in Procon
insert MapList from Maplist2.txt
turn the first map from the list
written MaplistDB.txt: "$CurrentMapList = Maplist2.txt"

// Online more or equal $Online3
If players is >= $online3 and < $online4 and $CurrentMapList = Maplist3.txt
do nothing
If players is >= $online3 and < $online4 and $CurrentMapList <> Maplist3.txt
clean off current MapList in Procon
insert MapList from Maplist3.txt
turn the first map from the list
written MaplistDB.txt: "$CurrentMapList = Maplist3.txt"

// Online more or equal $Online4
If players is >= $online4 and < $online5 and $CurrentMapList = Maplist4.txt
do nothing
If players is >= $online4 and < $online5 and $CurrentMapList <> Maplist4.txt
clean off current MapList in Procon
insert MapList from Maplist4.txt
turn the first map from the list
written MaplistDB.txt: "$CurrentMapList = Maplist4.txt"

// Online more or equal $Online5
If players is >= $online5 and $CurrentMapList = Maplist5.txt
do nothing
If players is >= $online5 and $CurrentMapList <> Maplist5.txt
clean off current MapList in Procon
insert MapList from Maplist5.txt
turn the first map from the list
written MaplistDB.txt: "$CurrentMapList = Maplist5.txt"
Example MaplistDB.txt:

Code:

$CurrentMapList = Maplist2.txt
Something like that.

 

PapaCharlie9*, LCARSx64* - please please please.

Sorry, I somehow missed this but like Papa, I'm not ignoring you and also have a lot on my plate. If you bare with us, Papa, myself or someone else will get to it. :smile:

 

Is it posable to make a limit that displays server messages when there is under a set amount of players ?

The following will display a message each time a player leaves the server when the number of players is less than a given amount (change the value and message highlighted in red to meet your requirements):


Show Message When Reduced Population

 

Create a new limit to evaluate OnLeave. Set action to None.

 

Set first_check to this Code:

Code:

int iCount = 20;
String sMsg = "Message to display!";

if (server.PlayerCount < iCount) plugin.SendGlobalMessage(sMsg);

return false;

Is that what you were after?

* 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.