Get an Epic Experience with Premium

Van32's InactivityWatch

Guild Login to Add Favorites
  • 1 Like
  • World of Warcraft
  • 11 Monthly Downloads
  • Supports: 5.1.0
  • 926 Total Downloads
  • Updated 02/11/2013
  • Created 04/28/2012
  • 3 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: Creative Commons Attribution-ShareAlike 3.0 Unported License
  • Newest File: release_v1.6.5
or
Support development! **
Donate

About Van32's InactivityWatch

Updates!

The latest version of InactivityWatch attempts to fix a potential UI taint issue, where when a popup message would show up, it could potenially taint the user's talents/glyphs frame

About

Ever looked for a way to keep track of inactive guild members in an easy way? Here's the answer for you... InactivityWatch is designed to help manage inactive guildies.

Depending on your settings, this addon can help you keep track of inactive members by demoting them to the lowest rank in your guild, or even removing them from your guild entirely. (An example of a more complicated setup would have InactivityWatch remove only inactive recruits, by disabling the 'inactive demote' threshold and setting only a ban threshold with banlowestonly turned on.)

On top of all that, you can use any custom flags you want. Just put a § (Use ALT+0167 on your keyboard if the symbol's not already there.) in their officer's note, followed by whatever letter/number/character you want, and it will do what you told it to do. (For instructions on how to set up a custom flag, just look inside the addon's FlagDef.lua) It comes with three built-in flags:

FlagDescription
§0The addon will completely ignore this player.
§fThe addon will force this player to the lowest rank
§U(Internal), This is set by the addon on anyone who uses it.

Slash Commands

Here's a quick rundown on how to set up "GRUpdate" (Short for GuildRosterUpdate, this is what it's called in the code). We'll call it that here, because it makes our slash command easier to remember.

The base command for GRUpdate is /gru. From there, we have this: (Optional arguments in [])

CommandArgumentsEffect
help(none)Show the ingame help
toggle(none)Turn GRUpdate on or off
testmode(none)Enables a mode where the addon will not make changes to the guild roster.
Think of it as a safe mode to try out your new settings, where it still reports changes, but doesn't actually make them. This is enabled the first time you run the addon.
banlowestonly(none)Toggles removal of the lowest-ranked members only.
time(none)Show how long until the next roster scan
threshold[-i|-b] daysChange the activity and inactivity thresholds.
Just entering the days will change the active threshold (-1 disables this feature. Default is 10 days)
Using -i will set the inactivity threshold. (-1 disables this feature. Default is 180 days [6 months])
Using -b will set the ban threshold. (-1 disables this feature. Disabled by default.)
timeoutmin|max mm:ssChange the time range that GRUpdate will try to use between updates. Changing this setting isn't recommended unless you understand how it works.
update(none)Force the addon to run a roster update. Please use sparingly, as this can cause high server, CPU and Memory load while updating larger rosters
stats(none)Count out and show the number of people who meet the criteria for activity and inactivity.
savedata(none)Toggle saving the last rank of demoted players.
debug(none)Toggle debug mode. (While in debug mode, changes are not made to the roster, only printed to chat, which makes it useful for testing new configs.)
This setting is not saved between sessions, and is set automatically for alpha builds of GRUpdate
chatframeframeAllows you to specify a frame where GRUpdate will print messages. (Frame must have AddMessage method, and name is case-sensitive)

Default Settings

Here's the exact default settings table copied right from the addon's source code. (This looks a lot nicer on Curseforge)

-- The default settings
-- Timeouts are defined first by minutes range, then seconds range. Not specific time periods.
-- EX. If you set MaxTimeout to 30:30, you'll never get a timeout like 20:45
local settingsDefault = {
	SV_Ver = "1",		--Settings Version (Change this to force a settings reset)
	Enabled = true,		-- Enabled
	SavePlayerData = true,	-- Save Player Data? If false, don't save the last ranks of players when demoting
	BanLowestOnly = true,	-- Ban the lowest-ranked players only.
	MinTimeout = {10,0},	-- The minimum timeout time between updates (10 minutes 0 seconds)
	MaxTimeout = {59,59},	-- The maximum timeout time between updates (59 minutes 59 seconds)
	Thresholds = {			-- The times the addon looks for in active members
		Active = 10,		-- Be active in the last X days to be restored
		Inactive = 180,		-- Be inactive for this long to be demoted.
		Ban = -1,			-- Be inactive for this long to be gkicked.
	},
	ChatFrame = "DEFAULT_CHAT_FRAME",	-- The chat frame where we print messages
	PlayerData = {},		-- Irrelavent, this stores the last ranks and names of players demoted.
}

WARNING

MISCONFIGURING THIS ADDON CAN HAVE DISASTROUS CONSEQUENCES ON YOUR GUILD. I CANNOT BE HELD RESPONSIBILE FOR ANY MISHAPS BECAUSE OF MISCONFIGURATION. BE SURE TO RUN THE ADDON IN TEST MODE IF YOU WISH TO TEST CHANGES. To run the addon in test mode, just type /gru testmode and hit enter. Once in test mode, the addon won't make changes to the guild, but will show you the changes it wanted to make.

Please Note

This addon is not designed for more than one person in a guild to run it... The results of having multiple people of the same guild using the addon haven't been tested, but due to the nature of the addon, could cause conflicts of interest between guild members and settings.

------------------------------------------------------------------------
r78 | vandesdelca32 | 2013-02-12 04:01:24 +0000 (Tue, 12 Feb 2013) | 1 line
Changed paths:
   A /tags/release_v1.6.5 (from /trunk:77)

Tagging latest build.
------------------------------------------------------------------------
r77 | vandesdelca32 | 2013-02-12 03:57:26 +0000 (Tue, 12 Feb 2013) | 1 line
Changed paths:
   M /trunk/.pkgmeta
   M /trunk/core.lua

Attempting to remove StaticPopup taint.
------------------------------------------------------------------------

Comments

  • #5

    Does this still work?

  • #6

    Should still work, I don't have a guild to maintain any more, so I can't really test it, sorry.

    Make sure that /gru testmode is on before you change things :D

    Last edited by Vandesdelca32 on 7/11/2013 11:45:52 PM

    -- Vandesdelca32
    -- Andaendis @ Wyrmrest Accord

  • #3

    Hi there, the demotion to inactive rank after x days is exactly what I was looking for! Thank you so much for this addon! Is there a way to set the active to off? The reason we demote inactive members is for security, so we can ensure it is the member and not a hacker when they return after a long period of inactivity before restoring his/her prior rank and access to the guild bank, etc. I'm sure we are not the only ones, so this would be a great feature. Smile

    Last edited by msdawg on 9/24/2012 6:44:16 PM
  • #4

    Since you asked so nicely, I will have to add that as a feature! It won't take too long at all.

    -- Vandesdelca32
    -- Andaendis @ Wyrmrest Accord

  • #1

    Just one quick question, and yes, probably going to look stupid too, but you state ' time they've spent offline goes over your defined threshold...' can't see how to set the threshold other than using '/gru threshold' which I get to see no mention of what the 'current threshold' is (prior to my changing it).  Also some explaination of what format the threshold is in would help me enormously, is it months, days, years, minutes... or something else? :) 

  • #2

    The slash command's exact parameters are /gru threshold [-i] days. So, as you can imagine, it is the number of days inactive (Average of (years * 365) + (months * 30) + days + (hours / 24)).

    The default thresholds are 10 days for active and 180 days for inactive... I never bothered to write documentation on how to use the addon, I feel especially lazy now. 

    -- Vandesdelca32
    -- Andaendis @ Wyrmrest Accord

  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Minecontest - Win a 2013 Minecon Cape!