JukeLoop
[ English | Français ]
Accept no substitutes. This is the Jukebox plugin you've been looking for. JukeLoop makes Minecraft's jukeboxes incredibly cool. They will constantly play on a loop, optionally cycling through discs in a chest or attached hopper. They automatically start when your server restarts and when any player is nearby. Furthermore (and new in version 0.1.4) disc changing can be triggered by a redstone pulse!
Features
- Built-in auto-update functionality
- Records will start playing automatically even after a server restart. (locations of jukeboxes stored in config)
- Punch the jukebox to skip the song, or apply a redstone pulse!
- Rotate through records in a chest placed adjacent to the jukebox
- jukeboxes will place played discs in a hopper if there is one directly below
- jukeboxes will take discs from an attached hopper
Commands
- None
Permissions
- 'jukeloop.use' - players with this permission will automatically have their jukeboxes repeat.
Tutorial
Source Code & Development Builds
Source code is available on Github
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
Other Plugins
- PortableHorses - your trusty steed in your back pocket.
- Build-in-a-Box - self-constructing buildings that can be picked up and relocated.
- Scribe - Transfer enchantments from items to books using an anvil
- EnhancedFishing - Adds tons of fishing enhancements including complete control over the bite chance.
- PotatoBombs - Allows players to craft poisonous potatoes into devastating and hillarious magical landmines.
- SilentAlarms - Makes note blocks silent except to select people, who can hear them at any distance.
- Saddlebags - Adds an inventory to saddled pigs.
- SalvageSmelter - Allows furnaces to smelt down tools and armor.
- Compressors - Turn hoppers into 'block compressors'.
- Autocrafter - Turns droppers into redstone powered crafting tables.
@triarry
The duping bug is fixed in a development version but it has a few other bugs that need to be worked out before I can do another release.
This mod dupes CDs if you have a chest next to the jukebox with no CDs in it, and then "skip to the next song" (punch the jukebox.) You can make infinite of one CD this way which has forced me to remove this mod from my server.
2013-01-04 00:45:28 [INFO] [JukeLoop] Enabling JukeLoop v0.0.4
2013-01-04 00:45:28 [INFO] [JukeLoop] initializing jukebox@Spawn_0_28_5
2013-01-04 00:45:28 [SEVERE] Error occurred while enabling JukeLoop v0.0.4 (Is it up to date?)
java.lang.NullPointerException
at org.bukkit.Location.getBlock(Location.java:82)
at com.norcode.bukkit.jukeloop.LoopingJukebox.validate(LoopingJukebox.java:72)
at com.norcode.bukkit.jukeloop.LoopingJukebox.getAt(LoopingJukebox.java:33)
at com.norcode.bukkit.jukeloop.JukeLoopPlugin.loadData(JukeLoopPlugin.java:106)
at com.norcode.bukkit.jukeloop.JukeLoopPlugin.onEnable(JukeLoopPlugin.java:72)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.craftbukkit.v1_4_6.CraftServer.loadPlugin(CraftServer.java:282)
at org.bukkit.craftbukkit.v1_4_6.CraftServer.enablePlugins(CraftServer.java:264)
at net.minecraft.server.v1_4_6.MinecraftServer.j(MinecraftServer.java:321)
at net.minecraft.server.v1_4_6.MinecraftServer.e(MinecraftServer.java:300)
at net.minecraft.server.v1_4_6.MinecraftServer.a(MinecraftServer.java:259)
at net.minecraft.server.v1_4_6.DedicatedServer.init(DedicatedServer.java:149)
at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:399)
at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
This plugin is okay with the recent build right? 1.4.6 R0.3? I'm just wondering cause I seem to have an error I can't pinpoint upon on my server and I don't want it to be this plugin. I can't even begin to tell you how much, we the staff and even our players, love this ;)!
@xBladeM6x
definitely a possibility, but will require some of the same changes as Rat_Cat12's suggestion. There should be a new release up by the new year to address both requests.
Is there a way you could add it so that people can still cycle through disks, but not take them out? Like, somehow disable the ability to right-click disks out, WHEN next to a chest?
@Rat_Cat12
Definitely will do for the next release. It's a little more work than it should be, but won't take too long. check back before the new year.
Can you add a command instead of just a permission since I don't want all records I play to loop.
Thank you for keeping this updated
Awesome, have been looking for this for a long time!
@_Magno20_
The config file is only written when the server shuts down. make sure you have the jukeloop.use permission and it should loop just fine.
Hello just woundering if there is a problem with the plugin as I put it into the plugins file then stop my server then open it up and it dont want to work. It dont generate a jukeloop file for the config etc.
@sefff
Possibly in a future version, but for now I wanted to keep this plugin as simple as possible and stay within the bukkit api, hopefully the issues with players not hearing certain sounds can be addressed in a future server or client update, if not I may make a separate addon to work with this one that would tie into craftbukkit and try to hack around a lot of the issues.
Thank you for this!
EDIT: Works perfectly, but is there a way to set up multiple jukeloops through your world so if people walk down paths, the music will play on a different jukebox? We put one in one place and another far far away from the other one, although both worked, neither person could here the other's jukebox.
@DekuHero
Also it occurs to me that any spamming of the console would have been fixed with the latest 0.0.2 release, are you sure you have that? have you tested to see if the plugin actually works? the spamming you're seeing has no effect on the plugin functioning, its checking the distance to every online player, and when it fails (because the player is in a different world) it just assumes they're too far away to hear it, no harm is done.
@DekuHero
I have never used multiverse, so I dont know how it would affect a plugin like this, the only thing I do is measure the distance between 2 locations. Source code is on github if anyone is using multiverse and would care to submit a pull request. I won't be looking into this myself though, as I don't have a server with multiverse set up and installed.
not compatible with multiverse or any world management plugin.
it spams the console with " could not reach world [world]"
@xH3LLRAIZ3Rx
The config file is only saved when the server shuts down, so there will be nothing in it until then. If you place a jukebox and put a record in it, it should start playing, even if this plugin is completely broken, the record will play like it normally would (it just wont loop).
if it's not looping, you probably dont have jukeloop.use permission. if you do, then there should be some sort of error message in your logs when you try to insert the record, if you can provide any output from the plugin I'll try to investigate, but it seems to be working for myself and notif.
@metalhedd
Well i think thats a bug with the plugin, i put down a juke and put record in it nothing happens, also i look in location c.onfig and nothing
@xH3LLRAIZ3Rx
@xH3LLRAIZ3Rx
I'm not sure what you mean by that. All you need to do is place a jukebox and put a record in it. how would you 'set a jukebox location?'