Python Plugin Loader

Discussion in 'WIP and Development Status' started by masteroftime, Jun 13, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Benjaneer

    Um no. Geez. I was just saying that this looked like something that would get accepted as a part of bukkit.That was my opinion.

    [edit-looking back on your earlier posts: no need to get so touchy about the rules: masteroftime is clearly just trying to help out....] :eek:
     
  2. Offline

    Drakia

    Whether he is trying to help out or not, the rules are the rules.
     
  3. Offline

    MrRump

    Awesome. :O Could you explain how to create a bridge between Java and another language? I'd like to develop a C++ bridge for Java, but I think, you have to write a complete C++ parser which converts the commands to Java, haven't you?
     
  4. Offline

    King Rat

    This is just brilliant. I only just started killing of brain cells learning Java, and now this comes out :D You are amazing :3
     
  5. Offline

    Redyugi

    How about you report it then, if you think rules are rules. Back off. Stop back seat modding, and let the Mods do their jobs themselves.
     
  6. Offline

    Drakia

    Or not :)
    If you don't like it, report me and let the mods deal with it ;)
     
  7. Offline

    Phaedrus

    Ok ok. Keep the thread on topic please.

    Mods are aware of the thread. No comment at this time. We are assessing the situation.
     
  8. Offline

    masteroftime

    no you don't. You can use JNA (java native access) and create wrapper classes/methods for bukkit. I'm not sure but I think there are also high level bridges which would of course be easier to use. If youre planning on doing something like that just PM me.

    @Phaedrus please if you don't think this will be included into bukkit, tell me as soon as possible because I hate doing unecessary work.
     
  9. Offline

    Clem

    @masteroftime hey, sorry I was a little harsh. I was just a way for awhile and am in the airport. I hope the development goes well and perhaps I could look at it? (I am still quite a newbie xD but I am willing to learn.) I am glad this thread is getting attention as I think it will probably lead to many more plugins if it gets into a official build :D!!! Thank you sooooooooooo much for your work masteroftime!
    All the best,
    Clem
     
  10. Offline

    masteroftime

    *Update*
    The plugin code is now contained in a zip file with a .pyp extension. The Plugin Description file is now called plugin.yaml and the main python file plugin.py

    wow! I managed to finish this week even though I was very busy and now I just sent a pull request hoping my work will be accepted.

    I like programming and I am glad if I can create something for you but I am also only a human. I couldn't spend as much time as I'd liked on this and it was very close that I could finish today before I leave for my (hopefully) well deserved vacations. This means that I am unreachable for the next 2-3 weeks. However everything is open source so use it and have fun with it.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  11. Offline

    Clem

    @masteroftime Thank you so much! I hope your vacation is fun :D! I picked up a Heads First: Python book, and I have also gone through 1 3/4 online guides aswell, so my Python skills are getting much better :), plus a little knowledge of C helps too. I really hope this gets put in :) I am also going to try and get a Java book too! <3 Open Source

    -Clem
     
  12. Offline

    Benjaneer

    I hope it gets through! I still learned java for making bukkit plugins but this will still turn out to be very useful I suspect. :)
     
  13. Offline

    MalcolmLC

    Im trying to learn python ( as my first programing language just for this ) XD I hope one day I can become a plugin developer :(. Right now im looking at this 43 video series on python would you guys recommend any way for a noob like me to learn.
     
  14. Offline

    4am

    Anyone who thinks Java is a nightmare has never coded in Perl.;)
     
    Shamebot likes this.
  15. Offline

    Clem

    @MalcolmLC I use Head First python from O REILLY
     
  16. Offline

    MalcolmLC

    Thanks clem :D

    About a week ago I couldnt understand any of python .. or any programming stuff really 0_o the internet is amazing
    I hope I can make my own plugin one dayy so much
    XD

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  17. Offline

    Clem

    Anyone willing to comment on the Pullrequest Github to support this? Looks like DinnerBone doesn't like it -_-
     
  18. Offline

    Pencil

    Wait meh no get the point :p So IF you are 100% comfortable with java, there is no reason you would use this right? It's not faster/better/less ressources or anything like that at all? Just means you don't have to use java? Meh gonna start looking into phyton then to see if it's that much nicer than java XD
     
  19. Offline

    Clem

    People like me are probably 2% comforable with Java @Pencil . This mod to bukkit really works, and works well.
     
  20. Offline

    Pencil

    I was never saying it doesnt :p I was just wondering if it simply added the ability to code in phyton and nothing else :p Nothing wrong with that ^^
     
  21. Offline

    Clem

    Yeah, it adds another Language to Dev Plugins in. I think that is pretty important @Pencil :p
     
  22. Offline

    Pencil

    Haha ok :p Might take a look at python then, is it easy to learn? I kinda dislike java XD
     
  23. Offline

    Clem

    @Pencil , it is just like English :D.

    E.G.

    Code:
    x = ['This', 'is a demo', 'of Python', 'lists']
    print(x)
         This prints the list :D
    
    you can remove append, etc........
    
    
    define functions with
    def(var)
    return var*5
    This might be a little wrong.. I am super tired right now Dx

    You know.. the basics it looks easy. I just started learning Python pretty recently. I honestly Love It! I really hope the Bukkit Team accepts this Pull Request
     
  24. Offline

    Pencil

    Woooow damn that is awesome! It really is like english! Alooot better than java, and it looks very familiar, is it somewhat like C? or idk where ive seen that before :D But even if they dont accept it we can still build our custom craftbukkit ;D
     
  25. Offline

    MalcolmLC

    I worship you... just sayin
     
  26. Offline

    Drakia

  27. Offline

    MalcolmLC

  28. Offline

    Redyugi

    It has been tried as a plugin, but that didn't work. It makes way more sense to just have it be integrated.
     
    Benjaneer and Clem like this.
  29. Offline

    Clem

    @Redyugi Exactly if it is all integrated people can just make plugins in the lanuage they are comfortable in, and everyone is happy.
     
  30. Offline

    Drakia

    When was it tried as a plugin? Why didn't it work? How does having it built-in make more sense?
     
Thread Status:
Not open for further replies.

Share This Page