Raised This Month: $66 Target: $400
 16% 

[ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)


Post New Thread Reply   
 
Thread Tools Display Modes
Effeff
AlliedModders Donor
Join Date: Jan 2019
Location: discord: ff#0533
Old 05-30-2020 , 10:54   Re: [ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)
Reply With Quote #2031

Quote:
Originally Posted by foxsay View Post
this plugin always worked for me but now for some reason when i use this plugin It's mess up spawnpoints on first join on the map. anyone experienced this before?

EDIT:

If someone use this plugin skillautobalance - https://forums.alliedmods.net/showthread.php?t=316478 it will conflict with afk manager and will mess up your server spawnpoints
I do not think it is related to afk manager at all, it is just a bug with my plugin. You say you have done testing in your reply in the thread you link, can you explain what testing you did?

I have the same bug and I always had both afk manager and my plugin enabled. I will try with my plugin alone and afk manager disabled for awhile and see if any players report seeing the bug. If it does still happen then it is confirmed only my plugin's fault.

edit: Confirmed unrelated to afk manager.

Last edited by Effeff; 05-31-2020 at 02:28.
Effeff is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 05-30-2020 , 14:38   Re: [ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)
Reply With Quote #2032

@Rothgar can you help me with this doubt?

AFK Manager has the option to kick players and move to spec, so far so good.

Configuring the cvar I found two about moving to spec and I was in doubt, they are:
PHP Code:
// Should the AFK Manager move AFK clients to spectator team? [0 = FALSE, 1 = TRUE, DEFAULT: 1]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_move_spec "1"

// Time in seconds (total) client must be AFK before being moved to spectator. [0 = DISABLED, DEFAULT: 60.0 seconds]
// -
// Default: "60.0"
sm_afk_move_time "45.0" 
What would be the difference between the two? From what I saw both move the AFK players to spec, and both have the option to disable? Could you explain it better?
__________________
paulo_crash is offline
Effeff
AlliedModders Donor
Join Date: Jan 2019
Location: discord: ff#0533
Old 05-30-2020 , 19:10   Re: [ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)
Reply With Quote #2033

Quote:
Originally Posted by paulo_crash View Post
@Rothgar can you help me with this doubt?

AFK Manager has the option to kick players and move to spec, so far so good.

Configuring the cvar I found two about moving to spec and I was in doubt, they are:
PHP Code:
// Should the AFK Manager move AFK clients to spectator team? [0 = FALSE, 1 = TRUE, DEFAULT: 1]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_move_spec "1"

// Time in seconds (total) client must be AFK before being moved to spectator. [0 = DISABLED, DEFAULT: 60.0 seconds]
// -
// Default: "60.0"
sm_afk_move_time "45.0" 
What would be the difference between the two? From what I saw both move the AFK players to spec, and both have the option to disable? Could you explain it better?
I am not rothgar but I think I can help.

When sm_afk_move_spec is 0, it will always be disabled.
When sm_afk_move_spec is 1, it is enabled unless sm_afk_move_time is 0. Otherwise, the move time is exactly what is said, the amount of time before a player is considered to be AFK and moved to spectate.

Last edited by Effeff; 05-30-2020 at 19:10.
Effeff is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 05-30-2020 , 19:39   Re: [ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)
Reply With Quote #2034

Quote:
Originally Posted by Effeff View Post
I am not rothgar but I think I can help.

When sm_afk_move_spec is 0, it will always be disabled.
When sm_afk_move_spec is 1, it is enabled unless sm_afk_move_time is 0. Otherwise, the move time is exactly what is said, the amount of time before a player is considered to be AFK and moved to spectate.
I understand, thank you.

Could you tell me if I can leave these options disabled, but the players with privileges would still be moved?

My servers are configured to move all players to spec and kick all non-privileged players from the servers. I would like in the case that he would move to spec only players with privileges and kick direct players without privileges. Would you like to do that in the current plugin?
__________________
paulo_crash is offline
Effeff
AlliedModders Donor
Join Date: Jan 2019
Location: discord: ff#0533
Old 06-15-2020 , 20:11   Re: [ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)
Reply With Quote #2035

I have a simple plugin that lets admins move themselves to unassigned team so they don't show on scoreboard. AFK Manager counts this as not being in spectate. If the admin doesn't "move" after time, it will move the admin to spectate.

I do not want to make admins immune. If they are actually afk I do want them to be put in spectate.

The only "related" convar I see is 'sm_afk_move_warn_unassigned', but this just hides the messages sent to the player, it doesn't stop them from being moved.

If you don't want to add this (conflict for multiple games or stuff I just don't know), that's okay - I will just add to here "if (g_iPlayerTeam[client] != g_iSpec_Team)" the Unassigned team as well.

Last edited by Effeff; 06-15-2020 at 20:22.
Effeff is offline
Sandervraun
Senior Member
Join Date: May 2019
Old 06-17-2020 , 15:54   Re: [ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)
Reply With Quote #2036

Does this plugin include a /afk command?
I like to write that instead of the old fasion way.
Sandervraun is offline
taRik
AlliedModders Donor
Join Date: Apr 2010
Old 07-09-2020 , 19:59   Re: [ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)
Reply With Quote #2037

Does anyone know how I can stop people from keep getting spammed with the warning message every 5 seconds? Or even disable the warnings completely

Quote:
// This file was auto-generated by SourceMod (v1.9.0.6260)
// ConVars for plugin "afk_manager4.smx"


// Admin Flag for immunity? Leave Blank for any flag.
// -
// Default: ""
sm_afk_admins_flag "b"

// Should admins be immune to the AFK Manager? [0 = DISABLED, 1 = COMPLETE IMMUNITY, 2 = KICK IMMUNITY, 3 = MOVE IMMUNITY]
// -
// Default: "1"
sm_afk_admins_immune "1"

// Is the AFK Manager automatic plugin update enabled or disabled? (Requires SourceMod Autoupdate plugin) [0 = FALSE, 1 = TRUE]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_autoupdate "0"

// How many button changes should the AFK Manager track before resetting AFK status? [0 = DISABLED, DEFAULT: 5]
// -
// Default: "5"
// Minimum: "0.000000"
// Maximum: "30.000000"
sm_afk_buttons "2"

// Is the AFK Manager enabled or disabled? [0 = FALSE, 1 = TRUE, DEFAULT: 1]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_enable "1"

// Should the AFK Manager exclude checking dead players? [0 = FALSE, 1 = TRUE, DEFAULT: 0]
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_exclude_dead "0"

// Should the AFK Manager force all message language to the server default? [0 = DISABLED, 1 = ENABLED, DEFAULT: 0]
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_force_language "0"

// Should the AFK Manager announce AFK kicks to the server? [0 = DISABLED, 1 = EVERYONE, 2 = ADMINS ONLY, DEFAULT: 1]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "2.000000"
sm_afk_kick_announce "1"

// Minimum number of connected clients required for AFK kick to be enabled. [DEFAULT: 6]
// -
// Default: "6"
sm_afk_kick_min_players "1"

// Should the AFK Manager kick AFK clients? [0 = DISABLED, 1 = KICK ALL, 2 = ALL EXCEPT SPECTATORS, 3 = SPECTATORS ONLY]
// -
// Default: "1"
sm_afk_kick_players "1"

// Time in seconds (total) client must be AFK before being kicked. [0 = DISABLED, DEFAULT: 120.0 seconds]
// -
// Default: "120.0"
sm_afk_kick_time "252"

// Time in seconds remaining, player should be warned before being kicked for AFK. [DEFAULT: 30.0 seconds]
// -
// Default: "30.0"
sm_afk_kick_warn_time "300"

// How many days should we keep AFK Manager log files. [0 = INFINITE, DEFAULT: 0]
// -
// Default: "0"
sm_afk_log_days "1"

// Should the AFK Manager log client kicks. [0 = FALSE, 1 = TRUE, DEFAULT: 1]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_log_kicks "1"

// Should the AFK Manager log client moves. [0 = FALSE, 1 = TRUE, DEFAULT: 1]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_log_moves "1"

// Should the AFK Manager log plugin warning messages. [0 = FALSE, 1 = TRUE, DEFAULT: 1]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_log_warnings "1"

// Should the AFK Manager announce AFK moves to the server? [0 = DISABLED, 1 = EVERYONE, 2 = ADMINS ONLY, DEFAULT: 1]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "2.000000"
sm_afk_move_announce "1"

// Minimum number of connected clients required for AFK move to be enabled. [DEFAULT: 4]
// -
// Default: "4"
sm_afk_move_min_players "2"

// Should the AFK Manager move AFK clients to spectator team? [0 = FALSE, 1 = TRUE, DEFAULT: 1]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_move_spec "0"

// Time in seconds (total) client must be AFK before being moved to spectator. [0 = DISABLED, DEFAULT: 60.0 seconds]
// -
// Default: "60.0"
sm_afk_move_time "0"

// Time in seconds remaining, player should be warned before being moved for AFK. [DEFAULT: 30.0 seconds]
// -
// Default: "30.0"
sm_afk_move_warn_time "30.0"

// Should the AFK Manager warn team 0 (Usually unassigned) players? (Disabling may not work for some games) [0 = FALSE, 1 = TRUE, DEFAULT: 1]
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_move_warn_unassigned "1"

// Should the AFK Manager use a short prefix? [0 = FALSE, 1 = TRUE, DEFAULT: 0]
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_afk_prefix_short "0"

// Time in seconds (total) that player should have moved from their spawn position. [0 = DISABLED, DEFAULT: 20.0 seconds]
// -
// Default: "20.0"
sm_afk_spawn_time "0"

// Time in seconds remaining, player should be warned for being AFK in spawn. [DEFAULT: 15.0 seconds]
// -
// Default: "15.0"
sm_afk_spawn_warn_time "300.0"

This is my config.

Last edited by taRik; 07-09-2020 at 20:01.
taRik is offline
hartii14
Junior Member
Join Date: Aug 2017
Old 08-03-2020 , 00:22   Re: [ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)
Reply With Quote #2038

Does anyone know why dead players being moved to spec and im having option for dead enabled ��
hartii14 is offline
TheMightyUnknown
Junior Member
Join Date: Jul 2020
Old 09-27-2020 , 14:08   Re: [ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)
Reply With Quote #2039

Is there a easy way to change the prefix? I want it to disaply my server name instead of .AFK manager".
TheMightyUnknown is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 09-27-2020 , 15:51   Re: [ANY] AFK Manager (Version 4.3.0 / Updated July 2nd 2018)
Reply With Quote #2040

Quote:
Originally Posted by TheMightyUnknown View Post
Is there a easy way to change the prefix? I want it to disaply my server name instead of .AFK manager".
Just by editing the source code of the plugin and compiling again.
__________________
paulo_crash is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:41.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode