DonationManager
Description
DonationManager allows you to give people a daily allowance of in-game currency based on how much they have donated to your server. I've only tested it with iConomy6, but it should work with any economy plugin that uses Vault.
Commands
It includes the following commands as of version 0.0.2:
- /dmset [username] [lifetime donation total] — Sets how much a player has donated. Set to 0 to remove a donator.
- /dmsee [username] — Shows how much someone has donated.
- /dmlist — Shows a list of donators. Kind of like a credits list if you think about it. The server wouldn't be possible without them.
Configurable
You are able to configure how many in-game currency they receive per dollar per day. The default is 100 in-game currency per dollar donated every day they login. Someone who donates $5 to your server gets 500 currency a day. Someone who donates $20 gets 2000 a day.
You can also configure a list of messages that are sent when the users receive the donations; thanking them for donating.
As of 0.0.2 there is also donation_prefix and donation_suffix. These are used in /dmsee. You could set the prefix to "$" and it will show that someone donated "$5", or set the suffix to " GBP" and it will show that they donated "5 GBP". Use these to match whatever currency you like.
Permissions
Right now the permissions nodes are very simple. It's just "donationmanager.command". So:
- donationmanager.dmset
- donationmanager.dmsee
- donationmanager.dmlist
Things to keep in mind
This works best when combined with an unlimited-stock admin shop where they can buy a wide variety of rewards. You want to be careful about setting selling prices in these admin shops. You want people to be able to sell so that non-donators don't feel overwhelmed; like: "Oh well if we don't donate there's no way we can compare.", but you also don't want to devalue donations.
Just take it slow and for each item you add, ask the following question: "How many of this item would a non-donator need to sell each day to equal a $5 donation?". Also the admin stores should only buy from the players at like 70% (at most). So if a diamond costs 100 currency, it will only buy a diamond from you for 70 currency.
Future Plans
Eventually I would like to track individual donations and give them an expiration date. You could then make it so donations expire after six months and people would have to re-donate to keep the allowance. Subscription fees basically.
Giving or taking away permissions nodes based on the amount of donations is also intriguing to me.
-
View User Profile
-
Send Message
Posted Aug 5, 2012does dmset add coins or sets it to that amount.. So if a player has 50 coins and you type /dmset darthmineboy 10 , does darthmineboy then have 10 coins or 50? If he has 10, please add the /dmadd , it adds coins.. And as I understand you can make shops that uses this economy?
-
View User Profile
-
Send Message
Posted Mar 30, 2012@Technius
I just stumbled upon your comment by chance, I think my plugin DailyBonus is exactly what you want :D If this author updates to give permissions based on amounts given, which is what I came here looking for, it'd be super simple for our plugins to work together.
-
View User Profile
-
Send Message
Posted Feb 24, 2012How about a permission node to give them daily prizes? Like go though the list of online players and check if they have "donationmanager.auto.xxx"? Perhaps these "xxx" can be defined in a config option that says "groups"?
-
View User Profile
-
Send Message
Posted Feb 19, 2012@Cofet
If understand correctly, buycraft should already work just fine. You simply need to make a $5 item that runs the command /dmset [playername] 5
And a $10 item that runs the command /dmset [playername] 10
And so on.
-
View User Profile
-
Send Message
Posted Feb 17, 2012yes please make it support buycraft, and also please make it so there are monthly(or timed) donater configs. For example if you donate $5 you get 5 in game coins a day for 1 month. Thanks for this simple yet useful plugin!
-
View User Profile
-
Send Message
Posted Feb 17, 2012Not used this on my server yet, but just two things quickly: I would like EssentialsEco to be tested. I would like Buycraft support. Would be nice :D Thanks.
-
View User Profile
-
Send Message
Posted Feb 17, 2012@oleerik
Version 0.0.1 is already available. Version 0.0.2 will be out as soon as Bukkit approves it.
-
View User Profile
-
Send Message
Posted Feb 16, 2012This is a great idea and i would love to use it. Especially the timed benefits.
An idea would be to have the length of time be based on how much they donated. So $5 would be like a month but $15 would be 3 months.
-
View User Profile
-
Send Message
Posted Feb 16, 2012Release it already! :)