DonationPoints
DonationPoints v1.9.0

What is 'DonationPoints'
DonationPoints came from a Bukkit request thread. I was already working on a similar plugin for my own server, so I decided to make it public. This will allow you the admin to give a player points (essentially for anything - but mainly for donating). From there, the player can use these points on 'perks' in-game. You can make the perks whatever you want.
What are Points?
Points are more of a virtual currency. Similar to how iConomy works, but it is more oriented toward donations and using your points to earn perks in-game. The idea behind the plugin is: Player Donates > Player Receives Points > Player Spends points on whatever / whenever. At the moment, the plugin only supplies a method for you giving the points to someone and them spending it, it will not* automatically give them points when they donate. I recommend another plugin, such as BuyCraft, to give a player points automatically. The Server Admin (or anyone with permission) can create packages in the config, and create signs for the packages to purchased on. Please refer to the signs setup guide linked below.
Features
- Define packages in the config file with custom prices that your players can spend their points on.
- Your packages contain a list of commands that will be executed from the console. For in-depth package creation, see the packages page listed below.
- MySQL storage for balances. This allows easy management of points for the server admin while keeping balances secure.
- Commands to give / take points from players if you need to.
- Checks for DonationPoints accounts when a player creates a new one to prevent duplicates.
- Commands and Permissions support.
- Metrics support.
- Set packages to expire after an amount of time.
- Limit the amount of times a user may buy a package, to prevent waste of points.
- Limits / Expiration can be defined on a per package basis.
- Easy to follow config. Run commands that are player specific using variables in the commands lists. See package setup for more information.
- All messages are configurable and neat. Plugin wont spam the player with ugly messages. They all follow the same scheme / colors.
Additional Pages
Dev Builds
I have already begun pushing Dev Builds for v1.6 of the plugin. You can find the latest dev build at the Upcoming Features link right above. Will always be up to date with the changes listed on the page.
Contact
If you have a suggestion for the plugin, or a concern, please open a ticket. The ticket tracker provided by Bukkit allows me to manage feature requests and bugs in an effective manner as well as communicate back as progress goes on.
Developer?
This project is available on GitHub. If you find something that needs fixing, feel free to make a pull request. If you're interested in continuing to develop the plugin, feel free to let me know and we can discuss adding you as a contributor. Click the image below to be taken to the repo.

Official Plugins
The following plugins were made with DonationPoints in mind and rely on the DonationPoints API. This means that you must have this plugin installed to use any of the plugins listed below.
DPEnchant - Users can purchase enchantments for their items using DonationPoints.
-
View User Profile
-
Send Message
Posted Jun 25, 2013@MistPhizzle
Ok thanks. This worked for me, but wouldnt it be easier to create a command for this? Since not all people have access to their mysql database (for example if you are using a minecraft hosting service).
-
View User Profile
-
Send Message
Posted Jun 24, 2013@Lars_1993
You would have to manually go into the transaction table and delete the row where the player purchased the package. If you know how to access your database and run a query, use the DELETE FROM dp_transactions WHERE player = 'playerName' AND package = 'packageName'
-
View User Profile
-
Send Message
Posted Jun 24, 2013Hey, i've got a question.
If one of my players buys a package that has limit 1. And I want to remove that package so that they will be able to buy it again (say I was using it for testing purposes :P), how would I go about doing that? I am using my mysql database for storage.
Thanks in advance
-
View User Profile
-
Send Message
Posted Jun 22, 2013@dirtrider478
I don't think sign colors interferes with the Premium Signs, just don't use it on the sign itself. I've never tested for compatibility, but my server does run it's own sign coloring plugin.
The first line on your sign should equal: [SignMessage]
Worst case scenario, try it without SignColor. I have to step out for a few hours, I'd make sure to read all of the documentation linked above. Isn't entirely up to date, but nothing has changed with signs in like 5 updates.
-
View User Profile
-
Send Message
Posted Jun 22, 2013I get nothing at all when making the sign it just makes a normal sign, could this be cause i have signcolors installed?
-
View User Profile
-
Send Message
Posted Jun 22, 2013@dirtrider478
The plugin should give you an error if the sign can't be created. It would be either No Permission, You're not placing it on a wall, or the package doesn't exist.
-
View User Profile
-
Send Message
Posted Jun 22, 2013ok i typed [Premium] and it still doesnt make a sign
-
View User Profile
-
Send Message
Posted Jun 22, 2013@dirtrider478
Yes, but there is a configuration option for the message that goes in Line 1 of your sign. By default, this is Premium. That means you would type [Premium] on your signs to get the plugin to work. I recommend you read the documentation linked above.
-
View User Profile
-
Send Message
Posted Jun 22, 2013sign message? this is the only plugin i need to make signs right? http://pastie.org/8069920
-
View User Profile
-
Send Message
Posted Jun 22, 2013@dirtrider478
Put a copy of your config (with passwords for SQL edited out) on http://pastie.org
What is the SignMessage configured to? Take whatever you have in your config for SignMessage, and put it on a sign with brackets around it.
-
View User Profile
-
Send Message
Posted Jun 22, 2013nvm i figured it out and now i have it working i can purchase items with commands on them but thats text based i cant seem to get signs to work, im op and this is what i type on the sign
line 1 [Diamonds] line 2 Diamond line 3 10 line 4 Buy a diamond
And the name of the package is Diamond But the sign wont create it into a clickable shop?
-
View User Profile
-
Send Message
Posted Jun 22, 2013@dirtrider478
I believe it was v1.7 that added prerequisites. To prevent all packages from breaking that didn't have a prerequisite, whenever you tried to purchase a package without a prerequisite, it would make sure the config was defined so it wouldn't have a prerequisite. Again, this is just to prevent packages from breaking.
Anyway, why your config is deleting EVERYTHING, I have no idea. Running the latest version, adding new packages works fine. Delete your config and let it regenerate with the newest config settings (Should be Config Version 180 or 181). Or when your server boots it should automatically bring up EVERYTHING your config is missing. Including the example package.
Also, after you edit your config, copy and paste it into a YAML Parser to check for errors. There is a great one available for free online use here: http://yaml-online-parser.appspot.com/
-
View User Profile
-
Send Message
Posted Jun 22, 2013Why is it that every time i eddit the config file to add a diamond package it always erases everything but this General: {} packages: Diamond: requireprerequisite: false
-
View User Profile
-
Send Message
Posted Jun 21, 2013Version 1.8.1
You will be able to download this as soon as Bukkit approves the file.
-
View User Profile
-
Send Message
Posted Jun 19, 2013@lANTHONYl
Thanks! I just update whenever I feel something needs updating. The Item Frame was a request on my own server actually, so I spent today doing it. The other features just work their way in over time and I release a new version once an update seems interesting / urgent enough.
-
View User Profile
-
Send Message
Posted Jun 19, 2013@MistPhizzle
Dude... do you ever stop? You've been the most busy body developer i've encountered. Damn near ever feature request or bug report has been taken care of in no time flat. Diamonds to you sir.
-
View User Profile
-
Send Message
Posted Jun 19, 2013Just finished v1.8.0. You will be able to download it as soon as Bukkit approves it.
Changelog
Also: Added a few API Methods, full documentation on the API should be coming up soon. It's made so you can have plugins link into DonationPoints. The plugin "DPEnchant" uses the API and allows players to purchase enchantments for their weapons this way.
-
View User Profile
-
Send Message
Posted Jun 17, 2013@lANTHONYl
Created a ticket based on this comment to remind me to do it. It will be done.
-
View User Profile
-
Send Message
Posted Jun 17, 2013Can you add a command to clean the database of entries which have a 0 balance?
-
View User Profile
-
Send Message
Posted Jun 16, 2013I uploaded a new version 2 days ago with several bug fixes. Bukkit is notoriously slow when it comes to this stuff though.