Quantcast
Channel: Server Mods from Bukkit.org
Viewing all articles
Browse latest Browse all 2356

Donation Director

$
0
0

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

  1. Allows players to type /donate
  2. Allows as many packages as wanted
  3. Allows configurable package names
  4. Allows configurable package prices
  5. Allows configurable package details/benefits
  6. User friendly and colorful
  7. Configuration includes Color Code functionality
  8. Changes prices of packages depending on previously bought packages (based on permissions)
  9. Works with a server website to automate payments
  10. Any amount of commands allowed to be executed on payment received
  11. Administrators with permission "donationdirector.admin" may type /donate promote forcing a check on new payments
  12. Keeps a log of all donations "alldonations.log"
  13. Sends thank you/successful payment emails to you and buyer
  14. Completely FREE, and clean, no money/password stealing, open source code.

Commands

/donateShows package menu
/donate <package>Shows package information
/donate reloadReloads the configuration
(must have permission donationdirector.admin or be op)
/donate promoteForce 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:
/donate dialog


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:
/donate <package> dialog when having purchased all packages


If the configuration only has 1 donation package in it, the plugin will automatically make the /donate command look like so:
/donate <package> dialog when only having 1 package


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:
/donate <package> dialog when only having no packages


When a player types '/donate <package>' (in this case '/donate VIP') they get this:
/donate <package> dialog 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:
clicking the link


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 ........... | VIP
EpicSight .............. | Boss
Esaych ................. | 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! Diamond Dominion

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!


Viewing all articles
Browse latest Browse all 2356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>