Upcounting Timer Plugin

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

  1. Offline

    VNGC

    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. Offline

    VNGC

    Please.
     
  3. Offline

    Michel_2001

    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 at 3:28 PM
  4. Offline

    VNGC

    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 :)

    Ty

    Sent from my ANE-LX1 using Tapatalk
     
  5. Online

    timtower Moderator Moderator

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

    Michel_2001

    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.

    https://www.dropbox.com/s/9j8vzjgsx2peay5/ChallengeTimer.jar?dl=0
     
  7. Offline

    VNGC

    @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. Offline

    VNGC

    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 at 8:07 AM
  11. Offline

    VNGC

    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. Offline

    VNGC

    @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. Offline

    VNGC

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

    KarimAKL

  17. Offline

    Michel_2001

  18. Offline

    VNGC

    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

    Michel_2001

  20. Offline

    VNGC

    @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

    Michel_2001

    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 :)
     

Share This Page