Do you get money from your players sending you donations? Do you need to organize how they will be presented information on purchasing your donation package(s)? Do you want a plugin that will automatically run commands when a player sends you money through PayPal? Well this is for you!
Donation Director will give all player the '/donate' command, when typing '/donate', a list of configurable packages will come up, and all their configurable prices. A player may then look at what they think they can afford, and type '/donate <package>' for what they want, it will show them the link they must go to, to purchase it, AND the benefits of their purchase in a nice billeted format.
With added functionality, Donation Director provides a PHP webscript that can be implemented into a PayPal "Donate" button. This allows for your website (that should be previously coded by you) to send your server information of a purchase, and in return, the server will execute commands of whatever they purchased (as specified in the configuration).
Features
- Allows players to type /donate
- Allows as many packages as wanted
- Allows configurable package names
- Allows configurable package prices
- Allows configurable package details/benefits
- User friendly and colorful
- Configuration includes Color Code functionality
- Changes prices of packages depending on previously bought packages (based on permissions)
- Works with a server website to automate payments
- Any amount of commands allowed to be executed on payment received
- Administrators with permission "donationdirector.admin" may type /donate promote forcing a check on new payments
- Keeps a log of all donations "alldonations.log"
- Sends thank you/successful payment emails to you and buyer
- Completely FREE, and clean, no money/password stealing, open source code.
Commands
| /donate | Shows package menu |
| /donate <package> | Shows package information |
| /donate reload | Reloads the configuration (must have permission donationdirector.admin or be op) |
| /donate promote | Force checks for new payments (automatic checking time can be set in configuration) (must have permission donationdirector.admin or be op) |
Configuration
You can see how the configuration works here
Donation Panels
When a player types '/donate' they get this:
If you are giving your players permissions and/or package classes, you might want to give them the permission: donationdirector.package.<package_name>
Being an op, or a player with all permissions (donationdirector.package.VIP, donationdirector.package.VIP+, donationdirector.package.Sponsor ...)
Typing /donate would result in this:
If the configuration only has 1 donation package in it,
the plugin will automatically make the /donate command look like so:
Assuming you only wanted to give a player a link to your donating website when type /donate
Having no packages listed in your configuration would look like this:
When a player types '/donate <package>' (in this case '/donate VIP') they get this:
In this message, you can configure the design at the top (like in the previous) and purchase link, and the benefits (as many as you want, must be listed)
All a player must do when seeing these donation panels and website links, is click:
Auto Promote Functionality
The installation is in the readme.txt in the zip file
Your website will have to have the ability to run PHP scripts, and your server must have FTP connection.
In your donate button, there will be a script that will need to look like this:
<input type="hidden" name="notify_url" value="http://www.yourserverwebsite.com/paid.php">
The code for this script can be found here.
What this code does, is tell PayPal to go to this link when having a successful payment received. The link will run a script written by me, that will take the player's IGN and Package Name (for what they paid), and send it to the server. The plugin will check for these donations every X minutes (as specified in configuration), and automatically run the commands for that package (also specified in configuration)
You can disable this by setting "settings_check_donors" in the configuration to 0.
All donations are logged in the "alldonations.log" file to look like so:== All donation records are kept in this file ==Player IGN:- - - - - - - | Package Purchased:EpicMCMaster ........... | VIPEpicSight .............. | BossEsaych ................. | VIP+
Donation Director in Action
Check it out on my server, and donate (or you can donate to my server) if you want to support!

Todo:
- Make pages of benefits
- Accept requests on what else I should do
This is my first plugin! So, I still am very new to this Java and Bukkit stuff. Otherwise! I hope I helped you in some way shape or form!