NiGHT757 / AFKManager

A simple AFK Manager plugin for CS2.
56 stars 10 forks source link

Whitelist improvements during AFK verification #3

Closed crashzk closed 10 months ago

crashzk commented 10 months ago

It would be possible to make all players pass the check to be moved to SPEC if they are AFK, but for them to be kicked from the server even if they are AFK from SPEC only if the player is not on the whitelist.

In other words, all players can be moved to SPEC if they are AFK and if they continue AFK in SPEC, if the player is not on the whitelist, he will be kicked from the server.

NiGHT757 commented 10 months ago

It would be possible to make all players pass the check to be moved to SPEC if they are AFK, but for them to be kicked from the server even if they are AFK from SPEC only if the player is not on the whitelist.

In other words, all players can be moved to SPEC if they are AFK and if they continue AFK in SPEC, if the player is not on the whitelist, he will be kicked from the server.

I think i'll just add 2 more options in config for whitelist. "WhiteListUsers": { "76561198143759075": { "SkipAFK": true, "SkipSPEC": false } } SkipAFK - will skip AFK verification. SkipSPEC - will skip those who are on the SPEC team. ( for future updates ) What do you think?

crashzk commented 10 months ago

It would be possible to make all players pass the check to be moved to SPEC if they are AFK, but for them to be kicked from the server even if they are AFK from SPEC only if the player is not on the whitelist. In other words, all players can be moved to SPEC if they are AFK and if they continue AFK in SPEC, if the player is not on the whitelist, he will be kicked from the server.

I think i'll just add 2 more options in config for whitelist. "WhiteListUsers": { "76561198143759075": { "SkipAFK": true, "SkipSPEC": false } } SkipAFK - will skip AFK verification. SkipSPEC - will skip those who are on the SPEC team. ( for future updates ) What do you think?

Perfect, I believe this helps a lot.

NiGHT757 commented 10 months ago

It would be possible to make all players pass the check to be moved to SPEC if they are AFK, but for them to be kicked from the server even if they are AFK from SPEC only if the player is not on the whitelist. In other words, all players can be moved to SPEC if they are AFK and if they continue AFK in SPEC, if the player is not on the whitelist, he will be kicked from the server.

I think i'll just add 2 more options in config for whitelist. "WhiteListUsers": { "76561198143759075": { "SkipAFK": true, "SkipSPEC": false } } SkipAFK - will skip AFK verification. SkipSPEC - will skip those who are on the SPEC team. ( for future updates ) What do you think?

Perfect, I believe this helps a lot.

Ready I hope :)