RedstoneJukeboxTrig
RedstoneJukeboxTrig
Tired of having your boring jukeboxes do nothing, but sit there until you have to bother yourself to get up and replace the record? Well not any more! RedstoneJukeboxTrig or Redstone Jukebox Trigger allows you to easily play a record in your jukebox by just powering it!
What this plugin does:
Basically, this plugin uses redstone to trigger jukeboxes. Simple as that. However, this does have some things going for it. The jukeboxes will loop if attached to a redstone pulser or redstone clock. When it gets to the end of the song, it will react to the redstone wire instead of restarting from the beginning every time it's powered. Note: This will not play records that are not in the jukebox. You need to already have a record in the jukebox for it to work.
How to install:
- Download the .jar file
- Place in plugins folder
- Enjoy!
Video Demonstration Courtesy of ghaz1ranka:
http://www.youtube.com/watch?v=KdQqO8zDwGc
To Do:
- Add looping if jukebox stays powered
- Fix small time gaps before songs can repeat again
Just wondering if there is any intent to update this to work with CB 1.3.2 -R1.0 ?
@arkdengal
Hmm, I will have to look into that. Have you tried waiting for 5 or so minutes to see if it works after that?
i really like this plugin but for whatever reason if the chunk unloads or the player logs out/in the jukebox no longer responds to redstone
i would like 2 see this hope ull make it soon :D thx already
To Do:
Add looping if jukebox stays powered
I would also be interested in this plugin if it had permission node(s). Thanks and keep up the good work ^^
@re4397
All players, no permissions.
tell us if only op can use or all players ? Permissions?
@kozzy68
When a player logs out it auto-cancels the playing of the jukebox for them. It won't re-trigger the playing of the jukebox until the "server" recognizes that the song has ended. Sadly, I can't start a song for one player only.
Hi, when player logs in after jubox is already playin he cant hear or he cant trigger it But its probably bukkit thing. Thanks for great plug
@walty123
So sorry about the delay, but currently there is no way to make a jukebox loop without a redstone pulse that occurs every short amount of time. I'm working on auto-looping, but due to the length, I don't really want to use scheduled tasks.
@walty123
To Do:
Add looping if jukebox stays powered
I don't understand how to make the jukebox play songs a loop... Sorry my poor english
Nevermind.
@ihasamoose
Sorry I took so long :)
@cheddar262
Lovely. Stuck one in our spawn! :)
@ihasamoose
I'll check it out. Thanks! (Oh, that's what I fixed, lol)
@ihasamoose
That's a minecraft limitation, and I can't make the jukebox replay for one person only.
Works, cheers! But if the player isn't there when it starts, they don't hear it. Any way to change that?
I'll try it out. Sorry for being so late, but I found an error log when I was browsing my console last night..
2012-02-04 22:55:32 [SEVERE] Could not load 'plugins/RedstoneJukeboxTrig.jar' in folder 'plugins': java.lang.UnsupportedClassVersionError: me/cheddar262/RedstoneJukeboxTrig/RedstoneJukeboxTrig : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:131) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:285) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:200) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:156) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:132) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:52) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
@ihasamoose
I believe I fixed it, hope you like it!