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

Pokkit for PocketMine

Discussion in 'Development' started by 7awariGamer, Mar 25, 2019.

  1. 7awariGamer

    7awariGamer Baby Zombie

    Messages:
    120
    GitHub:
    7awariGamer
    Can we make a plugin similar to "pokkit" but for pocketmine??
    Pokkit is a plugin for nukkit, this plugin converting bukkit plugins to nukkit...
     
  2. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Can we make a plugin that translates English to PHP?
     
  3. 7awariGamer

    7awariGamer Baby Zombie

    Messages:
    120
    GitHub:
    7awariGamer
    No, but this task is different!
    In pokkit i think we can use json + some replacment function to make it !
    Right??
     
  4. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    No.
     
    jasonwynn10 likes this.
  5. CupidonSauce173

    CupidonSauce173 Zombie

    Messages:
    298
    GitHub:
    cupidonsauce173
    it would mean to translate Java to PHP, in bukkit / nukkit, it can work only for certain plugins since they are both written in java...(so we can make a kind of translator for bukkit to nukkit) but it can't work for java to php.
     
  6. 7awariGamer

    7awariGamer Baby Zombie

    Messages:
    120
    GitHub:
    7awariGamer
    Kk, anyway i believe that it's possible but it will be so so difficult
     
  7. CupidonSauce173

    CupidonSauce173 Zombie

    Messages:
    298
    GitHub:
    cupidonsauce173
    Technically, everything is possible and these programs are called source to source compiler
    `Java is a strongly typed language, and PHP is not, so source to source compilers are rare and the code conversion process is incomplete. However this said, there is a reasonably good one with a free demo at: http://javatophp.com`
    `https://stackoverflow.com/a/17333782`
    you should look that thread about it
     
    jasonwynn10 likes this.
  8. 7awariGamer

    7awariGamer Baby Zombie

    Messages:
    120
    GitHub:
    7awariGamer
    Yes , thx lol ❤
     
  9. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Except that the pmmp and bukkit API have diverged much since then
     
    Last edited: Mar 26, 2019
    jasonwynn10 and CupidonSauce173 like this.
  10. CupidonSauce173

    CupidonSauce173 Zombie

    Messages:
    298
    GitHub:
    cupidonsauce173
    ^
     
  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.