Guild Tithe

Guild Tithe 2.5 Config Screen

Summary

Guild Tithe enables and automates voluntary contributions of money to your guild bank. With it, you can easily set aside a percentage of your income, and then deposit it automatically into your guild bank whenever you visit it. All options can be individually configured.

Guild Tithe was originally based on the Guild Tax, Tithe and Donation Helper written by walking_fishy.

Looking to localize this addon in your language? Help me out and send Vandesdelca32 a PM on Curse or Curseforge, and I can add you to the translators list!

You're not required to, but please donate. It all helps me continue to make these addons better!

Features

  • Automatic deposit into your guild bank of preselected portions of your earnings.
  • Able to individually set tithe percentages for money gained from the following sources:
    • Looting monsters
    • Quest rewards
    • Sales to vendors
    • Your mail
    • From trades

Version 2 Changes

If you're using version 2, you can use the following slash commands. All of them will work with /gt, /tithe, and /guildtithe, any argument in brackets ( ) is optional. Commands separated by slashes (/) are interchangeable.

Commands

CommandEffect
options/configShow the options frame
mini (show/hide/lock)Provided with no argument, will toggle the draggable mini-frame. Provided with show or hide, will force that state. Use lock to lock the frame.
reset (tithe/config/pos)Reset your current tithe (This happens if you don't pass an argument), the global config, or the window positions, if you lost one.
totalShows the total amount you've deposited.
current/titheShow the current outstanding tithe.

Feature Changes!

Among the slash commands, a few other things have changed:

  • The mini-frame now can be locked (/gt mini lock)
  • The options frame has some spiffy new textures
  • The options frame can toggle debug mode
  • The sliders can also be set by entering a value in the text box beside them
  • The options frame no longer cares where you put it last, or whether or not it was showing when you logged out, it always resets it's position and hidden state after a UI load.
  • The frames are all clamped to the screen
  • Entirely new codebase!
  • Frames are now skinned if the user is using ElvUI!
  • Ability to have the current tithe be put into a mail. Just click on the Mini-Frame when it's unlocked, and the mail frame is open!
  • DataBroker support! (It works the same as the mini-frame, except in your favourite LibDataBroker viewers, ie. Titan Panel)

And there are some planned features for 2.0

  • Better options frame textures and layout

You must login to post a comment. Don't have an account? Register to get one!

  • 6 comments
  • Avatar of Vandesdelca32 Vandesdelca32 Jan 07, 2013 at 02:09 UTC - 0 likes

    @HeavenlyGamer: Go

    Sorry this reply comes out of nowhere to your comment, but I'd like to state this:

    It is possible, if a bit convoluted, to set your "Total Tithe" to a negative value. As this addon is specifically for guilds, you can use that in turn to repay a loan to your guild, and just disable it again when your tithe total has reached 0.

    /run GuildTithe_SavedDB.TotalTithe = -(x * COPPER_PER_GOLD) + -(y * COPPER_PER_SILVER) + -(z)

    Where, x, y, and z are your gold, silver, and copper, respectively.

    Last edited Jan 07, 2013 by Vandesdelca32

    -- Vandesdelca32

  • Avatar of HeavenlyGamer HeavenlyGamer Nov 30, 2012 at 18:08 UTC - 0 likes

    @Vandesdelca32: Go

    I downloaded a fresh copy of the add-on from here on Curseforge to look through the code to see if I could help, I discovered that without learning the language I can't really help in it's current state. If the code was commented so that someone that didn't know Lua could tell exactly what each line does and had a description of how to define and use a function in this language, then I could probably at least help reorganize the code to be more easily adjustable for adding features. If you think that would be easier for you just let me know and I'll be happy to help.

  • Avatar of Vandesdelca32 Vandesdelca32 Nov 29, 2012 at 01:05 UTC - 0 likes

    @HeavenlyGamer: Go

    Yeah, Lua is a plain-text language, so you can read all of the source code as long as you have the addon. you don't have to compile anything at all. It's more on the code end of things that is the problem. I could do it, I know how, but I'd have to motivate myself to get it done first. I'm having a hard time doing that lately, just can't get into the groove I was in before when I wrote the new version of GuildTithe. (Which to be honest, if you look at the code, it's kinda terrible.)

  • Avatar of HeavenlyGamer HeavenlyGamer Nov 29, 2012 at 00:54 UTC - 0 likes

    @Vandesdelca32: Go

    What exactly are you thinking might be disturbed? Front-end or Code-side?

    I thought my description for the UI was perfect, I could draw a sample image in MS Paint if that would help.

    Code-side the only sources of trouble I can think of are variable limits, and not having very good modularization with your functions.

    I might try to help on this if that's okay, though I only have actual coding experience with console CPlusPlus programs. Is all the source code in the add-ons folder or is there something else I need to download or does it maybe use some files in another folder?

    Last edited Nov 29, 2012 by HeavenlyGamer: BBCode doesn't like C++
  • Avatar of Vandesdelca32 Vandesdelca32 Nov 28, 2012 at 17:56 UTC - 0 likes

    @HeavenlyGamer: Go

    I kind of like this idea, but I'd have to think it over on how to exactly implement it into GuildTithe.

    Thanks for the suggestion, I'll be sure to add your name to the code if I can think of a way to make this work without disturbing too much else of the addon. :D

  • Avatar of HeavenlyGamer HeavenlyGamer Nov 28, 2012 at 17:46 UTC - 0 likes

    I have an idea for a new feature, a secondary "loan repayment" entry. I think it should have extremely similar background processes so that part should be simple, and I have an idea on how it would work in the UI.

    It would only require one extra configuration entry that I would call "Amount Owed" this entry would default to zero which would disable the feature. When this value is set to a positive integer then it would double the tithe percentages and put the 2nd half towards the "Loan Payment" variable until it meets the "Amount Owed". This second balance will not auto deposit into the guild bank and when the "Loan Payment" is attached to a letter it is automatically deducted from the "Amount Owed".

    This feature would be useful for several situations including: Borrowing gold from a friend, buying crafted items from friends on credit, heck I might even sell stuff to "random" people on credit after having worked with them a few times CoD if they used this.

    A couple extra options you might put in to go with this new functionality but would not be necessary for proper usage would be: the ability to restrict which characters the payment could be sent to in order to prevent accidentally sending it to the wrong person, being able to have more than one loan set at a time, adding interest to the loan, the ability to set separate percentages instead of just doubling the tithe and splitting down the middle, and setting a due date for the loan.

    Please let me know what you think about this idea, I really like this add-on as it is but I can't find an add-on on curse for this functionality and I thought this would be the easiest for someone with coding experience to add it to, at least out of what I've used.

  • 6 comments

Facts

Date created
Jan 23, 2010
Categories
Last update
Sep 18, 2013
Development stage
Release
Language
  • enUS
License
All Rights Reserved
Curse link
Guild Tithe
Downloads
17,596
Recent files

Authors

Relationships

Tool used
LibDataBroker-1.1
Embedded library
CallbackHandler-1.0
LibStub
LibVan32