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

Online Plugin Generator - Create Plugins without programming

Comments in 'Plugin Development' started by SuperChipsLP, Nov 16, 2013.

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

    Kirkro8 Banned

    Joined:
    Nov 25, 2013
    Posts:
    22
    Minecraft User:
    Kirkro8
    thanks i undirstand
  2. Kirkro8
    Offline

    Kirkro8 Banned

    Joined:
    Nov 25, 2013
    Posts:
    22
    Minecraft User:
    Kirkro8
    is this the right variable to call playernames in chat
    Code:
    $player
  3. Kirkro8
    Offline

    Kirkro8 Banned

    Joined:
    Nov 25, 2013
    Posts:
    22
    Minecraft User:
    Kirkro8
    and how do i make multiple events and fuction?
  4. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    You can't. This is the main thing the generator needs to improve about.
  5. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    This depends. When you want to refer to the name of the player who issued a command, use $issuer->username. When you refer to the name of the player who is in the event, it is sometimes $data, sometimes $data["player"], and sometimes else.
  6. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    SEVERE BUG REPORT
    "player.respawn" $data is only a Player object, not an array. Plugins using this will crash.
  7. Kirkro8
    Offline

    Kirkro8 Banned

    Joined:
    Nov 25, 2013
    Posts:
    22
    Minecraft User:
    Kirkro8
    how do i create a path like config.yml
  8. Kirkro8
    Offline

    Kirkro8 Banned

    Joined:
    Nov 25, 2013
    Posts:
    22
    Minecraft User:
    Kirkro8
    how about to announce the item name
    what code is it??
  9. Kirkro8
    Offline

    Kirkro8 Banned

    Joined:
    Nov 25, 2013
    Posts:
    22
    Minecraft User:
    Kirkro8
    were should i insert $data["player"]
  10. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    In what events?
  11. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    What do you mean?
    And forgot to say, if you want to include the name in a message, you should use {$data["player"]} instead.
  12. Kirkro8
    Offline

    Kirkro8 Banned

    Joined:
    Nov 25, 2013
    Posts:
    22
    Minecraft User:
    Kirkro8
    when a player picks an item
    like <name> has picked an item <item>
  13. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    {$data["player"]} has picked {$data["entity"]->count} items of ID {$data["block"]}:{$data["meta"]}
  14. Kirkro8
    Offline

    Kirkro8 Banned

    Joined:
    Nov 25, 2013
    Posts:
    22
    Minecraft User:
    Kirkro8
    how do u create path like
    config.yml
  15. Kirkro8
    Offline

    Kirkro8 Banned

    Joined:
    Nov 25, 2013
    Posts:
    22
    Minecraft User:
    Kirkro8
    and should i delete:
    Code:
    $data['player']->sendChat
    and replace to:
    Code:
    {$data["player"]} has picked {$data["entity"]->count}
  16. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    You are asking too complicated plugins :rolleyes:. Wait @SuperChipsLP to update :)
  17. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    If he will ever :D
  18. SuperChipsLP
    Offline

    SuperChipsLP Active Member Plugin Developer

    Joined:
    Sep 15, 2013
    Posts:
    204
    Plugins:
    5
    Minecraft User:
    Redmol
    Sure, i will. You can expect a waay more advanced version really soon. :)
  19. ashead
    Offline

    ashead New Member

    Joined:
    Sep 15, 2013
    Posts:
    9
    Minecraft User:
    ashead1
    what a good!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Thx!
  20. Blubbll
    Offline

    Blubbll Active Member

    Joined:
    Oct 3, 2013
    Posts:
    325
    Minecraft User:
    Blubbll
    SuperChipsLP, do you think it will take a long time for you to make this plugin work in 0.9.0 PocketMine(PM1.4)?
Thread Status:
Not open for further replies.

Share This Page

Advertisement