[REQ] Buying Items with Donater system

Discussion in 'Archived: Plugin Requests' started by bakon balázs, Mar 20, 2011.

  1. Offline

    bakon balázs

    Hi all!

    So my idea is that:

    Users can buy items with real money!

    How it possible?

    - We need a High payed SMS Service. (I think we need a php page to accept this service)
    - Account Page on the server homepage.
    - 1 plugin for bukkit.

    The player send one SMS, he pay X ammount money for this.
    This X money is encoded to X "Credit" via the service.


    He log in to the account page and he can spend the credit for items.
    When he spend one item on the page he become one randomly generated CODE.
    This CODE injected in mysql db.

    Example.: He buy 5 Diamond Block. He become the CODE: DB-123456789

    And here is my problem, because im low with java programing :)

    I need plugin to read out from mysql db, when user type a command (example /buy or something).

    The plugin must do:

    - Read from mysql db
    - Give item to player (To identify the item, must have prefix for item)
    - When the item buyd, delete this code from mysql db. (Dont use twice the CODE)

    I know all items can be crafted or founded ingame, but just think in.
    We can give for low money anything. Sponges, Glowstones, many blocks. Diamond sets.

    I think this can be work, but tell me when not :)
     

Share This Page