Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[In-Dev] BuyCraftPE - PocketMine-MP Donation System

Comments in 'Plugin Development' started by Comedyman937, Apr 23, 2014.

  1. DA_Swagnemite
    Offline

    DA_Swagnemite Notable Member Plugin Developer

    Joined:
    Nov 17, 2013
    Posts:
    386
    Plugins:
    7
    Minecraft User:
    DA_SWAGNEMITE
    If the server is offline and a player makes a purchase it just waits for the next time the server is online before sending the ppackage commands to the server. Other than that i dont think it does anything.
  2. SpiderPig
    Offline

    SpiderPig Active Member

    Joined:
    Sep 21, 2013
    Posts:
    128
    Minecraft User:
    SpiderPig
  3. SpiderPig
    Offline

    SpiderPig Active Member

    Joined:
    Sep 21, 2013
    Posts:
    128
    Minecraft User:
    SpiderPig
    I think it uses a SQL database and every time someone purchases something it pings the server and if packets are lost. It adds to the SQL db and then checks every 20-30 mins if the server is online, if online it sends the packet to the server to handle.
  4. DA_Swagnemite
    Offline

    DA_Swagnemite Notable Member Plugin Developer

    Joined:
    Nov 17, 2013
    Posts:
    386
    Plugins:
    7
    Minecraft User:
    DA_SWAGNEMITE
    True but i dont think its 20-30 mins by default i think the websites shop control panel allows the shops owner to change how often it checks for new purchases with the default being 5 mins but i could be wrong lol
  5. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,130
    Plugins:
    4
    Minecraft User:
    iksaku
    For the host... I vote for a RedHat Enterprice Server
  6. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,130
    Plugins:
    4
    Minecraft User:
    iksaku
    I have one, and it's EXCELLENT!
  7. Kedyn Bolds
    Offline

    Kedyn Bolds Active Member

    Joined:
    Jan 10, 2014
    Posts:
    95
    Minecraft User:
    Coollkboy
    Yeah that would be cool
  8. Kedyn Bolds
    Offline

    Kedyn Bolds Active Member

    Joined:
    Jan 10, 2014
    Posts:
    95
    Minecraft User:
    Coollkboy
    Wait so Comedyman937 when we are like talking about the BuyCraft To others like people who said they would help are we going to chat on GitHub ?
  9. SpiderPig
    Offline

    SpiderPig Active Member

    Joined:
    Sep 21, 2013
    Posts:
    128
    Minecraft User:
    SpiderPig
  10. sekjun9878
    Offline

    sekjun9878 Staff Member PocketMine Team

    Joined:
    Aug 22, 2013
    Posts:
    108
    Plugins:
    1
    Minecraft User:
    sekjun9878
    For API, it would be easier to use REST like you are currently doing.
    For REST API security, you can use HTTPS SSL/TLS with OAuth 2.
    For payment, systems like Stripe would be easier to implement than PayPal due to their developer-friendlyness.
    Do NOT store credit card details directly on the site. If you do, you will need absolute bulletproof security which is VERY difficult to do(PCI compilance).

    For front end, use Bootstrap 3 or Foundation with PHP (A framework would cut development time hugely and improve expendability)

    Just a few tips :)
  11. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,706
    Plugins:
    22
    Minecraft User:
    Falkirknh
    Thanks for the tips!
    sekjun9878 likes this.
  12. DA_Swagnemite
    Offline

    DA_Swagnemite Notable Member Plugin Developer

    Joined:
    Nov 17, 2013
    Posts:
    386
    Plugins:
    7
    Minecraft User:
    DA_SWAGNEMITE
    Ill do some looking at it. Ill check the specs and pricing and compare it to a few others.

    Thanks a lot sekjun9878 :)
  13. DA_Swagnemite
    Offline

    DA_Swagnemite Notable Member Plugin Developer

    Joined:
    Nov 17, 2013
    Posts:
    386
    Plugins:
    7
    Minecraft User:
    DA_SWAGNEMITE
    Some of them are talking on skype, others on here. (Maybe one or two on GitHub) I will be answering questions on here and looking for and comparing hosts for us to use.
  14. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,130
    Plugins:
    4
    Minecraft User:
    iksaku
  15. Kedyn Bolds
    Offline

    Kedyn Bolds Active Member

    Joined:
    Jan 10, 2014
    Posts:
    95
    Minecraft User:
    Coollkboy
  16. Kedyn Bolds
    Offline

    Kedyn Bolds Active Member

    Joined:
    Jan 10, 2014
    Posts:
    95
    Minecraft User:
    Coollkboy
  17. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,130
    Plugins:
    4
    Minecraft User:
    iksaku
  18. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,130
    Plugins:
    4
    Minecraft User:
    iksaku
    Yes, I was looking at PayPal's REST API in order to support different currencies for customers
  19. DA_Swagnemite
    Offline

    DA_Swagnemite Notable Member Plugin Developer

    Joined:
    Nov 17, 2013
    Posts:
    386
    Plugins:
    7
    Minecraft User:
    DA_SWAGNEMITE
    I think for right now we will go with Stripe for now (just to get started then later ill implement PayPal)
    This way we can get BuyCraftPE in a working order then start to make the changes that add more popular gateways like PayPal.
    Kedyn Bolds likes this.
  20. iksaku
    Offline

    iksaku Notable Member Plugin Developer

    Joined:
    Sep 2, 2013
    Posts:
    1,130
    Plugins:
    4
    Minecraft User:
    iksaku
    I agree
    Kedyn Bolds and Comedyman937 like this.

Share This Page

Advertisement