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

Where I type wrong?

Comments in 'Plugin Development' started by yeungkachun, Feb 9, 2014.

  1. yeungkachun
    Offline

    yeungkachun New Member

    Joined:
    Feb 9, 2014
    Posts:
    19
    Minecraft User:
    yeungkachun
    Hello ,I want to make my own plugin. But I don't know why my plugin not work.
    Anyone can help me chack where I type wrong ?

    Attached Files:

  2. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Use NotePad++ and you will see all the bugs.
    Andrey Nazarchuk likes this.
  3. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Hey what kind of plugin is this
  4. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    What kind of plugin is this? Doesn't even need a human brain to make. It can be made through a plugin generator.
    yeungkachun likes this.
  5. yeungkachun
    Offline

    yeungkachun New Member

    Joined:
    Feb 9, 2014
    Posts:
    19
    Minecraft User:
    yeungkachun
    thanks, do you kniw how to make heal and tpall command?that plugin I only for example.
  6. yeungkachun
    Offline

    yeungkachun New Member

    Joined:
    Feb 9, 2014
    Posts:
    19
    Minecraft User:
    yeungkachun
    and also , can you teach me how to use commandHandler
  7. Sulfatezz
    Offline

    Sulfatezz Banned

    Joined:
    Dec 3, 2013
    Posts:
    9
    Minecraft User:
    Sulfatezz
    if you want to heal a Players use:
    PHP:
    $player->entity->setHealth($player->entity->health"generic");
    ------------------------------------------------------------------------------
    And if you know how Teleport all Players use:
    PHP:
    $this->api->console->run("tp @all x x x");
    x x x= your coords like 12 54 24
  8. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Just teleport to the target player
  9. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,306
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Just search on GitHub repo about "heal"
  10. yeungkachun
    Offline

    yeungkachun New Member

    Joined:
    Feb 9, 2014
    Posts:
    19
    Minecraft User:
    yeungkachun

Share This Page

Advertisement