Professional Donating
MineCrafterCity Donating System
I made this donating system for my own server, and I've decided to give it out to the public so everyone can profit from it. I developed it with 1.8 in mind, so everything works perfectly. You simply add this plugin to all the servers you want (in your network) and connect them all to the same database.
To do
- Website admin panel to list donations (Not started)
- Add custom commands to plugin (Doing)
- Add option to give points on all servers (Not started)
Plugin Requirements
- PlayerPoints
- BossShop
- BossAPI
- This plugin
- One Database
- Website where you can use PHP..
- Paypal account
Commands
- MyDonations - Shows the donations from that player (no perms needed)
How does it work?
The player goes to your website, where there's a page he can donate on. He fills in his username, drags the slider to the amount he wants to donate and presses the fancy donating button. This redirects him to Paypal and allows him to pay to the email adress in the config. After the payment is verified the plugin will now display a thank you message and send the player an in-game email (using essentials, or any plugin tha allows /mail send (player) [message]). Then the plugin will execute /points give (player) amountOfPoints. So yeah, you do need the plugin PlayerPoints (which works for 1.8!) and you should use BossShop and BossAPI to make a inventory shop where you can add items, ranks, commands ect. ect.
It's a bit to setup, but once you've set it all up you have a good stable donating system that doesn't look lazy ( like BuyCraft, no offence..) Another huge advantage is that this system is independent and it won't be offline (unless your servers are offline..)
More Detailed Explanation
The plugins you need: BossShop BossAPI PlayerPoints
And of course my plugin
Then get your spigot 1.8 server (Havn't tried with lower versions but should work just fine)
- BossShop: Will handle the shop
- BossAPI: Will connect PlayerPoints with BossShop
- Playerpoints: Will be the currency like having credits.
Now:
- First, Make your shop in BossShop, they have video tutorials and a great program to make this easier. Just make sure that players have to pay with Points
- Then, Go to BossShop config.yml and go all the way on the bottom of the config file, change PointsPlugin into: PointsPlugin: PlayerPoints
- Almost done, install BossAPI (if you havn't done that yet.) and install my plugin on your website and server(s). Go to donate.php and change those servers into yours. And in the config.yml of my plugin there's an option: server: that has to be the value of the option tag in the donate.php file. (This is done so that you can connect multiple servers to the same database)
- Now change the config.php file in /pay/config.php to your information.
- It's also important you set a IPN for Paypal (link to ipn.php in pay folder).
FAQ
The database isn't working!
This can have many reasons but the most common once are,
- A invalid IP, Username or Password.
- If you're using an external database not on the localhost you need to give the IP adress that wants to connect to the MySQL database access. Google: grant remote access to MySQL database
Need something custom?
Can't you figure out how to set it all up? Or want to change the layout of the page, or integrate it to your website but can't figure it out? I can help you with this. My prices:
- Layout changing: $10 - $20 (Depending if you have a layout) this will be a responsive layout
- Website integration: $10
- Support: free
I lost the source code to this plugin, and I could remake it fairly easily but I did find a lot of issues with the plugin such as it crashing your server after a long period of running time... So I suggest you don't use it anymore for now until I update it!
@FastFelix771
I know the HTML code isn't great but the site is only totalling at 30KB without fonts and images. Which is not all that much. But this code actually comes straight from my own website that I made a few years ago I updated it slightly but not all that much because "if it works.."
If I find time I will rewrite everything.
It looks like your frontend is missing its menu.css but its not affecting the design The code looks really big for such a tiny site :D could u try to make it a little bit "smarter" if u find some time ? :)
@fr233
I've been gone for a bit but I'm rewriting the plugin it shouldn't take too long. It still works with the most recent version of spigot though!
good!please update!
@zuhir
Esta diciendo que no ocupas bossshop para que el plugin funcione. Si ocupas "PointShop" para que funcione, eso fue lo que el dijo.
@MineCrafterCity
Ok, thank you for that info. A back end would be nice. I don't like Enijn or Wordpress. A simple wiki website is enough.
I PMed you and I hope my suggestions will help improve this plugin.
@SOLDADOMAT
Oeh.. I don't know If I'm going to be supporting 1.5.2 or any version older then 1.7 for that matter.
@madtomic
Yes you can easily do that yourself if you know a bit of HTML. Just do something like this:
<select id="amount"> (Just copy all properties from the slider) <option value="5">Coal - $5</option> <option value="10">Iron - $10</option> </select>
Then you'll have to style it a bit. But I'm currently busy building a back end so that you can easily choose between options like that. But the problem with this is that a lot of people don't have their own website and use Enijn and Wordpress.
Do you think you could update the slider to be a few toggle buttons instead?
Iron $5 Gold $10, etc
it does not create the plugin folder makes a compatibility for 1.5.2 R0.1 Waiting ..
@MineCrafterCity
Sorry but no English, so I do not understand the question ... use translator to translate English-Spanish
@zuhir
You don't NEED BossShop but it can use the PlayerPoints plugin (Which is required) for the plugin to work. Btw what commands would you like the plugin to execute?
1.7.2 If you could do it and not need any other plugin (the BossShop I do not like) would be the perfect plugin
SORRY FOR MY ENGLISH