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

Need help with plugin development

Comments in 'Plugin Development' started by tonio602, Sep 6, 2016.

  1. tonio602
    Offline

    tonio602 New Member

    Joined:
    Jan 31, 2015
    Posts:
    3
    Im trying to code an almost basic plugin that

    Works only in one world
    Waits until a certain amount of players join to start countdown
    Teleport all players to an area at the end of countdown

    If a player is hit by another player a command is run

    Wait a minute then a command is run
    Repeat until said time

    When said time teleport all to area
    players in another world dont see anything that happens in that world

    Heres my code
    <?php
    /*
    __PocketMine Plugin__
    name=Plugin
    version=2.0.0
    author=name
    class=Plugin
    apiversion=85
    */
  2. DC4CODE
    Offline

    DC4CODE Active Member

    Joined:
    Nov 19, 2015
    Posts:
    64
    Minecraft User:
    dxdsc9349
    This is not used anymore for plugin config.
    a PLUGIN.YML file is used on the main directory for the plugin. Please refer to the docs or youtube tutorials.
  3. wolfdale
    Offline

    wolfdale Active Member Plugin Developer

    Joined:
    Dec 3, 2014
    Posts:
    276
    Plugins:
    1
    Minecraft User:
    ace
  4. JonsMC
    Offline

    JonsMC Active Member

    Joined:
    Jul 26, 2016
    Posts:
    107
    Minecraft User:
    JonsMC
    Wow, that's very old API Format xD
  5. Praxthisnovcht
    Offline

    Praxthisnovcht Notable Member Plugin Developer

    Joined:
    Mar 10, 2014
    Posts:
    699
    Plugins:
    4
    Minecraft User:
    PraxHellTag
    you want to make a plugin API on the old or the new?
    Please give further details
  6. tonio602
    Offline

    tonio602 New Member

    Joined:
    Jan 31, 2015
    Posts:
    3
    New i grave up on the idea when i decided it was too hard
  7. Thunder33345
    Offline

    Thunder33345 Notable Member

    Joined:
    Apr 3, 2014
    Posts:
    755
    Minecraft User:
    Thunder33345
    Erm before you start let me tell you that this is a outdated format

    hint use delayed tasks
  8. archie426
    Offline

    archie426 Active Member

    Joined:
    Apr 26, 2015
    Posts:
    193
    Minecraft User:
    archie426
    I like ur idea. I'm sure someone could integrate it into EssentialsPe. Your plugin.yml should look like this (just change the name and the perms and commands. USE COMMON SENSE (not the one by the amazing SOFe)
    upload_2016-9-10_17-49-26.png
    XShockinFireX likes this.
  9. tonio602
    Offline

    tonio602 New Member

    Joined:
    Jan 31, 2015
    Posts:
    3

Share This Page

Advertisement