1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Can I link a plugin with html website?

Discussion in 'Development' started by 7awariGamer, Apr 18, 2019.

  1. 7awariGamer

    7awariGamer Baby Zombie

    Messages:
    120
    GitHub:
    7awariGamer
    The title Explains the whole!
     
  2. TwistedAsylumMC

    TwistedAsylumMC Slime

    Messages:
    96
    GitHub:
    twistedasylummc
    What do you mean by link? Share data? Make the website do something in the plugin? Make the plugin do something on the website?
     
  3. 7awariGamer

    7awariGamer Baby Zombie

    Messages:
    120
    GitHub:
    7awariGamer
    Like , printing data from the plugin in the website
     
  4. 7awariGamer

    7awariGamer Baby Zombie

    Messages:
    120
    GitHub:
    7awariGamer
    Kills counter for example
     
  5. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    Yea you can
     
  6. 7awariGamer

    7awariGamer Baby Zombie

    Messages:
    120
    GitHub:
    7awariGamer
    How ? Can u show me a simple code or source of an example?
     
  7. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    Use database like mysql
     
  8. 7awariGamer

    7awariGamer Baby Zombie

    Messages:
    120
    GitHub:
    7awariGamer
    I don't have any idea about how i can make this thing
     
  9. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    Php is a web language for server use. Learn PHP. It hosts websites.
     
  10. 7awariGamer

    7awariGamer Baby Zombie

    Messages:
    120
    GitHub:
    7awariGamer
    I learned PHP but without database
     
  11. jasonwynn10

    jasonwynn10 Moderator Poggit Reviewer

    Messages:
    1,489
    GitHub:
    jasonwynn10
    A database only helps to cache the data, but it isn't necessary if you plan to run the website as a plugin. You can just display a php website as is normal, then relay the data you want from pocketmine's API
     
  12. 7awariGamer

    7awariGamer Baby Zombie

    Messages:
    120
    GitHub:
    7awariGamer
    I am using wix code , that mean I can't use PHP , I only can use Css Html JavaScript !
    Can I link a plugin with my website ?
     
  13. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    What about your plugin that you want to link
     
  14. 7awariGamer

    7awariGamer Baby Zombie

    Messages:
    120
    GitHub:
    7awariGamer
    Kills counter
     
  15. Levi

    Levi Skeleton

    Messages:
    955
    GitHub:
    captainleviftw
    Use database then to save the kills
    And retrieve it using javascript
     
  16. 7awariGamer

    7awariGamer Baby Zombie

    Messages:
    120
    GitHub:
    7awariGamer
    Ok I should learn database
    Thx anyway
     
  17. Thunder33345

    Thunder33345 Moderator Staff Member

    Messages:
    2,137
    GitHub:
    Thunder33345
    yes you MUST learn database and use PHP on your website to do this
     
    jasonwynn10 likes this.
  18. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    I mean, technically you can also use Node.JS, ASP.NET or any other server side web framework that lets you access a database, but php makes the most sense in this case because OP probably already knows PHP.
     
    jasonwynn10 likes this.
  19. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    PHP is bad for Minecraft servers, and it's also bad for web servers. There are tons of better languages to make websites than PHP :D
     
    jasonwynn10 likes this.
  20. 7awariGamer

    7awariGamer Baby Zombie

    Messages:
    120
    GitHub:
    7awariGamer
    I am using JavaScript , and I want to learn python
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.