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

How to make a timer

Comments in 'Plugin Development' started by LoveToBeDev, Sep 5, 2015.

  1. LoveToBeDev
    Offline

    LoveToBeDev Active Member

    Joined:
    Aug 19, 2015
    Posts:
    55
    Minecraft User:
    LoveToBeDev
    Hello guys, how can i make a timer for a minigame or something like that, i mean, i developed everything else from the minigame, now, i just left the timer, can someone help me please?? thanks :D

    p.s: dont comment anything about: "learn php" or things like that, that does not help at all.
    thebigsmileXD likes this.
  2. Gamecrafter
    Offline

    Gamecrafter

    Joined:
    Nov 20, 2014
    Posts:
    978
    Plugins:
    9
    Learn PHP. :p And don't tell me not to say it, it actually does help. It lets you understand the code that people will give you. You're just trying to take shortcuts(by asking people to just give you the code directly, and then you blindly copy the code without understanding how it works). Also, try using the search bar. Your post about timers isn't the first on this forum, and it definitely won't be the last.
    Andrey Nazarchuk likes this.
  3. TonyDroide
    Offline

    TonyDroide Active Member Plugin Developer

    Joined:
    Jun 5, 2015
    Posts:
    122
    Plugins:
    1
    Minecraft User:
    TonyDroidd
    Please, don't answer if you will not help.
    thebigsmileXD and LDX like this.
  4. Gamecrafter
    Offline

    Gamecrafter

    Joined:
    Nov 20, 2014
    Posts:
    978
    Plugins:
    9
    Stay out of this, and try quoting my entire post next time. :p
  5. TonyDroide
    Offline

    TonyDroide Active Member Plugin Developer

    Joined:
    Jun 5, 2015
    Posts:
    122
    Plugins:
    1
    Minecraft User:
    TonyDroidd
    Create a scheduleDelayedTask :)
  6. Gamecrafter
    Offline

    Gamecrafter

    Joined:
    Nov 20, 2014
    Posts:
    978
    Plugins:
    9
    That alone won't help him. He wants full code, and tell him to look around before creating a new thread.
  7. LoveToBeDev
    Offline

    LoveToBeDev Active Member

    Joined:
    Aug 19, 2015
    Posts:
    55
    Minecraft User:
    LoveToBeDev
    Gamecrafter IM ASKING ABOUT THE POCKETMINE API NOT ABOUT LEARNING PHP UNDERSTAND THAT THING!!!!!!!!!! HELP PEOPLE UNDERSTAND THE API! I KNOW THE GOD DAMN PHP!!!!!
  8. Gamecrafter
    Offline

    Gamecrafter

    Joined:
    Nov 20, 2014
    Posts:
    978
    Plugins:
    9
    If you know PHP, then why don't you use the search bar? o_O Or read the docs: docs.pocketmine.net. Or just look in other plugins' code.
  9. Hotshot_9930
    Offline

    Hotshot_9930 Notable Member Plugin Developer

    Joined:
    May 26, 2014
    Posts:
    665
    Plugins:
    2
    Minecraft User:
    HotshotHD
    Instead of telling him to learn php why not go through a timer step by step with him? This way he wont "blindly copy and paste"
  10. Gamecrafter
    Offline

    Gamecrafter

    Joined:
    Nov 20, 2014
    Posts:
    978
    Plugins:
    9
    Why should I go through a timer step by step with him? There's already many threads showing how to use/make a timer.
  11. MCPEPIG
    Offline

    MCPEPIG Notable Member

    Joined:
    Jun 22, 2014
    Posts:
    349
    Minecraft User:
    MCPEPIG
    RepeatingTask* :p
  12. jojoe77777
    Offline

    jojoe77777 Notable Member Plugin Developer

    Joined:
    May 28, 2015
    Posts:
    653
    Plugins:
    1
    Minecraft User:
    jojoe77777
    :OO Don't use outdated docs. Use this for docs.
    Andrey Nazarchuk likes this.
  13. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    If you don't want to, just don't reply. You're getting a bit spamming
  14. Gamecrafter
    Offline

    Gamecrafter

    Joined:
    Nov 20, 2014
    Posts:
    978
    Plugins:
    9
    I do admit that I'm getting a bit spammy. But this guy was too lazy to use the search bar, because there are many threads discussing timers, and there are examples in those threads too. We have a search bar for reason. :p
    Andrey Nazarchuk likes this.
  15. LoveToBeDev
    Offline

    LoveToBeDev Active Member

    Joined:
    Aug 19, 2015
    Posts:
    55
    Minecraft User:
    LoveToBeDev
    im not lazy bro, im asking help to people that actually knows a lot about this
  16. Gamecrafter
    Offline

    Gamecrafter

    Joined:
    Nov 20, 2014
    Posts:
    978
    Plugins:
    9
    It's not that we don't want to help you, but there are already threads showing how to make and use timers. So there's no point in creating a new thread, there's already one you can look at.
  17. BalAnce
    Offline

    BalAnce Active Member

    Joined:
    Mar 10, 2015
    Posts:
    125
    Minecraft User:
    BalAnce
    Since it's so easy to use the search bar as you say and since you seem to have plenty of time posting crap. Why don't you link him to a few other threads and help him out. Just an idea
  18. Gamecrafter
    Offline

    Gamecrafter

    Joined:
    Nov 20, 2014
    Posts:
    978
    Plugins:
    9
  19. thebigsmileXD
    Offline

    thebigsmileXD Banned

    Joined:
    May 19, 2015
    Posts:
    845
    Plugins:
    1
    Minecraft User:
    XenialDan
    I also just searched for a timer. Thanks for linking this @luca28pet
    @Gamecrafter i saw you doing that several times now.. I mean posting comments like "learn php" or "look at other plugins" instead of actually helping. Complaining that people cant search is incorrect, simply help them by LINKING it! Most times you fill a threat around 50% by pointless posts.

    I also just searched for a timer for my plugin. @luca28pet posted something that helped.
  20. thebigsmileXD
    Offline

    thebigsmileXD Banned

    Joined:
    May 19, 2015
    Posts:
    845
    Plugins:
    1
    Minecraft User:
    XenialDan
    I just also got my timer to work, sending the code later :)

Share This Page

Advertisement