PayGate is simple plugin for setting up SMS donation system on your server.
General
Player initiates payment from minecraft gameplay by typing command "/mypay sum phone_num". Then he receives sms and answers it with special number (from previous sms). By submiting payment, money from players's cellphone transfered to special account in plugin's billing and his game balance (iConomy, Essentials) is filled up. All sms are free. Server owner can see all payments at special website and get his money from system on demand.
Installation
Download plugin (here) and upload it to your server plugins folder. You can check correct installation by reading log records like these:
[PayGate] Listener Starting...
[PayGate] Start Listening on: xxx.xxx.xxx.xxx:yyyyy
where xxx.xxx.xxx.xxx - your internet address (IPv4 only!), yyyyy - port number for remote connections (default gamePort+2, may change)
IF YOU USING NAT PLEASE CONFIGURE IT IN CONFIG.YML
Configuration
In config file you can set up:
- port for remoteconnections. Must be accessible from the internet.
- NAT address if you're using it.
- currency exchange course for every payment (for example, course=100.0 increases all user's payments in 100 times)
- base economy plugin for your server. For now iConomy and Essentials are supported
- custom field in you DB for stroing user's balance. Plugin will increase value of this field after every user payment.
Accounting
Server's owner can see all payments in personal area at http://cab.paygate.su/. Log in with value of field secret in config.yml. Here you can see incomes for different periods and all initiated payments with usernames, sums, date/time, cellphone numbers. At every time you can make money withdrawal with some percentage cut out provided.
Translation
You can help project and translate personal area to your language. All existing langs are listed in a dropdown on the first screen here. Just fill in translation after "=" sign and post your version of file in page comments.
Feedback
For now it's available only for Russian language players. Worldwide in beta. If you need any other language/country, please let me know. Your feedback always welcome.