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!
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?
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
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
@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.
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.
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
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
Uhh btw what is this "quoting" doing? Dont know much about forums Sent from my ANE-LX1 using Tapatalk
@timtower Lists of the major versions can be found here: https://stackoverflow.com/questions/9170832/list-of-java-class-file-format-major-version-numbers https://en.wikipedia.org/wiki/Java_class_file#General_layout
Hey @VNGC I think I downgraded the plugin to java version 8, have not done this before so please let me know if this works. Can't go lower as key functions in the code don't work. https://www.dropbox.com/s/9j8vzjgsx2peay5/ChallengeTimer.jar?dl=0
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!
Hey! 1. I've also added the damage disable, so when you paused the timer the player won't take damage. 2. So I got rid of the /timer start command, you can now run /timer resume to start the timer. 3. The time is now converted to hh:mm:ss Have fun https://www.dropbox.com/s/9j8vzjgsx2peay5/ChallengeTimer.jar?dl=0
@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!
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
@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. Greetings
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.
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
I'll implement it, but you need to specify it better next time though , 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!
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! https://www.dropbox.com/s/9j8vzjgsx2peay5/ChallengeTimer.jar?dl=0