splewis / csgo-pug-setup

CS:GO Sourcemod plugin for setting up private pug/10man games
GNU General Public License v3.0
412 stars 90 forks source link

Custom kick immunity flag in pugsetup_autokicker #326

Open IshaanKr opened 4 years ago

IshaanKr commented 4 years ago

Right now, we can enable if we can immune admins or not

Can we immune only certains players having flag "b" or flag "o" or any other custom flag

splewis commented 4 years ago

Doesn't sm_pugsetup_admin_flag do this?

splewis commented 4 years ago

https://github.com/splewis/csgo-pug-setup/blob/master/scripting/pugsetup_autokicker.sp#L51-L53

IshaanKr commented 4 years ago

thing is I want certain players (my friends) to immune from auto kick but I dont want to give them admin rights

splewis commented 4 years ago

You could use a custom admin flag: https://wiki.alliedmods.net/Adding_Admins_(SourceMod)#Levels. Then they won't have admin rights.

IshaanKr commented 4 years ago

// Admin flag to mark players as having elevated permissions - e.g. can always pause,setup,end the game, etc. // - // Default: "b" sm_pugsetup_admin_flag "b"

If I change that to this custom flag let say "t" and the players having flag "t" will not get kicked and doesnt have admin rights now? But it says "Admin flag to mark players as having elevated permissions" ??

Anything I am misunderstanding?

splewis commented 4 years ago

Ah, yes, I see. You want immunity without extra command powers. Yeah, you can't do that right now. A new cvar in the autokicker plugin would be fine with me.

On Sun, Apr 12, 2020, 11:35 PM Ishaan Kumar notifications@github.com wrote:

// Admin flag to mark players as having elevated permissions - e.g. can always pause,setup,end the game, etc. // - // Default: "b" sm_pugsetup_admin_flag "b"

If I change that to this custom flag let say "t" and the players having flag "t" will not get kicked and doesnt have admin rights now? But it says "Admin flag to mark players as having elevated permissions" ??

Anything I am misunderstanding?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/splewis/csgo-pug-setup/issues/326#issuecomment-612773286, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAORUVQXJQRCVAHD7NJKCCLRMKXCHANCNFSM4MFP5P2A .

IshaanKr commented 4 years ago

Yes I want immunity without the players having extra powers. So can we expect this in future? Add to to do list?