Jump to content

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


ColColonCleaner

Recommended Posts

Originally Posted by cssqw7_3*:

 

Hi BuRock. I will write my server all the rules, hope to get your help, I can't find the problems, I server VIP privilege is too high, under the provisions of the specific can't like ordinary players, I should how to operate?

Code:



On Say;Protected;Text !vip
    Playersay ################################
    Playersay #                              #                               
    Playersay #                              #                               
    Playersay #  Vip              %p%        #          
    Playersay #                              #                                         
    Playersay #                              #                                                     
    Playersay ################################

On Say;Not Protected;Text !vip
    PlayerSay %p% You are not Vip.
    PlayerSay Gou Mai Vip QQ 316718826

On Kill;Weapon Melee;Yell %p% oxxx{]:::::::::::> %v%


On Say;Text !rules
    PlayerSay Sniper limit Three [!s]
    PlayerSay Enter the [!killme] can not score suicide!
    PlayerSay If the admin is not in,remember there is [!voteban]
    PlayerSay The server automatically balancing players!
    PlayerSay Get VIP please login goo.gl/08o2EQ


On Join;Protected;
say ################################
say # VIP joined the server prompt #                               
say #                              #                               
say #  Vip:      %p%     #        
say #                              #                                         
say #                              #                                                     
say ################################

##### FIRSTBLOOD #####
On Kill;ServerFirst;yell %pt% %p% has FIRST BLOOD by killing %v% with %w%




#####################################################
# BEST 3 PLAYERS ##### by tarreltje & bambam
# reports after top player 10 kills,
# then each time leader changes
#####################################################

On Kill;Incr %m_kills%;
# + Log %p% with %m_kills% kills;Set %server_m_report% 1;Set %server_m_report_reason% ".Log."

On Kill;If %m_kills% > %server_m_kills[1]%
  If %m_kills% > 10;If %p% != %server_m_player[1]%;Set %server_m_report% 1;Set %server_m_report_reason% "New #1"
  If %p% == %server_m_player[2]%;Set %server_m_kills[2]% %server_m_kills[1]%;Set %server_m_player[2]% %server_m_player[1]%;Set %server_m_player[1]% %p%;Set %server_m_kills[1]% %m_kills%
  If %p% != %server_m_player[1]%;If %p% != %server_m_player[2];Set %server_m_kills[3]% %server_m_kills[2]%;Set %server_m_player[3]% %server_m_player[2]%;Set %server_m_kills[2]% %server_m_kills[1]%;Set %server_m_player[2]% %server_m_player[1]%;
  Set %server_m_player[1]% %p%;Set %server_m_kills[1]% %m_kills%;
  
On Kill;If %m_kills% > %server_m_kills[2]%;If %m_kills% <= %server_m_kills[1]%;If %p% != %server_m_player[1]%;
  If %p% != %server_m_player[2]%;Set %server_m_kills[3]% %server_m_kills[2]%;Set %server_m_player[3]% %server_m_player[2]%
  Set %server_m_player[2]% %p%
  Set %server_m_kills[2]% %m_kills%;
  
On Kill;If %m_kills% > %server_m_kills[3]%;If %m_kills% <= %server_m_kills[2]%;If %p% != %server_m_player[2]%;Set %server_m_player[3]% %p%;Set %server_m_kills[3]% %m_kills%;

On Kill;Incr %server_m_killcount%;If %server_m_killcount% > 70;Set %server_m_report% 1;Set %server_m_report_reason% "------"

####### Output report if server_m_report has been set
On Kill;If %server_m_report% == 1;
    Say ----%server_m_report_reason%-------- Top three by -----------------
    Say [1st] %server_m_player[1]% %server_m_kills[1]%, [2nd] %server_m_player[2]% %server_m_kills[2]%, [3rd] %server_m_player[3]% %server_m_kills[3]%
    Set %server_m_report% 0;Set %server_m_killcount% 0

***RUSH NO M224***
On kill;Not Protected;mapmode rush;weapon m224;say %p% no M224 on Rush!!!;kill
On kill;Not Protected;mapmode rush;weapon m224;PlayerCount 2;say %p% no M224 on Rush!!!;kick No M224 on Rush!
On kill;Not Protected;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!


***TDM MELEE LIMIT***
On Join;mapmode TeamDeathMatch0;not Protected
On Spawn;mapmode TeamDeathMatch0;not Protected
On Spawn;mapmode TeamDeathMatch0;playeryell %p% Allow only enemy melee!!!
On kill;mapmode TeamDeathMatch0;Not Damage Melee;playeryell %p% Allow only enemy melee!!!;kill


##### SNIPER LIMIT #####

# 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%

# 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%

##### SHOTGUN limit #####

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

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

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


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

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

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

On Say;Text !s;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode TeamDeathMatch0; MapMode CaptureTheFlag0;
    PlayerSay SHOTGUN: Team 1: %server_sl_total[1]%/%server_shotgunlimit%, Team 2: %server_sl_total[2]%/%server_shotgunlimit%
# DEBUG
On Kill;Log %p% killed %v% with %d% %wk%
On Spawn;Log %p% spawned on %ptk%


######################################################
# Unreal Tournament Kill Streak Announcer by ty_ger07
######################################################
#### Announcements of killstreak ending:
On Kill;If %server_streak[%v%]% >= 5;Say %p% ENDED %v%'s %server_streak[%v%]%-KILL STREAK with %w%
On TeamKill;If %server_streak[%v%]% >= 5;Say %p%'s TEAMKILL ENDED %v%'s %server_streak[%v%]%-KILL STREAK with %w%
On Suicide;If %server_streak[%p%]% >= 5;Say %p% ENDED their %server_streak[%p%]%-KILL STREAK with a SUICIDE
#### Reset the player's streak count when they are killed:
On Kill;Set %server_streak[%v%]% 0
On TeamKill;Set %server_streak[%v%]% 0
On Suicide;Set %server_streak[%v%]% 0
#### Reset killincr to 0 if server_streak is 0
On Kill;If %server_streak[%p%]% == 0;Set %killincr% 0
#### Accumulate the kill count for each player in a var %server_streak[playername]%
On Kill;Incr %killincr%;Incr %server_streak[%p%]%;
#### Say periodic killstreak messages
On Kill;If %killincr% == 30;Set %killincr% 25;Say GodLike! %p% %server_streak[%p%]% KILL STREAK
On Kill;If %server_streak[%p%]% == 25;Yell GodLike! %p% 25-KILL STREAK
On Kill;If %server_streak[%p%]% == 20;Yell Unstoppable! %p% 20-KILL STREAK
On Kill;If %server_streak[%p%]% == 15;Say Dominating! %p% 15-KILL STREAK
On Kill;If %server_streak[%p%]% == 10;Say Rampage! %p% 10-KILL STREAK
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BuRockK*:

 

I fixed little things in your ProconRulz codes.

 

Back-up your ProconRulz codes before replacing the codes below.

 

Code:

On Say;Protected;Text !vip
    Playersay ################################
    Playersay #                              #                               
    Playersay #                              #                               
    Playersay #  Vip              %p%        #          
    Playersay #                              #                                         
    Playersay #                              #                                                     
    Playersay ################################

On Say;Not Protected;Text !vip
    PlayerSay %p% You are not Vip.
    PlayerSay Gou Mai Vip QQ 316718826

On Kill;Weapon Melee;Say %p% oxxx{]:::::::::::> %v%


On Say;Text !rules
    PlayerSay Sniper limit Three [!s]
    PlayerSay Enter the [!killme] can not score suicide!
    PlayerSay If the admin is not in,remember there is [!voteban]
    PlayerSay The server automatically balancing players!
    PlayerSay Get VIP please login goo.gl/08o2EQ


On Join;Protected;
say ################################
say # VIP joined the server prompt #                               
say #                              #                               
say #  Vip:      %p%     #        
say #                              #                                         
say #                              #                                                     
say ################################

##### FIRSTBLOOD #####
On Kill;ServerFirst;yell %pt% %p% has FIRST BLOOD by killing %v% with %w%




#####################################################
# BEST 3 PLAYERS ##### by tarreltje & bambam
# reports after top player 10 kills,
# then each time leader changes
#####################################################

On Kill;Incr %m_kills%;
# + Log %p% with %m_kills% kills;Set %server_m_report% 1;Set %server_m_report_reason% ".Log."

On Kill;If %m_kills% > %server_m_kills[1]%
  If %m_kills% > 10;If %p% != %server_m_player[1]%;Set %server_m_report% 1;Set %server_m_report_reason% "New #1"
  If %p% == %server_m_player[2]%;Set %server_m_kills[2]% %server_m_kills[1]%;Set %server_m_player[2]% %server_m_player[1]%;Set %server_m_player[1]% %p%;Set %server_m_kills[1]% %m_kills%
  If %p% != %server_m_player[1]%;If %p% != %server_m_player[2];Set %server_m_kills[3]% %server_m_kills[2]%;Set %server_m_player[3]% %server_m_player[2]%;Set %server_m_kills[2]% %server_m_kills[1]%;Set %server_m_player[2]% %server_m_player[1]%;
  Set %server_m_player[1]% %p%;Set %server_m_kills[1]% %m_kills%;
  
On Kill;If %m_kills% > %server_m_kills[2]%;If %m_kills% <= %server_m_kills[1]%;If %p% != %server_m_player[1]%;
  If %p% != %server_m_player[2]%;Set %server_m_kills[3]% %server_m_kills[2]%;Set %server_m_player[3]% %server_m_player[2]%
  Set %server_m_player[2]% %p%
  Set %server_m_kills[2]% %m_kills%;
  
On Kill;If %m_kills% > %server_m_kills[3]%;If %m_kills% <= %server_m_kills[2]%;If %p% != %server_m_player[2]%;Set %server_m_player[3]% %p%;Set %server_m_kills[3]% %m_kills%;

On Kill;Incr %server_m_killcount%;If %server_m_killcount% > 70;Set %server_m_report% 1;Set %server_m_report_reason% "------"

####### Output report if server_m_report has been set
On Kill;If %server_m_report% == 1;
    Say ----%server_m_report_reason%-------- Top three by -----------------
    Say [1st] %server_m_player[1]% %server_m_kills[1]%, [2nd] %server_m_player[2]% %server_m_kills[2]%, [3rd] %server_m_player[3]% %server_m_kills[3]%
    Set %server_m_report% 0;Set %server_m_killcount% 0

***RUSH NO M224***
On kill;Not Protected;mapmode rush;weapon m224;PlayerCount 2;say %p% no M224 on Rush!!!;kick No M224 on Rush!
On kill;Not Protected;mapmode rush;weapon m224;PlayerCount 1;say %p% no M224 on Rush!!!;kill 100
+PlayerYell %p% no M224 on Rush, next time you will be kicked!
On kill;Not Protected;mapmode rush;weapon m224;say %p% no M224 on Rush!!!;kill 100


***TDM MELEE LIMIT***
On Join;mapmode TeamDeathMatch0;playersay %p% Allowed: Melee Only!!!
On Spawn;mapmode TeamDeathMatch0;playeryell %p% Allowed: Melee Only!!!
On kill;mapmode TeamDeathMatch0;Not Damage Melee;kill 100;playeryell %p% Allowed: Melee Only!!!


##### SNIPER LIMIT #####

# 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%

# 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%

##### SHOTGUN limit #####

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

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

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


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

On Say;Text !&;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode CaptureTheFlag0
PlayerSay Shotgun limit: %server_sl_total[%ptk%]%/%server_shotgunlimit%.
If %server_sl_total[%ptk%]% == 0;PlayerSay 0/%server_shotgunlimit% SHOTGUN on team %pt%
If %server_sl_total[%ptk%]% > 0;PlayerSay %pt% SHOTGUN[1/%server_shotgunlimit%] is %server_sl_shotgunname[%ptk%][1]%
If %server_sl_total[%ptk%]% > 1;PlayerSay %pt% SHOTGUN[2/%server_shotgunlimit%] is %server_sl_shotgunname[%ptk%][2]%
If %server_sl_total[%ptk%]% > 2;PlayerSay %pt% SHOTGUN[3/%server_shotgunlimit%] is %server_sl_shotgunname[%ptk%][3]%
If %server_sl_total[%ptk%]% > 3;PlayerSay %pt% SHOTGUN[4/%server_shotgunlimit%] is %server_sl_shotgunname[%ptk%][4]%

On Say;Text !*;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode CaptureTheFlag0
PlayerSay Shotgun limit: %server_sl_total[%ptk%]%/%server_shotgunlimit%.
If %server_sl_total[%ptk%]% == 0;PlayerSay 0/%server_shotgunlimit% SHOTGUN on team %pt%
If %server_sl_total[%ptk%]% > 0;PlayerSay %pt% SHOTGUN[1/%server_shotgunlimit%] is %server_sl_shotgunname[%ptk%][1]%
If %server_sl_total[%ptk%]% > 1;PlayerSay %pt% SHOTGUN[2/%server_shotgunlimit%] is %server_sl_shotgunname[%ptk%][2]%
If %server_sl_total[%ptk%]% > 2;PlayerSay %pt% SHOTGUN[3/%server_shotgunlimit%] is %server_sl_shotgunname[%ptk%][3]%
If %server_sl_total[%ptk%]% > 3;PlayerSay %pt% SHOTGUN[4/%server_shotgunlimit%] is %server_sl_shotgunname[%ptk%][4]%

On Say;Text !s;MapMode Conquest; MapMode Domination; MapMode Defuse; MapMode Obliteration; MapMode Rush; MapMode SquadDeathMatch0; MapMode CaptureTheFlag0;
    PlayerSay SHOTGUN: Team 1: %server_sl_total[1]%/%server_shotgunlimit%, Team 2: %server_sl_total[2]%/%server_shotgunlimit%
# DEBUG
On Kill;Log %p% killed %v% with %d% %wk%
On Spawn;Log %p% spawned on %ptk%


######################################################
# Unreal Tournament Kill Streak Announcer by ty_ger07
######################################################
#### Announcements of killstreak ending:
On Kill;If %server_streak[%v%]% >= 5;Say %p% ENDED %v%'s %server_streak[%v%]%-KILL STREAK with %w%
On TeamKill;If %server_streak[%v%]% >= 5;Say %p%'s TEAMKILL ENDED %v%'s %server_streak[%v%]%-KILL STREAK with %w%
On Suicide;If %server_streak[%p%]% >= 5;Say %p% ENDED their %server_streak[%p%]%-KILL STREAK with a SUICIDE
#### Reset the player's streak count when they are killed:
On Kill;Set %server_streak[%v%]% 0
On TeamKill;Set %server_streak[%v%]% 0
On Suicide;Set %server_streak[%v%]% 0
#### Reset killincr to 0 if server_streak is 0
On Kill;If %server_streak[%p%]% == 0;Set %killincr% 0
#### Accumulate the kill count for each player in a var %server_streak[playername]%
On Kill;Incr %killincr%;Incr %server_streak[%p%]%;
#### Say periodic killstreak messages
On Kill;If %killincr% == 30;Set %killincr% 25;Say GodLike! %p% %server_streak[%p%]% KILL STREAK
On Kill;If %server_streak[%p%]% == 25;Yell GodLike! %p% 25-KILL STREAK
On Kill;If %server_streak[%p%]% == 20;Yell Unstoppable! %p% 20-KILL STREAK
On Kill;If %server_streak[%p%]% == 15;Say Dominating! %p% 15-KILL STREAK
On Kill;If %server_streak[%p%]% == 10;Say Rampage! %p% 10-KILL STREAK
I dont know what rules you want for which mapmodes, but heres how its setup:

 

- "RUSH NO M224" rule: Restricts M224 for Non-VIPs

 

- "TDM MELEE LIMIT" rule: Will work now for both VIPs and Non-VIPs (only in TDM gamemode)

 

- "SNIPER LIMIT" rule: Will work for Non-VIPs (will not work in TDM and GunMaster gamemodes)

 

- "SHOTGUN limit" rule: Will work for both VIPs and Non-VIPs (will not work in TDM and GunMaster gamemodes)

 

- All other announcement rules are the same.

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

Originally Posted by cssqw7_3*:

 

Hi BuRock

- "BAN M224" rule: Will work for both VIPs and Non-VIPs,i will ban m224 for this server

 

- "TDM MELEE LIMIT" rule: Will work now for both VIPs and Non-VIPs (only in TDM gamemode),Yes, that's it

 

- "SNIPER LIMIT" rule: Will work for Non-VIPs (will not work in TDM and GunMaster gamemodes),Yes, that's it

 

- "SHOTGUN limit" rule: Will work for both VIPs and Non-VIPs (will not work in TDM and GunMaster gamemodes),Yes, that's it

 

the upon settings are not working properly

 

the sniper code which you sent to me, it causes non-vip players all cannot sniper rifles.

 

how to solve this problem? i would like to limit the number of snipers within 3 for all non-vip players

YY__20160919123111.png

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

Originally Posted by BuRockK*:

 

Hi BuRock

- "BAN M224" rule: Will work for both VIPs and Non-VIPs,i will ban m224 for this server

 

- "TDM MELEE LIMIT" rule: Will work now for both VIPs and Non-VIPs (only in TDM gamemode),Yes, that's it

 

- "SNIPER LIMIT" rule: Will work for Non-VIPs (will not work in TDM and GunMaster gamemodes),Yes, that's it

 

- "SHOTGUN limit" rule: Will work for both VIPs and Non-VIPs (will not work in TDM and GunMaster gamemodes),Yes, that's it

 

the upon settings are not working properly

 

the sniper code which you sent to me, it causes non-vip players all cannot sniper rifles.

 

how to solve this problem? i would like to limit the number of snipers within 3 for all non-vip players

YY__20160919123111.png

Ive checked the codes again. Seems your "shotgun limit" is a copy/paste version of sniper limit?

 

Delete your shotgun limit codes and use this instead:

 

Code:

# Shotgun Limit (2 pro Team)    ##########################
# IMPORTANT: HERE YOU CAN SET THE # OF SHOTGUN SLOT EACH TEAM:        #######
On Spawn;Not MapMode TeamDeathMatch0;Not MapMode GunMaster;PlayerFirst; Set %shotgunlimit% 3
On Say;Not MapMode TeamDeathMatch0;Not MapMode GunMaster;PlayerFirst; Set %shotgunlimit% 3

# KILL CHECK - RESERVE SHOTGUN-SLOT AFTER SHOTGUN KILL - NO FREE SLOT THAN KILL + MESSAGE        #######
On Kill;Damage Shotgun;Not MapMode TeamDeathMatch0;Not MapMode GunMaster;
    If %server_global_shotguns[%ptk%]% >= %shotgunlimit%; If %server_global_playershotgunstatus[%p%][%ptk%]% != 1; TeamSay SHOTGUN-LIMIT: %p% was KILLED by shotgun limit (max %shotgunlimit% shotguns each team). Type !shotgun; PlayerYell KILLED by shotgun limit; Kill 100
    If %server_global_shotguns[%ptk%]% < %shotgunlimit%; If %server_global_playershotgunstatus[%p%][%ptk%]% != 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 1; Incr %server_global_shotguns[%ptk%]%; TeamSay SHOTGUN-LIMIT: %p% have a shotgun slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%); PlayerSay SHOTGUN-LIMIT: Allowed weapons: Shotgun, Pistol, Nades, Knife; PlayerYell YOU HAVE A SHOTGUN SLOT

# MAKE SHOTGUN-SLOT FREE AFTER NO SHOTGUN KILL - (allowed kills with shotgun slot: Shotgun, Pistole, Nades, Knife, Vehicles...)        #######
On Kill; Not Damage Shotgun;Not Damage Explosive;Not Damage Handgun;Not Damage Melee;Not Damage VehicleWater;Not Damage VehicleAir;Not Damage VehicleStationary;Not Damage VehiclePersonal;Not Damage VehicleTransport;Not Damage VehicleLight;Not Damage VehicleHeavy; Not Weapon U_M67,U_Grenade_RGO,U_V40,U_M34,DamageArea,SoldierCollision,Death,RoadKill,VehicleUpsideDown,Suicide,U_BallisticShield,U_SUAV;Not MapMode TeamDeathMatch0;Not MapMode GunMaster; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 0; Decr %server_global_shotguns[%ptk%]%; TeamSay SHOTGUN-LIMIT: %p% gave up his shotgun slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%); Log DEBUG SHOTGUN-LIMIT: Player %p% killed %v% with WeaponID %wk% (lost shotgun slot); PlayerYell You lost your shotgun slot
On Leave;Not MapMode TeamDeathMatch0;Not MapMode GunMaster; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 0; Decr %server_global_shotguns[%ptk%]%; TeamSay SHOTGUN-LIMIT: %p% gave up his shotgun slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%)

# SERVER LEAVE + TEAM SWITCH CHECK        #######
On Spawn;Not MapMode TeamDeathMatch0;Not MapMode GunMaster;
    if %ptk% != 0; if %server_global_playershotgunstatus[%p%][0]% == 1; Set %server_global_playershotgunstatus[%p%][0]% 0; PlayerSay SHOTGUN-LIMIT: You lost your shotgun slot (Team-Switch); PlayerYell You lost your shotgun slot
    if %ptk% != 1; if %server_global_playershotgunstatus[%p%][1]% == 1; Set %server_global_playershotgunstatus[%p%][1]% 0; PlayerSay SHOTGUN-LIMIT: You lost your shotgun slot (Team-Switch); PlayerYell You lost your shotgun slot
    if %ptk% != 2; if %server_global_playershotgunstatus[%p%][2]% == 1; Set %server_global_playershotgunstatus[%p%][2]% 0; PlayerSay SHOTGUN-LIMIT: You lost your shotgun slot (Team-Switch); PlayerYell You lost your shotgun slot
    if %ptk% != 3; if %server_global_playershotgunstatus[%p%][3]% == 1; Set %server_global_playershotgunstatus[%p%][3]% 0; PlayerSay SHOTGUN-LIMIT: You lost your shotgun slot (Team-Switch); PlayerYell You lost your shotgun slot
On Leave;Not MapMode TeamDeathMatch0;Not MapMode GunMaster; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 0; Decr %server_global_shotguns[%ptk%]%; TeamSay SHOTGUN-LIMIT: %p% gave up his shotgun slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%)

# !shotgun IN-GAME-CHAT COMMAND        #######
On Say;Text !shotgun;Not MapMode TeamDeathMatch0;Not MapMode GunMaster; TeamSay SHOTGUN-LIMIT: Shotguns are limited on MAP LOCKER.; TeamSay SHOTGUN-LIMIT: Currently: %server_global_shotguns[%ptk%]% of %shotgunlimit% for your team; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; PlayerSay SHOTGUN-LIMIT: You have a shotgun slot! Allowed weapons: Shotgun, Pistol, Nades, Knife

It works with shotgun slots, 3 each team (you can change the # of slots). After a shotgun kill the player will get a shotgun slot. If all shotgun slots are in use, the player will be killed with info message.

 

INSTALLATION:

Put the code in proconrulz

 

HOW TO USE:

It works automatically.

Type !shotgun for check the shotgun slots

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

Originally Posted by cssqw7_3*:

 

Thank BuRock,

The shotgun limit code is very nice, replacement by modifying the shotgun is a sniper rifle, a sniper rifle restrictions also have no questions, in the normal operation of all the patterns.

Ask BF4 has the plugin can do custom value of the armed forces, or through rules if I can do the custom force value.

For example: I want to capture the flag mode operation, just want to take 3 flags and run RUSH want offense to have 300 people, directly modified by changing the gameplay is very difficult to do this.

 

The problems about limit a VIP, because of my server has two layers of management, I don't know before, a layer of management general players, a layer of management VIP player, by modifying the rules of the VIP players this problem has been solved.

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

Originally Posted by BuRockK*:

 

As i understand correctly, you want to change server settings (tickets,round time,total flags in CTF, etc.). You can do these of course but some settings require to restart server. You will have to search the net to know which settings require restart and which ones do not.

 

To easily have custom settings for whichever mapmode or maps, you should use Ultimate Map Manager (UMM) plugin:

 

showthread....-5-0-03-26-15)*

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

Originally Posted by AlcaGamerZ*:

 

Hi guys , i'm new here and of course new to procon too . i've been looking for shotgunlimit but couldn't find any of it works for me . can someone who have the code please do share it to me ? oh ya, can vip or reserved slot become an exception from the sniperlimit and shotgunlimit? i might come here a lot of times as i have a lot of question to ask . hehe , thnks!

 

#I might not seen any of the other post alrdy post about shotgunlimit/sniperlimit . Please do tell me if it's alrdy have

 

#Do please make the code to be an expection for GunMaster modes

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

Originally Posted by ty_ger07*:

 

Hi guys , i'm new here and of course new to procon too . i've been looking for shotgunlimit but couldn't find any of it works for me . can someone who have the code please do share it to me ? oh ya, can vip or reserved slot become an exception from the sniperlimit and shotgunlimit? i might come here a lot of times as i have a lot of question to ask . hehe , thnks!

 

#I might not seen any of the other post alrdy post about shotgunlimit/sniperlimit . Please do tell me if it's alrdy have

 

#Do please make the code to be an expection for GunMaster modes

What are the odds that such code has just been the topic of discussion? Look up through this page and the last page.
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by AlcaGamerZ*:

 

What are the odds that such code has just been the topic of discussion? Look up through this page and the last page.

sorry i dont get it , did you mean the code that i requested alrdy posted in this pages? it have 577 page to look up through tho ..

 

[Request]

as an admin in a server my request was to make a server with sniperlimit and shotgunlimit in all gamemodes and maps except for GunMaster gamemode with a vip/reservedslot (vip/reservedslot , it will protect the names from getting killed by the limits) .

 

[Question&Request]

Just remember,i also wanted to make a server in Air Supperiority gamemode , Silk Road Map cant use lockons in using the jet which mean they will have normal dogfight without lockons (all type of lockons just leave the jet machine guns exception,they can only use primary weapon which is 20mm bullet or 30mm bullet i think so) . whenever someone kill using lockons it will kick the player . I know this can be restricted using AdKats Loadout Enfocer . Somehow my layers is not compatible with what the plugin Requires . However , is it possible to do so?

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

Originally Posted by BuRockK*:

 

Hello AlcaGamerZ,

 

Heres the Shotgun Limit and Sniper/DMR Limit excluding VIP/ReservedSlots and GunMaster gamemode:

 

Shotgun Limit

Code:

# Shotgun Limit (2 pro Team)    ##########################
# IMPORTANT: HERE YOU CAN SET THE # OF SHOTGUN SLOT EACH TEAM:        #######
On Spawn;Not Protected;Not MapMode GunMaster;PlayerFirst; Set %shotgunlimit% 3
On Say;Not Protected;Not MapMode GunMaster;PlayerFirst; Set %shotgunlimit% 3

# KILL CHECK - RESERVE SHOTGUN-SLOT AFTER SHOTGUN KILL - NO FREE SLOT THAN KILL + MESSAGE        #######
On Kill;Not Protected;Damage Shotgun;Not MapMode GunMaster;
    If %server_global_shotguns[%ptk%]% >= %shotgunlimit%; If %server_global_playershotgunstatus[%p%][%ptk%]% != 1; TeamSay SHOTGUN-LIMIT: %p% was KILLED by shotgun limit (max %shotgunlimit% shotguns each team). Type !shotgun; PlayerYell KILLED by shotgun limit; Kill 100
    If %server_global_shotguns[%ptk%]% < %shotgunlimit%; If %server_global_playershotgunstatus[%p%][%ptk%]% != 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 1; Incr %server_global_shotguns[%ptk%]%; TeamSay SHOTGUN-LIMIT: %p% have a shotgun slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%); PlayerSay SHOTGUN-LIMIT: Allowed weapons: Shotgun, Pistol, Nades, Knife; PlayerYell YOU HAVE A SHOTGUN SLOT

# MAKE SHOTGUN-SLOT FREE AFTER NO SHOTGUN KILL - (allowed kills with shotgun slot: Shotgun, Pistole, Nades, Knife, Vehicles...)        #######
On Kill;Not Protected;Not MapMode GunMaster;Not Damage Shotgun;Not Damage Explosive;Not Damage Handgun;Not Damage Melee;Not Damage VehicleWater;Not Damage VehicleAir;Not Damage VehicleStationary;Not Damage VehiclePersonal;Not Damage VehicleTransport;Not Damage VehicleLight;Not Damage VehicleHeavy; Not Weapon U_M67,U_Grenade_RGO,U_V40,U_M34,DamageArea,SoldierCollision,Death,RoadKill,VehicleUpsideDown,Suicide,U_BallisticShield,U_SUAV; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 0; Decr %server_global_shotguns[%ptk%]%; TeamSay SHOTGUN-LIMIT: %p% gave up his shotgun slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%); Log DEBUG SHOTGUN-LIMIT: Player %p% killed %v% with WeaponID %wk% (lost shotgun slot); PlayerYell You lost your shotgun slot
On Leave;Not Protected;Not MapMode GunMaster; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 0; Decr %server_global_shotguns[%ptk%]%; TeamSay SHOTGUN-LIMIT: %p% gave up his shotgun slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%)

# SERVER LEAVE + TEAM SWITCH CHECK        #######
On Spawn;Not Protected;Not MapMode GunMaster;
    if %ptk% != 0; if %server_global_playershotgunstatus[%p%][0]% == 1; Set %server_global_playershotgunstatus[%p%][0]% 0; PlayerSay SHOTGUN-LIMIT: You lost your shotgun slot (Team-Switch); PlayerYell You lost your shotgun slot
    if %ptk% != 1; if %server_global_playershotgunstatus[%p%][1]% == 1; Set %server_global_playershotgunstatus[%p%][1]% 0; PlayerSay SHOTGUN-LIMIT: You lost your shotgun slot (Team-Switch); PlayerYell You lost your shotgun slot
    if %ptk% != 2; if %server_global_playershotgunstatus[%p%][2]% == 1; Set %server_global_playershotgunstatus[%p%][2]% 0; PlayerSay SHOTGUN-LIMIT: You lost your shotgun slot (Team-Switch); PlayerYell You lost your shotgun slot
    if %ptk% != 3; if %server_global_playershotgunstatus[%p%][3]% == 1; Set %server_global_playershotgunstatus[%p%][3]% 0; PlayerSay SHOTGUN-LIMIT: You lost your shotgun slot (Team-Switch); PlayerYell You lost your shotgun slot
On Leave;Not Protected;Not MapMode GunMaster; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 0; Decr %server_global_shotguns[%ptk%]%; TeamSay SHOTGUN-LIMIT: %p% gave up his shotgun slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%)

# !shotgun IN-GAME-CHAT COMMAND        #######
On Say;Text !shotgun;Not Protected;Not MapMode GunMaster; TeamSay SHOTGUN-LIMIT: Shotguns are limited on MAP LOCKER.; TeamSay SHOTGUN-LIMIT: Currently: %server_global_shotguns[%ptk%]% of %shotgunlimit% for your team; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; PlayerSay SHOTGUN-LIMIT: You have a shotgun slot! Allowed weapons: Shotgun, Pistol, Nades, Knife
Sniper/DMR Limit

Code:

##### SNIPER LIMIT #####

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

# SNIPER LOG MESSAGES
On Spawn;Not Protected;Not MapMode GunMaster; If %server_sl_sniper[%p%]% == 1;Log Sniper %pt% %p% re-spawned. %server_sl_total[%ptk%]% snipers on team %ptk%
On Kill;Not Protected;Not MapMode GunMaster; 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;Not MapMode GunMaster;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%

# FREE UP SNIPER SLOT IF SNIPER HAS NON-SNIPER KILL OR SNIPER LEAVES 
On Kill;Not Protected;Not MapMode GunMaster;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;Not MapMode GunMaster; 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;Not MapMode GunMaster
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;Not MapMode GunMaster;
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;Not MapMode GunMaster;
    PlayerSay SNIPERS: Team 1: %server_sl_total[1]%/%server_sniperlimit%, Team 2: %server_sl_total[2]%/%server_sniperlimit%
For your other request on restricting vehicle weapons, it cannot be done with ProconRulz but with Loadout Enforcer. For troubleshooting any problems youre having with that plugin, refer to its original thread to ask for help: myrcon.net/.../on-spawn-loadout-enforcer-for-infantryvehicles-adkatslrt
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ty_ger07*:

 

sorry i dont get it , did you mean the code that i requested alrdy posted in this pages? it have 577 page to look up through tho ..

Yes. How could I be any clearer? You don't need to look through 577 pages. Like I said, you only need to look at the last 2 pages. Again, how could I have written any clearer?

 

Look similar to your question? On page 576:

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.

I wasn't saying "shame on you for posting". I was saying "yes there is an answer and I will tell you where it is". Rather than look where I told you to look...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by AlcaGamerZ*:

 

Hello AlcaGamerZ,

 

Heres the Shotgun Limit and Sniper/DMR Limit excluding VIP/ReservedSlots and GunMaster gamemode:

 

Shotgun Limit

Code:

# Shotgun Limit (2 pro Team)    ##########################
# IMPORTANT: HERE YOU CAN SET THE # OF SHOTGUN SLOT EACH TEAM:        #######
On Spawn;Not Protected;Not MapMode GunMaster;PlayerFirst; Set %shotgunlimit% 3
On Say;Not Protected;Not MapMode GunMaster;PlayerFirst; Set %shotgunlimit% 3

# KILL CHECK - RESERVE SHOTGUN-SLOT AFTER SHOTGUN KILL - NO FREE SLOT THAN KILL + MESSAGE        #######
On Kill;Not Protected;Damage Shotgun;Not MapMode GunMaster;
    If %server_global_shotguns[%ptk%]% >= %shotgunlimit%; If %server_global_playershotgunstatus[%p%][%ptk%]% != 1; TeamSay SHOTGUN-LIMIT: %p% was KILLED by shotgun limit (max %shotgunlimit% shotguns each team). Type !shotgun; PlayerYell KILLED by shotgun limit; Kill 100
    If %server_global_shotguns[%ptk%]% < %shotgunlimit%; If %server_global_playershotgunstatus[%p%][%ptk%]% != 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 1; Incr %server_global_shotguns[%ptk%]%; TeamSay SHOTGUN-LIMIT: %p% have a shotgun slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%); PlayerSay SHOTGUN-LIMIT: Allowed weapons: Shotgun, Pistol, Nades, Knife; PlayerYell YOU HAVE A SHOTGUN SLOT

# MAKE SHOTGUN-SLOT FREE AFTER NO SHOTGUN KILL - (allowed kills with shotgun slot: Shotgun, Pistole, Nades, Knife, Vehicles...)        #######
On Kill;Not Protected;Not MapMode GunMaster;Not Damage Shotgun;Not Damage Explosive;Not Damage Handgun;Not Damage Melee;Not Damage VehicleWater;Not Damage VehicleAir;Not Damage VehicleStationary;Not Damage VehiclePersonal;Not Damage VehicleTransport;Not Damage VehicleLight;Not Damage VehicleHeavy; Not Weapon U_M67,U_Grenade_RGO,U_V40,U_M34,DamageArea,SoldierCollision,Death,RoadKill,VehicleUpsideDown,Suicide,U_BallisticShield,U_SUAV; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 0; Decr %server_global_shotguns[%ptk%]%; TeamSay SHOTGUN-LIMIT: %p% gave up his shotgun slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%); Log DEBUG SHOTGUN-LIMIT: Player %p% killed %v% with WeaponID %wk% (lost shotgun slot); PlayerYell You lost your shotgun slot
On Leave;Not Protected;Not MapMode GunMaster; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 0; Decr %server_global_shotguns[%ptk%]%; TeamSay SHOTGUN-LIMIT: %p% gave up his shotgun slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%)

# SERVER LEAVE + TEAM SWITCH CHECK        #######
On Spawn;Not Protected;Not MapMode GunMaster;
    if %ptk% != 0; if %server_global_playershotgunstatus[%p%][0]% == 1; Set %server_global_playershotgunstatus[%p%][0]% 0; PlayerSay SHOTGUN-LIMIT: You lost your shotgun slot (Team-Switch); PlayerYell You lost your shotgun slot
    if %ptk% != 1; if %server_global_playershotgunstatus[%p%][1]% == 1; Set %server_global_playershotgunstatus[%p%][1]% 0; PlayerSay SHOTGUN-LIMIT: You lost your shotgun slot (Team-Switch); PlayerYell You lost your shotgun slot
    if %ptk% != 2; if %server_global_playershotgunstatus[%p%][2]% == 1; Set %server_global_playershotgunstatus[%p%][2]% 0; PlayerSay SHOTGUN-LIMIT: You lost your shotgun slot (Team-Switch); PlayerYell You lost your shotgun slot
    if %ptk% != 3; if %server_global_playershotgunstatus[%p%][3]% == 1; Set %server_global_playershotgunstatus[%p%][3]% 0; PlayerSay SHOTGUN-LIMIT: You lost your shotgun slot (Team-Switch); PlayerYell You lost your shotgun slot
On Leave;Not Protected;Not MapMode GunMaster; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; Set %server_global_playershotgunstatus[%p%][%ptk%]% 0; Decr %server_global_shotguns[%ptk%]%; TeamSay SHOTGUN-LIMIT: %p% gave up his shotgun slot (%server_global_shotguns[%ptk%]%/%shotgunlimit%)

# !shotgun IN-GAME-CHAT COMMAND        #######
On Say;Text !shotgun;Not Protected;Not MapMode GunMaster; TeamSay SHOTGUN-LIMIT: Shotguns are limited on MAP LOCKER.; TeamSay SHOTGUN-LIMIT: Currently: %server_global_shotguns[%ptk%]% of %shotgunlimit% for your team; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; PlayerSay SHOTGUN-LIMIT: You have a shotgun slot! Allowed weapons: Shotgun, Pistol, Nades, Knife
Sniper/DMR Limit

Code:

##### SNIPER LIMIT #####

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

# SNIPER LOG MESSAGES
On Spawn;Not Protected;Not MapMode GunMaster; If %server_sl_sniper[%p%]% == 1;Log Sniper %pt% %p% re-spawned. %server_sl_total[%ptk%]% snipers on team %ptk%
On Kill;Not Protected;Not MapMode GunMaster; 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;Not MapMode GunMaster;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%

# FREE UP SNIPER SLOT IF SNIPER HAS NON-SNIPER KILL OR SNIPER LEAVES 
On Kill;Not Protected;Not MapMode GunMaster;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;Not MapMode GunMaster; 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;Not MapMode GunMaster
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;Not MapMode GunMaster;
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;Not MapMode GunMaster;
    PlayerSay SNIPERS: Team 1: %server_sl_total[1]%/%server_sniperlimit%, Team 2: %server_sl_total[2]%/%server_sniperlimit%
For your other request on restricting vehicle weapons, it cannot be done with ProconRulz but with Loadout Enforcer. For troubleshooting any problems youre having with that plugin, refer to its original thread to ask for help: myrcon.net/.../on-spawn-loadout-enforcer-for-infantryvehicles-adkatslrt
i'll try it out later on . do you mean exclude the vip is that it will follow the Reserve list in the server and the limit will not kill those list if they are at limit? . Aslo , as i read the script/codes . what i understand is that is it the shotgunlimit only apply in Locker map? and sniperlimit is apply in all map ?
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by AlcaGamerZ*:

 

Yes. How could I be any clearer? You don't need to look through 577 pages. Like I said, you only need to look at the last 2 pages. Again, how could I have written any clearer?

 

Look similar to your question? On page 576:

 

 

I wasn't saying "shame on you for posting". I was saying "yes there is an answer and I will tell you where it is". Rather than look where I told you to look...

i'm sorry , i'm not good with english . i do can talk english but my grammar and understanding is just wrong sometimes . thnks for the help anyway
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by Dete96*:

 

i'll try it out later on . do you mean exclude the vip is that it will follow the Reserve list in the server and the limit will not kill those list if they are at limit? . Aslo , as i read the script/codes . what i understand is that is it the shotgunlimit only apply in Locker map? and sniperlimit is apply in all map ?

Hi!

The VIPs are not affected by the limits if you chose at ProConRulz setup "protect these players from kick or kill" --> "admins and reserved slots"

 

Don't worry, both limits will work for all maps and all modes except gunmaster (which wouldn't make much sense).

 

Have fun!

Dete96

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

Originally Posted by Dete96*:

 

Now I see what you mean:

 

# !shotgun IN-GAME-CHAT COMMAND #######

 

On Say;Text !shotgun;Not Protected;Not MapMode GunMaster; TeamSay SHOTGUN-LIMIT: Shotguns are limited on MAP LOCKER.; TeamSay SHOTGUN-LIMIT: Currently: %server_global_shotguns[%ptk%]% of %shotgunlimit% for your team; If %server_global_playershotgunstatus[%p%][%ptk%]% == 1; PlayerSay SHOTGUN-LIMIT: You have a shotgun slot! Allowed weapons: Shotgun, Pistol, Nades, Knife

This:

 

TeamSay SHOTGUN-LIMIT: Shotguns are limited on MAP LOCKER

 

has nothing to do with the limit. It just is a text the team gets when a player of that team typed "!shotgun".

Just change it to whatever you want. Maybe just: "TeamSay SHOTGUN-LIMIT: Shotguns are limited!"

 

I hope that helped!

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

Originally Posted by AlcaGamerZ*:

 

Now I see what you mean:

 

 

 

This:

 

TeamSay SHOTGUN-LIMIT: Shotguns are limited on MAP LOCKER

 

has nothing to do with the limit. It just is a text the team gets when a player of that team typed "!shotgun".

Just change it to whatever you want. Maybe just: "TeamSay SHOTGUN-LIMIT: Shotguns are limited!"

 

I hope that helped!

Thanks for the info . i'll try it out right now
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by AlcaGamerZ*:

 

Tell us exactly how the error accoured (what were you doing when u noticed it wasnt working), which part did not worked properly, did you get any error code in Procon plugin console, etc.

i tried doing !sniper and !shotgun on the server . first i tried out before the game started but then i tried when the game started . as i alrdy copy the code and change the value of shotgun and sniperlimit to 5 slot per team . then i try to do the command in the game !sniper and !shotgun nothing happen ...
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BuRockK*:

 

What i need to know is the technical side of this problem. Using an in-game command and stating it did nothing doesnt help. Try typing !sniper in game after the round has started. Then check procon plugin console for anything related to ProconRulz output on that console (You might need to change your ProconRulz debug settings higher so it will output anything triggered thats in ProconRulz).

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

Originally Posted by AlcaGamerZ*:

 

What i need to know is the technical side of this problem. Using an in-game command and stating it did nothing doesnt help. Try typing !sniper in game after the round has started. Then check procon plugin console for anything related to ProconRulz output on that console (You might need to change your ProconRulz debug settings higher so it will output anything triggered thats in ProconRulz).

Screenshot_23.png , did you mean this?

 

i do notice you can set the proconrulz report to pluginconsole or console but where actually pluginconsole ? under the plugin ? if so , when i did that i says nothing i'll provide a screenshot later on when i'm back .

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

Originally Posted by AlcaGamerZ*:

 

Screenshot_23.png , did you mean this?

 

i do notice you can set the proconrulz report to pluginconsole or console but where actually pluginconsole ? under the plugin ? if so , when i did that i says nothing i'll provide a screenshot later on when i'm back .

this is the one with the PluginConsole maybe ? i tried doing !knife just to make sure ProconRulz does pickup my command . after then i try !shotgun and !sniper but nothing appears Screenshot_24.png
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by BuRockK*:

 

The second screenshot is from plugin console yes. Also, before testing out the commands, set "Trace rules" option to Yes. This will output anything happening in your server that is related to ProconRulz (Select "PluginConsole" for the option "Send ProconRulz Log messages to:")

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

Originally Posted by AlcaGamerZ*:

 

The second screenshot is from plugin console yes. Also, before testing out the commands, set "Trace rules" option to Yes. This will output anything happening in your server that is related to ProconRulz (Select "PluginConsole" for the option "Send ProconRulz Log messages to:")

oh i see , here it's i disabled all plugin just to make sure i didn't confuse with other plugin reports , how do i send you a long text? do i need to screenshot it? . anyway here is the result for what i done . do you need me to make another test for when the round start?

(this result is not when the round is started)Screenshot_27.png

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

Originally Posted by AlcaGamerZ*:

 

oh i see , here it's i disabled all plugin just to make sure i didn't confuse with other plugin reports , how do i send you a long text? do i need to screenshot it? . anyway here is the result for what i done . do you need me to make another test for when the round start?

(this result is not when the round is started)Screenshot_27.png

here is a screenshot when the round alrdy started .

 

Screenshot_28.png

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

Originally Posted by BuRockK*:

 

Dont know why you would type !knife to get/view shotgun slots, but as it is shown in the screenshot, your name is not "not protected", admins also counts as protected. Try with an unprotected player name and it should work

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