Jump to content

ProconRulz V44j1 - weapon limits and other event-triggered admin actions


ColColonCleaner

Recommended Posts

Originally Posted by warkaos*:

 

Hello

 

Man!

I do not speak much English.

 

Can guide me on the proconruls:

 

I'm new to Procon.

Can you help me with these questions below?

 

1 - Efficient Autobalance by ProconRuls

2 - On our server we have only 1 day / knife / gun / defibrillator.

***** Do not allow other weapons.

3 - Best configuration Basic Cheater Detector.

4 - And on the other server, just want to let sniper / pistol / knife.

 

I am unable to activate the commands.

I'm new and would this help.

 

You can offer me a quote?

 

Configuration for battlefield 4

Infantry and Sniper because i have 2 servers

 

I thank you.

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

Originally Posted by gillibong*:

 

Hi guys!

 

i have a command in ProconRulz for voteban and not votekick!

 

Can someone give me the text to insert to ProconRulz for only votekick?

 

this is the command for Vote that i have in proconrulz and i need only votekick

 

 

 

 

# INFO: In this list you can put bf4 playernames with voteban protection (admins):

On Spawn;PlayerFirst;

Set %VIPList% ""

Set %VotebanTimeoutSec% 60

Set %server_votesneeded% 5

 

# INFO: Initiate a voteban after in-game-chat request (!voteban playername):

On Say;Text !votekick,!voteban;

If %server_global2[%VoteOn%]% == 1;Say Vote to ban %server_votetarget% in progress (Votes: %server_votekicks[%server_votetarget%]%/%server_votesneeded%)

If %server_global2[%VoteOn%]% != 1;Set %server_votetarget% none;Set %server_global3[%VoteTime%]% %seconds%;TargetPlayer;Set %server_votetarget% %t%;If %voting[%server_votetarget%]% == 0;Set %server_global2[%VoteOn%]% 1;Set %VoteReg% 0;Set %server_votekicks[%server_votetarget%]% none;Say ###########################;Say ###########################;Say ###########################;Say ####### VOTEBAN #######;Say ###########################;Yell Voteban %server_votetarget% Vote by type !yes or !no;Say %p% initiate a vote to ban %server_votetarget%;Say You can vote by type !yes or !no

If %server_votetarget% == none;PlayerSay ERROR: Playername not found. Just type ANY UNIQUE part of the name e.g. !voteban

If %VIPList% contains @@%server_votetarget%@@;Set %server_votetarget% none;Set %VoteReg% 0;Set %server_global2[%VoteOn%]% 0;Say Vote canceled by admin. This Player is protected!

 

# INFO: Ban the voted player for 24 hour (86400Seconds) after 10x yes votes

On Say;Text !yes;If %server_global2[%VoteOn%]% == 1;

If %VoteReg% == 1;PlayerSay Your vote is already registered (Votes: %server_votekicks[%server_votetarget%]%/%server_votesneeded%)

If %VoteReg% != 1;Incr %server_votekicks[%server_votetarget%]%;Say %p% voted to ban %server_votetarget% (Votes: %server_votekicks[%server_votetarget%]%/%server_votesneeded%);Set %VoteReg% 1;Set %MyLastVoteTime% %server_global3[%VoteTime%]%

If %server_votekicks[%server_votetarget%]% >= %server_votesneeded%;Yell %server_votetarget% banned for 24hour by vote;say %server_votetarget% banned for 24hour by vote;Set %VoteReg% 0;Set %server_global2[%VoteOn%]% 0;TargetPlayer %server_votetarget%;TargetAction TempBan 86400 banned 24hour by vote;Set %server_votetarget% none

 

# INFO: votes to not ban

On Say;Text !no;If %server_global2[%VoteOn%]% == 1;

Text !no;If %VIPList% contains @@%p%@@;Set %server_votetarget% none;Set %VoteReg% 0;Set %server_global2[%VoteOn%]% 0;Say Vote canceled by admin

If %VoteReg% == 1;PlayerSay Your vote is already registered (Votes: %server_votekicks[%server_votetarget%]%/%server_votesneeded%)

If %VoteReg% != 1;Decr %server_votekicks[%server_votetarget%]%;Say %p% voted to NOT ban %server_votetarget% (Votes: %server_votekicks[%server_votetarget%]%/%server_votesneeded%);Set %VoteReg% 1;Set %MyLastVoteTime% %server_global3[%VoteTime%]%

 

# INFO: Stop voteban after 360Sec. (need a kill-event for reset)

On Kill;If %server_global2[%VoteOn%]% == 1;If %server_global3[%VoteTime%]% + %VotebanTimeoutSec% =

On Leave;If %server_global2[%VoteOn%]% == 1;If %server_votetarget% == %p%;Say The vote to ban %server_votetarget% has been canceled! Player left the server;Set %server_votetarget% none;Set %VoteReg% 0;Set %server_global2[%VoteOn%]% 0

 

 

THanks guys!

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

Originally Posted by ty_ger07*:

 

Hi guys!

 

i have a command in ProconRulz for voteban and not votekick!

 

Can someone give me the text to insert to ProconRulz for only votekick?

 

this is the command for Vote that i have in proconrulz and i need only votekick

 

 

 

 

# INFO: In this list you can put bf4 playernames with voteban protection (admins):

On Spawn;PlayerFirst;

Set %VIPList% ""

Set %VotebanTimeoutSec% 60

Set %server_votesneeded% 5

 

# INFO: Initiate a voteban after in-game-chat request (!voteban playername):

On Say;Text !votekick,!voteban;

If %server_global2[%VoteOn%]% == 1;Say Vote to ban %server_votetarget% in progress (Votes: %server_votekicks[%server_votetarget%]%/%server_votesneeded%)

If %server_global2[%VoteOn%]% != 1;Set %server_votetarget% none;Set %server_global3[%VoteTime%]% %seconds%;TargetPlayer;Set %server_votetarget% %t%;If %voting[%server_votetarget%]% == 0;Set %server_global2[%VoteOn%]% 1;Set %VoteReg% 0;Set %server_votekicks[%server_votetarget%]% none;Say ###########################;Say ###########################;Say ###########################;Say ####### VOTEBAN #######;Say ###########################;Yell Voteban %server_votetarget% Vote by type !yes or !no;Say %p% initiate a vote to ban %server_votetarget%;Say You can vote by type !yes or !no

If %server_votetarget% == none;PlayerSay ERROR: Playername not found. Just type ANY UNIQUE part of the name e.g. !voteban

If %VIPList% contains @@%server_votetarget%@@;Set %server_votetarget% none;Set %VoteReg% 0;Set %server_global2[%VoteOn%]% 0;Say Vote canceled by admin. This Player is protected!

 

# INFO: Ban the voted player for 24 hour (86400Seconds) after 10x yes votes

On Say;Text !yes;If %server_global2[%VoteOn%]% == 1;

If %VoteReg% == 1;PlayerSay Your vote is already registered (Votes: %server_votekicks[%server_votetarget%]%/%server_votesneeded%)

If %VoteReg% != 1;Incr %server_votekicks[%server_votetarget%]%;Say %p% voted to ban %server_votetarget% (Votes: %server_votekicks[%server_votetarget%]%/%server_votesneeded%);Set %VoteReg% 1;Set %MyLastVoteTime% %server_global3[%VoteTime%]%

If %server_votekicks[%server_votetarget%]% >= %server_votesneeded%;Yell %server_votetarget% banned for 24hour by vote;say %server_votetarget% banned for 24hour by vote;Set %VoteReg% 0;Set %server_global2[%VoteOn%]% 0;TargetPlayer %server_votetarget%;TargetAction TempBan 86400 banned 24hour by vote;Set %server_votetarget% none

 

# INFO: votes to not ban

On Say;Text !no;If %server_global2[%VoteOn%]% == 1;

Text !no;If %VIPList% contains @@%p%@@;Set %server_votetarget% none;Set %VoteReg% 0;Set %server_global2[%VoteOn%]% 0;Say Vote canceled by admin

If %VoteReg% == 1;PlayerSay Your vote is already registered (Votes: %server_votekicks[%server_votetarget%]%/%server_votesneeded%)

If %VoteReg% != 1;Decr %server_votekicks[%server_votetarget%]%;Say %p% voted to NOT ban %server_votetarget% (Votes: %server_votekicks[%server_votetarget%]%/%server_votesneeded%);Set %VoteReg% 1;Set %MyLastVoteTime% %server_global3[%VoteTime%]%

 

# INFO: Stop voteban after 360Sec. (need a kill-event for reset)

On Kill;If %server_global2[%VoteOn%]% == 1;If %server_global3[%VoteTime%]% + %VotebanTimeoutSec% =

On Leave;If %server_global2[%VoteOn%]% == 1;If %server_votetarget% == %p%;Say The vote to ban %server_votetarget% has been canceled! Player left the server;Set %server_votetarget% none;Set %VoteReg% 0;Set %server_global2[%VoteOn%]% 0

 

 

THanks guys!

Do you care to try for yourself first? You may learn something in the process.

 

For example, "TargetAction TempBan" probably should be "TargetAction Kick" if you want it to kick instead of TempBan.

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

Originally Posted by gillibong*:

 

Hi thanks for your replay!

no it didnt worked!

everytime a player is making a !votekick its strating a !voteban!

 

I dont know hoe to change it!

can someone give me the text for it?

 

Please:smile:

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

Originally Posted by ty_ger07*:

 

Hi thanks for your replay!

no it didnt worked!

everytime a player is making a !votekick its strating a !voteban!

 

I dont know hoe to change it!

can someone give me the text for it?

 

Please:smile:

To learn, you must do. We could just tell you what to do, but then what would you learn? If we just gave you the code you wanted, you would be here asking for 20 different things and every time want us to do all the work for you instead of you learning how to do the work yourself.

 

Can you show us your attempt so that we can see that you have tried? ... And so that we can give you advice about what is wrong and how to correct it?

 

Hint:

Instead of: "TargetAction TempBan 86400 banned 24hour by vote" you want "TargetAction Kick Kicked due to vote" plus all the other text changes so that players know that they are vote kicking instead of vote banning.

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

Originally Posted by gillibong*:

 

Ok

 

i changed it to this and is still not working:

 

# INFO: In this list you can put bf4 playernames with voteban protection (admins):

On Spawn;PlayerFirst;

Set %VIPList% ""

Set %VotebanTimeoutSec% 120

Set %server_votesneeded% 5

 

# INFO: Initiate a voteban after in-game-chat request (!voteban playername):

On Say;Text !votekick,!voteban;

If %server_global2[%VoteOn%]% == 1;Say Vote to ban %server_votetarget% in progress (Votes: %server_votekicks[%server_votetarget%]%/%server_votesneeded%)

If %server_global2[%VoteOn%]% != 1;Set %server_votetarget% none;Set %server_global3[%VoteTime%]% %seconds%;TargetPlayer;Set %server_votetarget% %t%;If %voting[%server_votetarget%]% == 0;Set %server_global2[%VoteOn%]% 1;Set %VoteReg% 0;Set %server_votekicks[%server_votetarget%]% none;Say ###########################;Say ###########################;Say ###########################;Say ####### VOTEKICK #######;Say ###########################;Yell Voteban %server_votetarget% Vote by type !yes or !no;Say %p% initiate a vote to Kick %server_votetarget%;Say You can vote by type !yes or !no

If %server_votetarget% == none;PlayerSay ERROR: Playername not found. Just type ANY UNIQUE part of the name e.g. !voteban

If %VIPList% contains @@%server_votetarget%@@;Set %server_votetarget% none;Set %VoteReg% 0;Set %server_global2[%VoteOn%]% 0;Say Vote canceled by admin. This Player is protected!

 

# INFO: Ban the voted player for 24 hour (86400Seconds) after 10x yes votes

On Say;Text !yes;If %server_global2[%VoteOn%]% == 1;

If %VoteReg% == 1;PlayerSay Your vote is already registered (Votes: %server_votekicks[%server_votetarget%]%/%server_votesneeded%)

If %VoteReg% != 1;Incr %server_votekicks[%server_votetarget%]%;Say %p% voted to kick %server_votetarget% (Votes: %server_votekicks[%server_votetarget%]%/%server_votesneeded%);Set %VoteReg% 1;Set %MyLastVoteTime% %server_global3[%VoteTime%]%

If %server_votekicks[%server_votetarget%]% >= %server_votesneeded%;Yell %server_votetarget% kicked by vote;say %server_votetarget% kicked form server;Set %VoteReg% 0;Set %server_global2[%VoteOn%]% 0;TargetPlayer %server_votetarget%;TargetAction Kick Kicked due to vote;Set %server_votetarget% none

 

# INFO: votes to not ban

On Say;Text !no;If %server_global2[%VoteOn%]% == 1;

Text !no;If %VIPList% contains @@%p%@@;Set %server_votetarget% none;Set %VoteReg% 0;Set %server_global2[%VoteOn%]% 0;Say Vote canceled by admin

If %VoteReg% == 1;PlayerSay Your vote is already registered (Votes: %server_votekicks[%server_votetarget%]%/%server_votesneeded%)

If %VoteReg% != 1;Decr %server_votekicks[%server_votetarget%]%;Say %p% voted to NOT ban %server_votetarget% (Votes: %server_votekicks[%server_votetarget%]%/%server_votesneeded%);Set %VoteReg% 1;Set %MyLastVoteTime% %server_global3[%VoteTime%]%

 

# INFO: Stop voteban after 360Sec. (need a kill-event for reset)

On Kill;If %server_global2[%VoteOn%]% == 1;If %server_global3[%VoteTime%]% + %VotebanTimeoutSec% =

On Leave;If %server_global2[%VoteOn%]% == 1;If %server_votetarget% == %p%;Say The vote to ban %server_votetarget% has been canceled! Player left the server;Set %server_votetarget% none;Set %VoteReg% 0;Set %server_global2[%VoteOn%]% 0

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

Originally Posted by maxdralle*:

 

Ok

 

i changed it to this and is still not working

...

here is your code for proconrulz... it is a votekick only! no ban...

 

you need min. 8 player on the server to enable the !votekick- (%votekick_enable_min_players% 8)

min 25% of all players (min. 4 players) have to vote with !yes to kick a player.

 

commands:

!votekick

!kick

 

 

Code:

###### 9.1 > !votekick Function (min. 25% !yes Votes, Timeout 300Sec.)    ###############
# SETTINGS: %votekick_enable_min_players%, %votekick_min_votes_to_kick%

On Spawn;PlayerFirst; Set %vip_list% "@@playername0001@@playername0002@@"

On Say;Text !votekick,!kick,!yes,!no;
    If %votekick_mylastvotekick_vote_time% != %server_global_votekick_vote_time%;Set %votekick_vote_reg% 0

On Say;Text !votekick,!kick;
    PlayerFirst; Set %votekick_enable_min_players% 8
    Set %votekick_min_votes_to_kick% %ts1% + %ts2% / 4; Incr %votekick_min_votes_to_kick%
    if %votekick_min_votes_to_kick% < 4; Set %votekick_min_votes_to_kick% 4
    If %server_global_votekick_vote_on% == 1;Say !votekick %server_votekick_votetarget% in progress. Type !yes OR !no; Say YES (%server_votekicks_yes_vote%)  NO(%server_votekicks_no_vote%)  REQ (%server_votekick_votesneeded%);
    If %server_global_votekick_vote_on% != 1; If %ts1% + %ts2% < %votekick_enable_min_players%; Say !votekick disabled! (min. %votekick_enable_min_players% players required)
    If %server_global_votekick_vote_on% != 1; If %ts1% + %ts2% >= %votekick_enable_min_players%; Set %server_votekick_votesneeded% %votekick_min_votes_to_kick%;Set %server_votekick_votetarget% none;TargetPlayer;Set %server_votekick_votetarget% %t%;If %server_votekick_votetarget% != none; Not If %vip_liste% contains @@%server_votekick_votetarget%@@; Set %server_global_votekick_vote_time% %seconds%;Set %server_global_votekick_vote_on% 1;Set %votekick_vote_reg% 0;Set %server_votekicks_yes_vote% 0; Set %server_votekicks_no_vote% 0; Say ###########################;Say ###########################;Say #######        VOTEKICK        #######;Say ###########################;Yell votekick %server_votekick_votetarget% > Vote by type !yes OR !no;Say !votekick %server_votekick_votetarget% > Vote by type !yes OR !no
    If %server_global_votekick_vote_on% != 1; If %ts1% + %ts2% >= %votekick_enable_min_players%; If %vip_liste% contains @@%server_votekick_votetarget%@@;Say !votekick %server_voteban_votetarget% CANCELED (player is protected)
    If %server_votekick_votetarget% == none;PlayerSay ERROR: Playername not found. Just type ANY UNIQUE part of the name e.g. !votekick <playername>

On Say;Text !yes;If %server_global_votekick_vote_on% == 1;
    If %votekick_vote_reg% == 1;PlayerSay Your vote is already registered; PlayerSay YES (%server_votekicks_yes_vote%)  NO(%server_votekicks_no_vote%)  REQ (%server_votekick_votesneeded%)
    If %votekick_vote_reg% != 1;Incr %server_votekicks_yes_vote%;Say !votekick %server_votekick_votetarget% > Type !yes OR !no; Say YES (%server_votekicks_yes_vote%)  NO(%server_votekicks_no_vote%)  REQ (%server_votekick_votesneeded%); PlayerSay %p% thanks for your vote; Set %votekick_vote_reg% 1;Set %votekick_mylastvotekick_vote_time% %server_global_votekick_vote_time%
    If %server_votekicks_yes_vote% >= %server_votekick_votesneeded%;Yell %server_votekick_votetarget% was KICKED by vote;Say %server_votekick_votetarget% was KICKED by vote;Set %votekick_vote_reg% 0;Set %server_global_votekick_vote_on% 0;Set %server_voteban_votetarget% none; TargetPlayer %server_votekick_votetarget%;TargetAction Kick KICKED by vote

On Say;Text !no;If %server_global_votekick_vote_on% == 1;
    If %votekick_vote_reg% == 1;PlayerSay Your vote is already registered; PlayerSay YES (%server_votekicks_yes_vote%)  NO(%server_votekicks_no_vote%)  REQ (%server_votekick_votesneeded%)
    If %votekick_vote_reg% != 1;Incr %server_votekicks_no_vote% ;Say !votekick %server_votekick_votetarget% > Type !yes OR !no; Say YES (%server_votekicks_yes_vote%)  NO(%server_votekicks_no_vote%)  REQ (%server_votekick_votesneeded%); PlayerSay %p% thanks for your vote; Set %votekick_vote_reg% 1;Set %votekick_mylastvotekick_vote_time% %server_global_votekick_vote_time%

On Spawn;If %server_global_votekick_vote_on% == 1;If %server_global_votekick_vote_time% + 300 < %seconds%;Say !votekick %server_votekick_votetarget% FAILED (timeout, player will stay);Set %server_votekick_votetarget% none;Set %votekick_vote_reg% 0;Set %server_global_votekick_vote_on% 0
On Leave;If %server_global_votekick_vote_on% == 1;If %server_votekick_votetarget% == %p%;Say !votekick %server_votekick_votetarget% CANCELED (Player left the server);Set %server_votekick_votetarget% none;Set %votekick_vote_reg% 0;Set %server_global_votekick_vote_on% 0

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

Originally Posted by maxdralle*:

 

Hello is this possible d to use proidiot rulz to determine the rule(ruler) " only B " on bf4

Thank you has all

yes, it is possible. here is the code for proconrulz...

 

when a round starts until 6 players the "only b yeller" is enabled and all players will see a yell message on every spawn. by more than 10 players it will yell the message "all flag open" and the function is disabled.

 

admins can also type !only b in chat to enable the yeller...

 

Code:

####       Only B Yell (until 10 players ONLY , Yell on Spawn)        ##########

On Spawn; ServerFirst; if %ts1% + %ts2% < 6; if %ts1% + %ts2% > 2; Set %server_global3[%OnlyC%]% 1; Say Until 10 players, please fight only for the flag B; Yell Until 10 players ONLY B
On Say; Text !only b,!onlyb; Admin; if %ts1% + %ts2% < 10; Set %server_global3[%OnlyC%]% 1; Say Until 10 players, please fight only for the flag B; Yell Until 10 players ONLY B
On Spawn;PlayerFirst; if %server_global3[%OnlyC%]% == 1; if %ts1% + %ts2% > 9; Set %server_global3[%OnlyC%]% 2; Yell All Flags open!; Say All Flags open! GO GO GO
On Spawn; if %server_global3[%OnlyC%]% == 1; PlayerYell Until 10 players ONLY B

####       Only B Yell END        ##########
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

yes, it is possible. here is the code for proconrulz...

 

when a round starts until 6 players the "only b yeller" is enabled and all players will see a yell message on every spawn. by more than 10 players it will yell the message "all flag open" and the function is disabled.

 

admins can also type !only b in chat to enable the yeller...

 

Code:

####       Only B Yell (until 10 players ONLY , Yell on Spawn)        ##########

On Spawn; ServerFirst; if %ts1% + %ts2% < 6; if %ts1% + %ts2% > 2; Set %server_global3[%OnlyC%]% 1; Say Until 10 players, please fight only for the flag B; Yell Until 10 players ONLY B
On Say; Text !only b,!onlyb; Admin; if %ts1% + %ts2% < 10; Set %server_global3[%OnlyC%]% 1; Say Until 10 players, please fight only for the flag B; Yell Until 10 players ONLY B
On Spawn;PlayerFirst; if %server_global3[%OnlyC%]% == 1; if %ts1% + %ts2% > 9; Set %server_global3[%OnlyC%]% 2; Yell All Flags open!; Say All Flags open! GO GO GO
On Spawn; if %server_global3[%OnlyC%]% == 1; PlayerYell Until 10 players ONLY B

####       Only B Yell END        ##########
Ooooooohh. He wants to only have teams fight for flag B in conquest.

 

Unfortunately, it has to be based on the honor system or needs policing since you can only yell at players but cannot automatically detect if they are listening nor automatically punish them if they don't listen.

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

Originally Posted by jdge320*:

 

I was wondering, Maybe its already been asked, But is there a correct way to have the procon rulz act as a language filter?

 

The problem we are having is, When it looks for slurs, It also catches words with slurs in them. Such as Spicy Meatball.

 

Thanks,

 

Jdge

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

Originally Posted by cssqw7_3*:

 

To seek the aid of international friends here, I am a Asia server administrators, in the use of "ProconRulz" some problems encountered in the plugin,

, for example, I want my server in the operation mode of "rush" banning the use of "m224 but is unable to correctly identify" mapmods "command" On Spawn; MapMode rush; Kit Recon; Weapon m224; Say % p % no m224 rush maps; Kill "wrote is wrong, but I don't know where the problem, also please international friends to help, rules should be correctly if write.

There is a problem, the server running after using the limit sniper rules "gnu Master" model can't use a sniper rifle, use sniper rifle players will be killed by the administrator, should be how to solve this problem, also please international friends to help, thank you.

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

Originally Posted by Dete96*:

 

To seek the aid of international friends here, I am a Asia server administrators, in the use of "ProconRulz" some problems encountered in the plugin,

, for example, I want my server in the operation mode of "rush" banning the use of "m224 but is unable to correctly identify" mapmods "command" On Spawn; MapMode rush; Kit Recon; Weapon m224; Say % p % no m224 rush maps; Kill "wrote is wrong, but I don't know where the problem, also please international friends to help, rules should be correctly if write.

There is a problem, the server running after using the limit sniper rules "gnu Master" model can't use a sniper rifle, use sniper rifle players will be killed by the administrator, should be how to solve this problem, also please international friends to help, thank you.

Hi mate!

It is impossible to ban weapons with ProconRulz in BF4. I assume you want it for BF4?

 

To enforce the loadout and ban certain weapons you need this plugin:

 

myrcon.net/.../on-spawn-loadout-enforcer-for-infantryvehicles-adkatslrt

 

It works perfectly for the things you want.

 

 

It is only possible to punish (by admin kill) a player after he used a weapon. The rule could be:

 

On kill;mapmode rush;weapon m224;say %p% no M224 on Rush!!!;kill

 

If you want to automatically kick him, try this rule. The first mortar kill, he gets killed and warned, the second kill he gets kicked.

 

On kill;mapmode rush;weapon m224;PlayerCount 2;say %p% no M224 on Rush!!!;kick No M224 on Rush!

 

On kill;mapmode rush;weapon m224;PlayerCount 1;say %p% no M224 on Rush!!!;kill

+PlayerYell %p% no M224 on Rush, next time you will be kicked!

 

(Not tested but should work)

 

Greetings

Dete96

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

Originally Posted by cssqw7_3*:

 

Thank you very much friends help, my server is indeed a BF4, but \"mapmode\" I tested, can not work properly, they are still in the \"rush\" mode can use m224 murder, and cannot be stopped.

In addition in BF4 server using the sniper limiting rules in \"gnu Master\" model in open the sniper?

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

Originally Posted by cssqw7_3*:

 

hello,

My server is a cycle of multi-mode server, the server rules were used in the "# # # # # SNIPER LIMIT V2.7 BOLT AND DMR # # # # #" rules, the question now is in the event of a "model" later use SNIPER shot rivals will be automatic identification system for not snipers killed, this question should be how to solve?

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

Originally Posted by BuRockK*:

 

Please post your sniper limit here (copy from your ProconRulz>Rulez section and paste here), so we can understand if anything is wrong with your code

 

To restrict mortar usage:

 

Code:

On kill;mapmode rush;weapon m224;
    PlayerCount 2;say %p% kicked for using Mortar on Rush!;kick No Mortar on Rush!;
    PlayerCount 1;say %p% no Mortar on Rush, next time you will be kicked!!!;kill 100;
    say %p% no Mortar on Rush!!!;kill 100;PlayerYell %p% no Mortar on Rush
Above code works when someone kills another player with mortar. It will not work when they use it without killing
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by cssqw7_3*:

 

Answer some questions before, so, our server is a variety of patterns, use of a limit the sniper's rules

Code:

##### SNIPER LIMIT V2.7 BOLT AND DMR #####

# SET THE MAX # OF SNIPERS HERE:
On Kill;ServerFirst;Set %server_sniperlimit% 3
On Say;ServerFirst;Set %server_sniperlimit% 3

# SNIPER LOG MESSAGES
On Spawn;If %server_sl_sniper[%p%]% == 1;Log Sniper %pt% %p% re-spawned. %server_sl_total[%ptk%]% snipers on team %ptk%
On Kill;If %server_sl_sniper[%v%]% == 1;Log Sniper %vtk% %v% killed. %server_sl_total[%vtk%]% snipers on team %vtk%

# SNIPER KILL CHECKS either over limit (so kill), existing sniper (do nothing), new sniper (reserve slot)
On Kill;Damage SniperRifle;
If %server_sl_total[%ptk%]% >= %server_sniperlimit%;if %server_sl_sniper[%p%]% == 0;PlayerYell %p% killed by SNIPER/DMR LIMIT max %server_sniperlimit%;Log Sniper Limit max %server_sniperlimit% snipers each team !!! (now Kill %p%);Kill
If %server_sl_sniper[%p%]% == 1;Log %ptk% %p% still a sniper, %server_sl_total[%ptk%]% snipers on team %ptk%
If %server_sl_sniper[%p%]% == 0;Incr %server_sl_total[%ptk%]%;Set %server_sl_sniper[%p%]% 1;Set %server_sl_x% %server_sl_total[%ptk%]%;Set %server_sl_snipername[%ptk%][%server_sl_x%]% %p%;teamsay %p% have a sniper/DMR slot !!! (%server_sl_total[%ptk%]%/%server_sniperlimit%);Log %ptk% %p% is new sniper, %server_sl_total[%ptk%]%/%server_sniperlimit% snipers on team %ptk%

# SNIPER KILL CHECKS either over limit (so kill), existing sniper (do nothing), new sniper (reserve slot)
On Kill;Damage DMR;
If %server_sl_total[%ptk%]% >= %server_sniperlimit%;if %server_sl_sniper[%p%]% == 0;PlayerYell %p% killed by SNIPER/DMR LIMIT max %server_sniperlimit%;Log Sniper Limit max %server_sniperlimit% snipers each team !!! (now Kill %p%);Kill
If %server_sl_sniper[%p%]% == 1;Log %ptk% %p% still a sniper, %server_sl_total[%ptk%]% snipers on team %ptk%
If %server_sl_sniper[%p%]% == 0;Incr %server_sl_total[%ptk%]%;Set %server_sl_sniper[%p%]% 1;Set %server_sl_x% %server_sl_total[%ptk%]%;Set %server_sl_snipername[%ptk%][%server_sl_x%]% %p%;teamsay %p% have a sniper/DMR slot !!! (%server_sl_total[%ptk%]%/%server_sniperlimit%);Log %ptk% %p% is new sniper, %server_sl_total[%ptk%]%/%server_sniperlimit% snipers on team %ptk%

# FREE UP SNIPER SLOT IF SNIPER HAS NON-SNIPER KILL OR SNIPER LEAVES 
On Kill;Not Damage SniperRifle;Not Damage Handgun;Not Damage Melee;Not Damage DMR;Not Damage Explosive;If %server_sl_sniper[%p%]% == 1;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay %p% gave up his sniper/DMR slot!!!(%server_sl_total[%ptk%]%/%server_sniperlimit%);Log Ex-sniper %p% used %d% %wk%, %server_sl_total[%ptk%]% snipers on team %ptk%
On Leave;If %server_sl_sniper[%p%]% == 1;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay %p% gave up his SNIPER/DMR slot !!!(%server_sl_total[%ptk%]%/%server_sniperlimit%);Log Sniper %pt% %p% left server. %server_sl_total[%ptk%]% snipers on team %ptk%

On Say;Text !&
PlayerSay Sniper limit: %server_sl_total[%ptk%]%/%server_sniperlimit%.
If %server_sl_total[%ptk%]% == 0;PlayerSay 0/%server_sniperlimit% SNIPERS on team %pt%
If %server_sl_total[%ptk%]% > 0;PlayerSay %pt% SNIPER[1/%server_sniperlimit%] is %server_sl_snipername[%ptk%][1]%
If %server_sl_total[%ptk%]% > 1;PlayerSay %pt% SNIPER[2/%server_sniperlimit%] is %server_sl_snipername[%ptk%][2]%
If %server_sl_total[%ptk%]% > 2;PlayerSay %pt% SNIPER[3/%server_sniperlimit%] is %server_sl_snipername[%ptk%][3]%
If %server_sl_total[%ptk%]% > 3;PlayerSay %pt% SNIPER[4/%server_sniperlimit%] is %server_sl_snipername[%ptk%][4]%

On Say;Text !*
PlayerSay Sniper limit: %server_sl_total[%ptk%]%/%server_sniperlimit%.
If %server_sl_total[%ptk%]% == 0;PlayerSay 0/%server_sniperlimit% SNIPERS on team %pt%
If %server_sl_total[%ptk%]% > 0;PlayerSay %pt% SNIPER[1/%server_sniperlimit%] is %server_sl_snipername[%ptk%][1]%
If %server_sl_total[%ptk%]% > 1;PlayerSay %pt% SNIPER[2/%server_sniperlimit%] is %server_sl_snipername[%ptk%][2]%
If %server_sl_total[%ptk%]% > 2;PlayerSay %pt% SNIPER[3/%server_sniperlimit%] is %server_sl_snipername[%ptk%][3]%
If %server_sl_total[%ptk%]% > 3;PlayerSay %pt% SNIPER[4/%server_sniperlimit%] is %server_sl_snipername[%ptk%][4]%

On Say;Text !s;
    PlayerSay SNIPERS: Team 1: %server_sl_total[1]%/%server_sniperlimit%, Team 2: %server_sl_total[2]%/%server_sniperlimit%
# DEBUG
On Kill;Log %p% killed %v% with %d% %wk%
On Spawn;Log %p% spawned on %ptk%
Then cycle on the map to the "gnu Master" if you have players use sniper shot people will be killed, the reason is that the sniper slot is full, we don't know how to operate the can after using the limits should be placed on the sniper rules at the same time can also be happy to play "gnu Master".
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BuRockK*:

 

Okay, the sniper limit rule you are using is coded for all mapmodes, including gunmaster. Which is why its killing players.

 

Tell me which mapmodes you want sniper limit to work in. I will update that code for you

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

Originally Posted by cssqw7_3*:

 

Okay, the sniper limit rule you are using is coded for all mapmodes, including gunmaster. Which is why its killing players.

 

Tell me which mapmodes you want sniper limit to work in. I will update that code for you

Thank you very much, in fact snipers limit is very simple, as long as the gun out limitation snipers can god mode

There are a few questions hope I can get help,

1, in model accidental gun god stop sniper/shotgun limit rules,(gnu Master modes no sniper/shotgun limit) other patterns still limit the sniper/shotgun.(The rest of the modes yes sniper/shotgun limit)

2, How to make the VIP temporary cancelled

Code:

On Spawn;mapmode TeamDeathMatch0;yell %p% Allow only enemy melee!!!
On kill;mapmode TeamDeathMatch0;Not weapon U_knife;playeryell %p% Allow only enemy melee!!!;kill
This rule generally players can work perfectly, but VIP unlimited can still use weapons to kill and not be killed, so obviously not what we mean, and we made changes

Code:

On Spawn;mapmode TeamDeathMatch0;not Protected
On Spawn;mapmode TeamDeathMatch0;not admins
On Spawn;mapmode TeamDeathMatch0;yell %p% Allow only enemy melee!!!
On kill;mapmode TeamDeathMatch0;Not weapon U_knife;playeryell %p% Allow only enemy melee!!!;kill
The modified rule using the "not" VIP remained firm can use the weapon to kill but not deserving of punishment.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BuRockK*:

 

Heres your sniper limit that works in every mode except GunMaster:

Code:

##### SNIPER LIMIT V2.7 BOLT AND DMR #####

# SET THE MAX # OF SNIPERS HERE:
On Kill;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode TeamDeathMatch0; MapMode CaptureTheFlag0;ServerFirst;Set %server_sniperlimit% 3
On Say;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode TeamDeathMatch0; MapMode CaptureTheFlag0;ServerFirst;Set %server_sniperlimit% 3

# SNIPER LOG MESSAGES
On Spawn;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode TeamDeathMatch0; MapMode CaptureTheFlag0;If %server_sl_sniper[%p%]% == 1;Log Sniper %pt% %p% re-spawned. %server_sl_total[%ptk%]% snipers on team %ptk%
On Kill;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode TeamDeathMatch0; MapMode CaptureTheFlag0;If %server_sl_sniper[%v%]% == 1;Log Sniper %vtk% %v% killed. %server_sl_total[%vtk%]% snipers on team %vtk%

# SNIPER KILL CHECKS either over limit (so kill), existing sniper (do nothing), new sniper (reserve slot)
On Kill;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode TeamDeathMatch0; MapMode CaptureTheFlag0;Damage SniperRifle;
If %server_sl_total[%ptk%]% >= %server_sniperlimit%;if %server_sl_sniper[%p%]% == 0;PlayerYell %p% killed by SNIPER/DMR LIMIT max %server_sniperlimit%;Log Sniper Limit max %server_sniperlimit% snipers each team !!! (now Kill %p%);Kill
If %server_sl_sniper[%p%]% == 1;Log %ptk% %p% still a sniper, %server_sl_total[%ptk%]% snipers on team %ptk%
If %server_sl_sniper[%p%]% == 0;Incr %server_sl_total[%ptk%]%;Set %server_sl_sniper[%p%]% 1;Set %server_sl_x% %server_sl_total[%ptk%]%;Set %server_sl_snipername[%ptk%][%server_sl_x%]% %p%;teamsay %p% have a sniper/DMR slot !!! (%server_sl_total[%ptk%]%/%server_sniperlimit%);Log %ptk% %p% is new sniper, %server_sl_total[%ptk%]%/%server_sniperlimit% snipers on team %ptk%

# SNIPER KILL CHECKS either over limit (so kill), existing sniper (do nothing), new sniper (reserve slot)
On Kill;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode TeamDeathMatch0; MapMode CaptureTheFlag0;Damage DMR;
If %server_sl_total[%ptk%]% >= %server_sniperlimit%;if %server_sl_sniper[%p%]% == 0;PlayerYell %p% killed by SNIPER/DMR LIMIT max %server_sniperlimit%;Log Sniper Limit max %server_sniperlimit% snipers each team !!! (now Kill %p%);Kill
If %server_sl_sniper[%p%]% == 1;Log %ptk% %p% still a sniper, %server_sl_total[%ptk%]% snipers on team %ptk%
If %server_sl_sniper[%p%]% == 0;Incr %server_sl_total[%ptk%]%;Set %server_sl_sniper[%p%]% 1;Set %server_sl_x% %server_sl_total[%ptk%]%;Set %server_sl_snipername[%ptk%][%server_sl_x%]% %p%;teamsay %p% have a sniper/DMR slot !!! (%server_sl_total[%ptk%]%/%server_sniperlimit%);Log %ptk% %p% is new sniper, %server_sl_total[%ptk%]%/%server_sniperlimit% snipers on team %ptk%

# FREE UP SNIPER SLOT IF SNIPER HAS NON-SNIPER KILL OR SNIPER LEAVES 
On Kill;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode TeamDeathMatch0; MapMode CaptureTheFlag0;Not Damage SniperRifle;Not Damage Handgun;Not Damage Melee;Not Damage DMR;Not Damage Explosive;If %server_sl_sniper[%p%]% == 1;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay %p% gave up his sniper/DMR slot!!!(%server_sl_total[%ptk%]%/%server_sniperlimit%);Log Ex-sniper %p% used %d% %wk%, %server_sl_total[%ptk%]% snipers on team %ptk%
On Leave;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode TeamDeathMatch0; MapMode CaptureTheFlag0;If %server_sl_sniper[%p%]% == 1;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay %p% gave up his SNIPER/DMR slot !!!(%server_sl_total[%ptk%]%/%server_sniperlimit%);Log Sniper %pt% %p% left server. %server_sl_total[%ptk%]% snipers on team %ptk%

On Say;Text !&;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode TeamDeathMatch0; MapMode CaptureTheFlag0
PlayerSay Sniper limit: %server_sl_total[%ptk%]%/%server_sniperlimit%.
If %server_sl_total[%ptk%]% == 0;PlayerSay 0/%server_sniperlimit% SNIPERS on team %pt%
If %server_sl_total[%ptk%]% > 0;PlayerSay %pt% SNIPER[1/%server_sniperlimit%] is %server_sl_snipername[%ptk%][1]%
If %server_sl_total[%ptk%]% > 1;PlayerSay %pt% SNIPER[2/%server_sniperlimit%] is %server_sl_snipername[%ptk%][2]%
If %server_sl_total[%ptk%]% > 2;PlayerSay %pt% SNIPER[3/%server_sniperlimit%] is %server_sl_snipername[%ptk%][3]%
If %server_sl_total[%ptk%]% > 3;PlayerSay %pt% SNIPER[4/%server_sniperlimit%] is %server_sl_snipername[%ptk%][4]%

On Say;Text !*;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode TeamDeathMatch0; MapMode CaptureTheFlag0
PlayerSay Sniper limit: %server_sl_total[%ptk%]%/%server_sniperlimit%.
If %server_sl_total[%ptk%]% == 0;PlayerSay 0/%server_sniperlimit% SNIPERS on team %pt%
If %server_sl_total[%ptk%]% > 0;PlayerSay %pt% SNIPER[1/%server_sniperlimit%] is %server_sl_snipername[%ptk%][1]%
If %server_sl_total[%ptk%]% > 1;PlayerSay %pt% SNIPER[2/%server_sniperlimit%] is %server_sl_snipername[%ptk%][2]%
If %server_sl_total[%ptk%]% > 2;PlayerSay %pt% SNIPER[3/%server_sniperlimit%] is %server_sl_snipername[%ptk%][3]%
If %server_sl_total[%ptk%]% > 3;PlayerSay %pt% SNIPER[4/%server_sniperlimit%] is %server_sl_snipername[%ptk%][4]%

On Say;Text !s;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode TeamDeathMatch0; MapMode CaptureTheFlag0;
    PlayerSay SNIPERS: Team 1: %server_sl_total[1]%/%server_sniperlimit%, Team 2: %server_sl_total[2]%/%server_sniperlimit%
# DEBUG
On Kill;Log %p% killed %v% with %d% %wk%
On Spawn;Log %p% spawned on %ptk%
For your second problem. The code youre showing me restricts any weapon from using ("only knife" code in TDM). But you also have a sniper/dmr limit that will also work in TDM gamemode. This will give errors in game. You need to choose which rules you want on which gamemodes. Some rules, for example: "Sniper/DMR Limit" rule and "Only Knife" rule should not be used together on the same gamemode, unless you seperate those rules based on which specific map they should work in.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by cssqw7_3*:

 

First of all thank you very much "BuRockK" to write the code, but I update server code after a fatal error occurred.

1, replace original snipers/shotgun limit code, server not limit sniper/shotgun, means that regardless of the server has a few of the no "VIP" players use sniper rifle/shotgun will not be restricted.

Use code you provide "! S "could not get the result, I will be" On "Say" modified can be queried, but the query is always sniper 0/3 shotgun 0/3.

2, I don't know where error problem, try to made several changes, but the results (1) can be normal limit snipers/shotguns, but "GunMaster" is not normal, (2) "GunMaster" is normal, but not limit the sniper/shotgun.

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

Originally Posted by BuRockK*:

 

Okay first, I did not fully understand the problem. The code currently works this way:

 

Sniper/DMR Limit rule will not work : GunMaster

Sniper/DMR Limit rule will work : Conquest, Domination, Defuse, Obliteration, Rush, Squad Death Match, Team Death Match, Capture The Flag

 

I need you to copy-paste the error messages you get in ProCon's plugin console here so i can know wheres the problem.

 

2 - Yes, your first option is how the code meant to work; Normal SniperDMR limit in every other gamemode but no SniperDMR limit in GunMaster. I may have misunderstood how you want the SniperDMR limit to work as.

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

Originally Posted by cssqw7_3*:

 

Hi BuRock, Maybe it is because of our culture difference,it may cause some missunderstanding. Now i will point it out as follows:

1. it needs a sniper/shortgun rule as number of limitation.This rule is only for non-VIP players. So VIP player is free of every weapon.

 

2. There is a "Gun Master" mode in our existing maps, i hope once this mode is running, we can CANCEL the Sniper/Shortgun user limitation.

 

3. During the Team Deathmatch mode, I hope to limit the users weapon (both for Non-VIP and VIP) as only 1, everybody only can use ONE weapon which is set up by server admin.If VIP player violate the rules in Team Death Match (TDM), we will give the killed/kicked punishment

 

based on these 3 points i stated, please help to send me the codes. Thank you very much.

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

Originally Posted by BuRockK*:

 

This is the Sniper/DMR Limit code you need:

Code:

##### SNIPER LIMIT V2.7 BOLT AND DMR #####

# SET THE MAX # OF SNIPERS HERE:
On Kill;Not Protected;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode CaptureTheFlag0;ServerFirst;Set %server_sniperlimit% 3
On Say;Not Protected;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode CaptureTheFlag0;ServerFirst;Set %server_sniperlimit% 3

# SNIPER LOG MESSAGES
On Spawn;Not Protected;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode CaptureTheFlag0;If %server_sl_sniper[%p%]% == 1;Log Sniper %pt% %p% re-spawned. %server_sl_total[%ptk%]% snipers on team %ptk%
On Kill;Not Protected;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode CaptureTheFlag0;If %server_sl_sniper[%v%]% == 1;Log Sniper %vtk% %v% killed. %server_sl_total[%vtk%]% snipers on team %vtk%

# SNIPER KILL CHECKS either over limit (so kill), existing sniper (do nothing), new sniper (reserve slot)
On Kill;Not Protected;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode CaptureTheFlag0;Damage SniperRifle;
If %server_sl_total[%ptk%]% >= %server_sniperlimit%;if %server_sl_sniper[%p%]% == 0;PlayerYell %p% killed by SNIPER/DMR LIMIT max %server_sniperlimit%;Log Sniper Limit max %server_sniperlimit% snipers each team !!! (now Kill %p%);Kill
If %server_sl_sniper[%p%]% == 1;Log %ptk% %p% still a sniper, %server_sl_total[%ptk%]% snipers on team %ptk%
If %server_sl_sniper[%p%]% == 0;Incr %server_sl_total[%ptk%]%;Set %server_sl_sniper[%p%]% 1;Set %server_sl_x% %server_sl_total[%ptk%]%;Set %server_sl_snipername[%ptk%][%server_sl_x%]% %p%;teamsay %p% have a sniper/DMR slot !!! (%server_sl_total[%ptk%]%/%server_sniperlimit%);Log %ptk% %p% is new sniper, %server_sl_total[%ptk%]%/%server_sniperlimit% snipers on team %ptk%

# SNIPER KILL CHECKS either over limit (so kill), existing sniper (do nothing), new sniper (reserve slot)
On Kill;Not Protected;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode CaptureTheFlag0;Damage DMR;
If %server_sl_total[%ptk%]% >= %server_sniperlimit%;if %server_sl_sniper[%p%]% == 0;PlayerYell %p% killed by SNIPER/DMR LIMIT max %server_sniperlimit%;Log Sniper Limit max %server_sniperlimit% snipers each team !!! (now Kill %p%);Kill
If %server_sl_sniper[%p%]% == 1;Log %ptk% %p% still a sniper, %server_sl_total[%ptk%]% snipers on team %ptk%
If %server_sl_sniper[%p%]% == 0;Incr %server_sl_total[%ptk%]%;Set %server_sl_sniper[%p%]% 1;Set %server_sl_x% %server_sl_total[%ptk%]%;Set %server_sl_snipername[%ptk%][%server_sl_x%]% %p%;teamsay %p% have a sniper/DMR slot !!! (%server_sl_total[%ptk%]%/%server_sniperlimit%);Log %ptk% %p% is new sniper, %server_sl_total[%ptk%]%/%server_sniperlimit% snipers on team %ptk%

# FREE UP SNIPER SLOT IF SNIPER HAS NON-SNIPER KILL OR SNIPER LEAVES 
On Kill;Not Protected;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode CaptureTheFlag0;Not Damage SniperRifle;Not Damage Handgun;Not Damage Melee;Not Damage DMR;Not Damage Explosive;If %server_sl_sniper[%p%]% == 1;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay %p% gave up his sniper/DMR slot!!!(%server_sl_total[%ptk%]%/%server_sniperlimit%);Log Ex-sniper %p% used %d% %wk%, %server_sl_total[%ptk%]% snipers on team %ptk%
On Leave;Not Protected;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode CaptureTheFlag0;If %server_sl_sniper[%p%]% == 1;Set %server_sl_sniper[%p%]% 0;Decr %server_sl_total[%ptk%]%;TeamSay %p% gave up his SNIPER/DMR slot !!!(%server_sl_total[%ptk%]%/%server_sniperlimit%);Log Sniper %pt% %p% left server. %server_sl_total[%ptk%]% snipers on team %ptk%

On Say;Text !&;Not Protected;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode CaptureTheFlag0
PlayerSay Sniper limit: %server_sl_total[%ptk%]%/%server_sniperlimit%.
If %server_sl_total[%ptk%]% == 0;PlayerSay 0/%server_sniperlimit% SNIPERS on team %pt%
If %server_sl_total[%ptk%]% > 0;PlayerSay %pt% SNIPER[1/%server_sniperlimit%] is %server_sl_snipername[%ptk%][1]%
If %server_sl_total[%ptk%]% > 1;PlayerSay %pt% SNIPER[2/%server_sniperlimit%] is %server_sl_snipername[%ptk%][2]%
If %server_sl_total[%ptk%]% > 2;PlayerSay %pt% SNIPER[3/%server_sniperlimit%] is %server_sl_snipername[%ptk%][3]%
If %server_sl_total[%ptk%]% > 3;PlayerSay %pt% SNIPER[4/%server_sniperlimit%] is %server_sl_snipername[%ptk%][4]%

On Say;Text !*;Not Protected;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode CaptureTheFlag0
PlayerSay Sniper limit: %server_sl_total[%ptk%]%/%server_sniperlimit%.
If %server_sl_total[%ptk%]% == 0;PlayerSay 0/%server_sniperlimit% SNIPERS on team %pt%
If %server_sl_total[%ptk%]% > 0;PlayerSay %pt% SNIPER[1/%server_sniperlimit%] is %server_sl_snipername[%ptk%][1]%
If %server_sl_total[%ptk%]% > 1;PlayerSay %pt% SNIPER[2/%server_sniperlimit%] is %server_sl_snipername[%ptk%][2]%
If %server_sl_total[%ptk%]% > 2;PlayerSay %pt% SNIPER[3/%server_sniperlimit%] is %server_sl_snipername[%ptk%][3]%
If %server_sl_total[%ptk%]% > 3;PlayerSay %pt% SNIPER[4/%server_sniperlimit%] is %server_sl_snipername[%ptk%][4]%

On Say;Text !s;Not Protected;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode CaptureTheFlag0;
    PlayerSay SNIPERS: Team 1: %server_sl_total[1]%/%server_sniperlimit%, Team 2: %server_sl_total[2]%/%server_sniperlimit%
# DEBUG
On Kill;Log %p% killed %v% with %d% %wk%
On Spawn;Log %p% spawned on %ptk%
This Sniper/DMR limit code will NOT work in GunMaster or Team DeathMatch. Because you ask for another weapon related rule to use in Team DeathMatch.

 

For weapon rule in TDM, you can use another plugin to punish anyone (also VIP) who uses the weapons you choose to restrict. But im not sure if the plugin supports in-game commands for remotely altering the plugins restriction settings.:

 

myrcon.net/.../simple-weapon-limiter-v1000

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




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