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

full plugin programming tutorial

Comments in 'Plugin Development' started by Tester_master, May 12, 2016.

  1. minebuilder0110
    Offline

    minebuilder0110 Notable Member

    Joined:
    Dec 8, 2014
    Posts:
    485
    Minecraft User:
    Apparitional
    If you know you are not good with PHP, don't try to show off your 'skills'.
    Of course, that's how I started.
  2. RekkuzaRage
    Offline

    RekkuzaRage Active Member

    Joined:
    Apr 15, 2014
    Posts:
    251
    Minecraft User:
    RekkuzaRage
    These new forum users are helpless. PocketMine has died a long time ago...
  3. Extreme_Heat
    Offline

    Extreme_Heat Active Member

    Joined:
    Apr 19, 2016
    Posts:
    76
    Minecraft User:
    Extreme_Heat
    If that was the case I'm sure we wouldn't need the forums :).

    I'm working on updating the world generator for PocketMine right now so we'll see how far that propagates out ;). Intyre is also working on 0.15 support.
  4. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
    your IDE is your best friend it fetch the docs form PM core itself for these that are lazy to do it yourself
  5. Tester_master
    Offline

    Tester_master Active Member

    Joined:
    Dec 10, 2015
    Posts:
    95
    Minecraft User:
    Tester_master
    I already got the idea for that before you said it
  6. Tester_master
    Offline

    Tester_master Active Member

    Joined:
    Dec 10, 2015
    Posts:
    95
    Minecraft User:
    Tester_master
    Looking at the code from such as pocket money seems to advanced where do I start
  7. Primus
    Offline

    Primus Notable Member

    Joined:
    Apr 7, 2015
    Posts:
    1,470
    Minecraft User:
    PrimusLV
    I started here: https://github.com/PocketMine/Documentation/wiki/Plugin-Tutorial
    Then I went to http://w3schools.com/php to learn PHP basics as I was told to above but then I was told to have basic HTML knowledge.
    Thats why I went learning HTML5 to http://www.w3schools.com/html/ along with it I learned other web development languages such as CSS, JS, ASP.
    In one good day I saw that I'm wasn't learning PHP but more web development instead. I didn't want to give second shot for PHP tutorials, I started practicing and learning from other plugins, after more than year I'm now here :)
    HotFireyDeath likes this.
  8. Tester_master
    Offline

    Tester_master Active Member

    Joined:
    Dec 10, 2015
    Posts:
    95
    Minecraft User:
    Tester_master
    Is there any basic plugin to use code to learn from first before advanced video tutorials help me more then online and and the pocketmine plugin tutorials on YouTube don't show like how to get like the location of a user or how to get there item list
  9. minebuilder0110
    Offline

    minebuilder0110 Notable Member

    Joined:
    Dec 8, 2014
    Posts:
    485
    Minecraft User:
    Apparitional
    Simpler plugins... You should not start with PocketMoney...
  10. Tester_master
    Offline

    Tester_master Active Member

    Joined:
    Dec 10, 2015
    Posts:
    95
    Minecraft User:
    Tester_master
    Like what's a simple plugin that was really easy to make
  11. Tester_master
    Offline

    Tester_master Active Member

    Joined:
    Dec 10, 2015
    Posts:
    95
    Minecraft User:
    Tester_master
    What's the name of one
  12. Primus
    Offline

    Primus Notable Member

    Joined:
    Apr 7, 2015
    Posts:
    1,470
    Minecraft User:
    PrimusLV
    First plugin I made was something like NoVoid
    PHP:
    public function onMove(PlayerMoveEvent $e){
            if(
    $e->getPlayer()->getX() < 4$e->getPlayer()->teleport($e->getPlayer()->getLevel()->getSafeSpawn());
    }

Share This Page

Advertisement