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

What do I import to start coding?

Comments in 'Plugin Development' started by Meatie, Dec 3, 2013.

  1. Meatie
    Offline

    Meatie New Member

    Joined:
    Dec 3, 2013
    Posts:
    4
    Minecraft User:
    Meatie
    With bukkit I need to import craftbukkit.jar, what do i need to import into eclipse for the libraries?
    Any help would be awesome, thanks :D
  2. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,706
    Plugins:
    22
    Minecraft User:
    Falkirknh
    PocketMine is in PHP, it's quite different :)
  3. shoghicp
    Offline

    shoghicp Staff Member PocketMine Team

    Joined:
    Aug 22, 2013
    Posts:
    433
    Plugins:
    14
    Minecraft User:
    shoghicp
    Everything is in PocketMine-MP when the plugin is loaded, so you don't have to worry about including anything. Check some already-done plugins for an example. I've a few on my Github page, also in the PocketMine one
  4. Xfusionios
    Offline

    Xfusionios Active Member Plugin Developer

    Joined:
    Aug 24, 2013
    Posts:
    67
    Plugins:
    2
    Minecraft User:
    XFusionios
    Also really no need for eclipse I suggest just Notepad++ and your all set to go.
  5. Glitchmaster_PE
    Offline

    Glitchmaster_PE Notable Member Plugin Developer

    Joined:
    Aug 31, 2013
    Posts:
    834
    Plugins:
    8
    Minecraft User:
    Glitchmaster_PE
    Personally, I don't like Notepad ++ I prefer Aptana
    Xfusionios likes this.
  6. Xfusionios
    Offline

    Xfusionios Active Member Plugin Developer

    Joined:
    Aug 24, 2013
    Posts:
    67
    Plugins:
    2
    Minecraft User:
    XFusionios
    Thank you I think I may just found my new favorite editor! Never seen something that support python before.
    Last edited: Dec 3, 2013
  7. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    As most people do, they import functions by the global $api received on plugin construction. As for the classes, they are automatically loaded into the script because they are at the same runtime.

Share This Page

Advertisement