Woocommerce bridge

Discussion in 'Archived: Plugin Requests' started by Zyme, Mar 6, 2014.

  1. Offline

    Zyme

    Woocommerce being one of the largest ecommerce solutions for Wordpress today. I would like to see a way to create a buycraft using Woocommerce.

    The reason I don't like buycraft is because you cannot create a good comparison list/matrix over all the ranks and packages. Instead you need to click them all and read whats included in each.

    The only thing you can change is the color. I would rather have the flexibility to present this information directly on a Wordpress website.

    With that being said, I don't think this has to be overly complicated? I don't know how buycraft etc. store their packages but I imagine you could utilize the buycraft or donationcraft API on the server, and hook Woocommerce to that? Having no need for a completely custom plugin.

    So what needs to be figured out is the relation between a product inside Woocommerce, and translate that to a rank/items in the game.

    Thanks.
     
  2. Offline

    timtower Administrator Administrator Moderator

    Zyme We can make the plugin part but we are not responsible for the web interface.
     
  3. Offline

    SnowPatch

    If you want a list of features for the different packages on your site, then you can just make it with HTML/CSS ?? There is no need for a brand new plugin for this, just a bit of simple web development knowledge ;)
    You could just search google for "free feature list HTML/CSS" or something like that, and then just fill in your features and stuff.
     
  4. Offline

    Zyme

    I guess you could edit buycraft HTML maybe.

    But I still would like to see a standalone solution for self-hosting and not having to pay monthly fees left and right. The server costs are high enough.

    Basically the only thing that would need to be figured out is how Woocommerce connects to the MC API to execute /kit or /give commands for said package. I assume packages etc. are made in essentials or whatever plugin people run for it. I would get a Woocommerce developer to make the Woocommerce plugin that will connect to the MC server.

    And I assume that buycraft/donationcraft has such an API where their platform communicates with the MC server? So a new API is not needed I guess, just some information on where and how to connect from Woocommerce to one of these plugins.
     
  5. Offline

    timtower Administrator Administrator Moderator

  6. Offline

    Zyme

    timtower How do you call that from an external server?

    Or do you mean that on each purchase I should store the command "/give playername 123" in that table and your script runs in a loop and executes those commands?
     
  7. Offline

    timtower Administrator Administrator Moderator

    Exactly, just remove the first / at the command, so the value in the table would be: "give playername 123"
     
  8. Offline

    Zyme

    Ok that seems very easy. Will try it once I have everything setup.
    Thanks.
     
  9. Offline

    Zyme

  10. Offline

    timtower Administrator Administrator Moderator

  11. Offline

    Zyme

    So is there a possibility to either modify the plugin to issue give command only when player is online or any other solution? AFAIK I can use promote, change group etc. when they are offline with PEX.
     
  12. Offline

    timtower Administrator Administrator Moderator

    Copied and modified: https://www.dropbox.com/s/4si61a0swrdl5hr/WebCommandPlayer.jar
    If the Player column isn't empty then that player has to be online for the command to run. Won't get removed from the table until the player was online.
    You can copy the settings from the other plugin to this one, make sure to delete the old one.
     
  13. Offline

    Zyme

    Thanks this works, but you have a 5+ minute timer built in there?

    If you could add the time delay into the config so it can be edited this would be perfect.

    Edit: Oh I am blind, it was already there. Perfect, thanks!
     
  14. Offline

    timtower Administrator Administrator Moderator

    What do you think that the "time" variable does?
     
  15. Offline

    UncleFedor

  16. Offline

    timtower Administrator Administrator Moderator

    You do realize that the OP hasn't been online since may?
     
  17. Offline

    MinerMovies

    Is Woocommerce or it's API open source? If not, it probably can't get connected to Minecraft :p
    Not really a dev, but whatev :p
     

Share This Page