Upcounting Timer Plugin

Discussion in 'Plugin Requests' started by VNGC, Feb 11, 2020.

  1. Online


    Plugin category: IDK

    Minecraft version: 1.14.4

    Suggested name: ChallengeTimer

    What I want: I'd need a Plugin , with that i can start an Timer with "/timer resume", that is showing in Scoreboard, or even better in the Actionbar above the GUI. with "/timer pause" it should get paused, and with "/timer reset" it should resetted to 0. If possible, the Damage should be deactivated, when the timer is paued, and the player should have an Nice-looking perma-effect under him.

    Ideas for commands: /timer resume, /timer pause, and /timer reset

    Ideas for permissions: challenges.timer

    When I'd like it by: Asap

    Ps. I would appreciate too, if you can just upload me a code, so i can put it in my own plugin, but isnt a must, its free to you of course!
    Last edited: Feb 11, 2020
  2. Online


  3. Offline


    I can probably make this one for you. So to clarify, you want 3 commands and the timer just starts counting upwards when you start the timer, you can pause and reset. If you have it paused then the player can't take any damage right?

    Is this timer player specific, does everyone has their own timer? Does your own time only show up in your boss bar?
    Last edited: Feb 23, 2020
  4. Online


    Yeah everything is right, but everyone should have the same timer. And can you just send me the code? So i can put it in my own plugin :)


    Sent from my ANE-LX1 using Tapatalk
  5. Online

    timtower Moderator Moderator

    Why not ask for help in plugin development then?
  6. Offline


    If you wan to develop the plugin you should ask for plugin development. Here is the latest version with permission (
    challenge.timer) and the timer. If you have more things added, reply, otherwise mark the thread as Filled.

  7. Online


    @timtower because i dont know how to do it, and a few answers wont help me understand it. but here i have the plugin now, but if it was possible, i could put in my own PL, so i dont have a plugin just for timer.

    @Michel_2001 i got this error in console while loading the Plugin:

    org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: nl/michelhamelink/challengetimer/Main has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 52.0

    idk what it means.
  8. Online

    timtower Moderator Moderator

    Having a plugin for a specific task is not weird, it is preferred because then not everything breaks at the same time.

    @Michel_2001 Recompile with a lower java version or let @VNGC update his.
  9. Online


    well i heard it wouldnt be good because it takes more ram. but idk.

    uhm my server is online-hosted at zap hosting. i think i cant do anything with java version if you dont mean the java i installed on my pc
  10. Online

    timtower Moderator Moderator

    The amount is neglectable.

    And then the plugin needs to be downgraded, or you need to poke your host because 52 is java 7 I believe and you can't really download that anymore.

    EDIT: Correction, 52 is java 8
    Last edited: Feb 24, 2020
  11. Online


    Uhh btw what is this "quoting" doing? Dont know much about forums

    Sent from my ANE-LX1 using Tapatalk
  12. Online

    timtower Moderator Moderator

    It gives a quote and a notification to the one you quote.
  13. Online


    @timtower can i decompile it by myself in any way with eclipse?
  14. Online

    timtower Moderator Moderator

    That would be rude towards the developer.
  15. Online


    if i just recompile it in another java version? alright, then i will wait for an answer from him
  16. Offline


  17. Offline


  18. Online


    ty, now it works!

    but there are a few things, maybe you can fix it:

    1. sometimes i still get damage, too if timer is paused.

    2. maybe you can disable the "/timer start" command, and let "/timer resume" start and also resume the timer if its paused.

    3. maybe you can set the time format in the actionbar to "hours:minutes:seconds" / "00:00:00", and if its paused set "timer is paused", which is permanent showed

    then it would be perfect.

    but everything else is working perfectly.

    thank you!
  19. Offline


  20. Online


    @Michel_2001 thank you, now working perfectly!
    maybe you want to upload it to spigot/bukkit, i think theres no such plugin.

    much thanks, and thread can maked as solved, as idk how to do this!
  21. Offline


    No problem!

    Yeah maybe some time I add some configuration and changes and publish is on spigot/bukkit to that other people can
    use it too.

    If you have any tweaks and the thread is closed you can send me a message or reopen.
    Byebye :)
  22. Online


    @Michel_2001 i got one "problem" now.

    ~i would like if the damage is disabled too, if the timer is not started.

    ~maybe you could rename the Chat-Messages on Commands:

    /timer reset - "Timer wurde resettet"
    /timer pause - "Timer wurde pausiert"
    /timer resume - "Timer wurde gestartet"
    or maybe add a config where i could rename it by myself.
    (because im german, and the guys who are playing with me are worried sometimes)

    ~maybe you can stop the timer automatically if the Ender Dragon is killed.

  23. Offline


    Hey I can work on this somewhere this week and probably have it done by the weekend. So if I understand correctly you want players to not be able to take damage when the timer is not running, is that right? If I do this you know that a player can't take damage if the timer is running.
  24. Online


    By the way, other people on my server said that they dont see the timer if i started it. Could you make it visible for all players?

    Gesendet von meinem ANE-LX1 mit Tapatalk
  25. Offline


    I'll implement it, but you need to specify it better next time though :p, you didn't say that everyone should be able to see the timer but now I understand the general idea. One persons starts the global timer that everyone can see.

    I hope to have it finished somewhere during next weekend!
  26. Online


    Yeah that's right. Thank you!
    Last edited: Mar 5, 2020
  27. Offline


    Hey, I added everything from your last post except the config or German translations, haven't had the time to do so, I'll probably do it somewhere next week, but everything else should be working fine know. If you experience any problems then let me know!


Share This Page