Quantcast
Download
(6 Kb)
Download
Updated: 05/28/20 03:03 PM
Pictures
File Info
Compatibility:
Greymoor (6.0.5)
Updated:05/28/20 03:03 PM
Created:03/20/20 05:03 PM
Monthly downloads:130
Total downloads:924
Favorites:3
MD5:
Categories:Group, Guild & Friends, Chat Mods
6.0.5
Auto Recruit
Version: 2.6.1
by: peniku8 [More]
This small addon provides useful functionality for guildmasters, officers and dedicated recruiters.
The addon can paste recruitment ads via hotkeys, automatically invite players to your guild of choice when they whisper you a certain keyword and it can post welcome messages.



AutoRecruit's Features:

Main functions:
- Automatically invite players to a guild on recieved whispers
- Save a recruitment message for every guild you're in and
- Keybind-post recruitment messages to the zone chat
- (The auto-invite switches to that guild automatically)
- Automatically post welcome messages and also
- Removes the welcome message from your text field, if somebody else already posted it
- Configurable welcome message cooldown, to prevent spamming
Chat notifications:
- Somebody has been invited to or joined your guild
- Free spots of your guild after somebody joined
- Warning when your guild has less than a set amount of free spots left
- The guild you are recruiting for does not have a guild trader
- Chat alerts for all guilds configurable
2.6.1
-Fixed the chat clear when somebody else posts the welcome message

2.6.0
-API Bump
-Minor optimizations

2.5.4
-More Bugfixes!

2.5.3
-Bugfixes

2.5.2
-The welcome message now doesn't disturb you anymore when you're typing already

2.5.1
-Bugfixes

2.5
-Added functionality to save and auto-paste welcome messages for up to 5 guilds
-Added functionality to set up a cooldown for the welcome message
-Added functionality to clear your text input window when somebody else posts the welcome message
-Minor code improvements
Quit the game and delete the "AutoRecruit.lua" file under C:\Users\%USERNAME%\Documents\Elder Scrolls Online\live\SavedVariables if you get an error. The settings file needs to fresh!

2.4.3
-Posting a recruitment message will now automatically select the zone chat
If your ad begins with /z, you need to remove that or the text will not post


2.4.2
-Added functionality to save and keybind-paste recruitment messages for up to 5 guilds
-Added auto-switch to invite for the guild you're posting an ad for
-Minor fixes and improvements
-to-do list: figure out how to increase the size of the text box to not visually clip longer ads


2.3
-Added options to enable chat notifications for other guilds as well
-Regrouped some settings


2.2
-Customizable space alert
-Minor fixes and improvements


2.1
-Public release
Archived Files (10)
File Name
Version
Size
Uploader
Date
2.6.0
6kB
peniku8
05/27/20 02:46 PM
2.5.4
6kB
peniku8
05/05/20 08:19 AM
2.5.2
6kB
peniku8
05/03/20 03:13 PM
2.5.1
6kB
peniku8
05/01/20 06:18 PM
2.5
6kB
peniku8
05/01/20 05:28 PM
2.4.3
5kB
peniku8
04/01/20 07:50 AM
2.4.2
5kB
peniku8
03/29/20 05:32 PM
2.3
5kB
peniku8
03/22/20 02:06 PM
2.2
4kB
peniku8
03/21/20 12:55 PM
2.1
5kB
03/20/20 05:03 PM


Post A Reply Comment Options
Unread 03/21/20, 12:52 PM  
peniku8
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 2
Originally Posted by Baertram
Hey there
I have now substituted the global variable "AR" for "AutoRecruit" and linked a local "AR" to the global var.
I have also replaced the LibStub as you said. The example options on the libaddonmenu2 got me confused, since those still have the "LibStub" in it.
Report comment to moderator  
Reply With Quote
Unread 03/21/20, 10:02 AM  
peniku8
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 2
Originally Posted by Baertram
Hey there,

thanks for the addon but a few things you should/must change:

1. AR as global variable is too short! There might be several other addons already using an local AR variable which you will overwrite then. Please use as global variables longer ones, like AutoRecrute which won't be polluting the global namespace and overwriting others. You can use local AR = AutoRecrute in your addon to use AR in your code then.

2. LibStub is obsolete so please do not use it anymore if the libraries you use can work wirthout it!
LibAddonMenu provides a global variable LibAddonMenu2
So please change this:
Code:
  local menu = LibStub("LibAddonMenu-2.0")
To this:
Code:
  local menu = LibAddonMenu2
And in your txt file add the version where the global variable LibAddonMenu2 was added (28) to the dependsOn tag:

Code:
## DependsOn: LibAddonMenu-2.0>=28
This assures the lib is needed and loaded with version 28 or higher in oder to access theg lobal variable. Else older versions would be allowed too but the global var is missing and your addon's menu would fail to create.

This info about the global var, LibStub and the verison of the lib needed applies to about all major libraries! So if you got other addons using libs please change them to strip LibStub and load via their global vars now!
Thanks a lot for the info! I'll look into it
Report comment to moderator  
Reply With Quote
Unread 03/21/20, 06:13 AM  
Baertram
 
Baertram's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2982
File comments: 3603
Uploads: 62
Hey there,

thanks for the addon but a few things you should/must change:

1. AR as global variable is too short! There might be several other addons already using an local AR variable which you will overwrite then. Please use as global variables longer ones, like AutoRecrute which won't be polluting the global namespace and overwriting others. You can use local AR = AutoRecrute in your addon to use AR in your code then.

2. LibStub is obsolete so please do not use it anymore if the libraries you use can work wirthout it!
LibAddonMenu provides a global variable LibAddonMenu2
So please change this:
Code:
  local menu = LibStub("LibAddonMenu-2.0")
To this:
Code:
  local menu = LibAddonMenu2
And in your txt file add the version where the global variable LibAddonMenu2 was added (28) to the dependsOn tag:

Code:
## DependsOn: LibAddonMenu-2.0>=28
This assures the lib is needed and loaded with version 28 or higher in oder to access theg lobal variable. Else older versions would be allowed too but the global var is missing and your addon's menu would fail to create.

This info about the global var, LibStub and the verison of the lib needed applies to about all major libraries! So if you got other addons using libs please change them to strip LibStub and load via their global vars now!
Last edited by Baertram : 03/21/20 at 06:14 AM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: