[Inactive] [EDIT] PaintingSwitch v0.4 - Scroll through paintings [1185]

Discussion in 'Inactive/Unsupported Plugins' started by MadMonkeyCo, Jul 4, 2011.

  1. Offline

    MadMonkeyCo

    PaintingSwitch
    This plugin was originally created by Edward Hand (credits go to him!) but I updated it due to a request. It simplifies the selecting of paintings and saves alot of time. Permissions are supported.

    Features:
    • Allows you to scroll through paintings by aiming at them and using the mouse wheel.
    • Permissions support ("PaintingSwitch.use").
    • Configurable!
    Configuration:
    • useSneak: If set to true (default) it will only switch paintings if you sneak, false means it will only switch paintings if you are not sneaking.
    • itemID: If set to -1 (default) it will switch paintings no matter what item you have in hand. Otherwise it will only scroll when you have the specified item in hand. I have yet to find a way to make sure you don't switch items when using this function.
    Downloads:
    Changelog:
    Version 0.4
    • Permissions are once again supported :)
    Version 0.3
    • Added a configuration file.
    • Option to use sneak and a certain item in hand.
    • No permissions with the 1.8 update. :(
    Version 0.2
    • Permissions support!
    Version 0.1
    • Re-releasing this awesome plugin.
     
  2. Offline

    fletchy104

    Thank you this is so awesome :p
     
  3. Offline

    Draconicus

    IT'S BACK! YAAAAAY!
     
  4. Offline

    jmcneely

    Great plugin, I always hated placing and breaking over and over again just to get the right painting.
    The only thing I see wrong with it is the item feature. Its a bit harder if you set an item ID, when you scroll on the painting it also scrolls in your inventory and you have to keep going back to the item to change the painting.
     
  5. Offline

    Celtic Minstrel

    Ah yes, you should probably cancel the item change event or something in that event...
     
  6. Amazing! Simple & Effective! Thanks!
     
  7. Offline

    MadMonkeyCo

    The event isn't cancellable and I haven't had the time to search for a backway. :(
     
  8. Offline

    dillon1005

    Someone should make a plugin for so when u place painting people online cant break it or take it but u can still break it. i thaght of it because people online always breaks mine a takes it.
     
  9. woah! I have missed that someone updated this and made it with the "shift"option.
    Thank You!!!
     
  10. Offline

    RGadelha

    Hey @MadMonkeyCo
    I love your plug-in so I'm asking you please to update to CB 1100 for it to work with MC 1.8 ?
     
  11. Offline

    khamseen_air

    @MadMonkeyCo
    Hey man, just testing out all the plugins we use on the CB dev builds for when they get the RB out. Thought I'd let you know, in the current dev build PaintingSwitch is throwing the following error when trying to use it.
    Code:
    [WARNING] Task of 'PaintingSwitch' generated an exception
    java.lang.NoSuchMethodError: net.minecraft.server.EntityPainting.h()Z
    	at is.madmonkeyco.PaintingSwitch.PaintingRespawner.run(PaintingRespawner.java:27)
    	at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:439)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    The painting disappears in game like it used to before you forked this plugin.
     
  12. Offline

    jeo

    same here :/
     
  13. Offline

    Celtic Minstrel

    Needs to be changed to i(), by the way.
     
  14. Offline

    Tanite

    1.8 called, it wants its paintings switched! (j/k)

    Just a friendly bump/me too :D
     
  15. Offline

    Nikademus

    Warning: Paintings are destroyed when this mod is used in 1.8.1/1185.

    Here's the server error:
    Code:
    2011-09-22 11:02:52 [WARNING] Task of 'PaintingSwitch' generated an exception
    java.lang.NoSuchMethodError: net.minecraft.server.EntityPainting.h()Z
        at is.madmonkeyco.PaintingSwitch.PaintingRespawner.run(PaintingRespawner.java:27)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:439)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  16. Offline

    RGadelha

    The same happened to me but I had a backup.

    @MadMonkeyCo
    Please, update to CB for 1.8.1 :)
     
  17. Offline

    jmcneely

    I was about to post something, but I see everyone else is having the same problem.
     
  18. Offline

    RGadelha

    @MadMonkeyCo
    Your plug-in is unique so please update it to CB RB #1185 :rolleyes:
     
  19. Offline

    khamseen_air

    There isn't much point posting multiple times to ask the same thing when he hasn't even been on the forums since the 30th of August. :)
     
  20. Offline

    RGadelha

    I like to do this way, so...:p
     
  21. Offline

    bear1717

    update to 1.8 PLEASE, getting the right painting is a pain now ;(
     
  22. Offline

    Trigonous



    :(
     
  23. Offline

    MadMonkeyCo

    I apologize for my absence, apparantly the website decided to stop sending me e-mails about replies. I have been on in September though I did not log in. I'll update the plugin this evening.
     
    Tanite, confuzzler, RGadelha and 3 others like this.
  24. Offline

    khamseen_air

    Awesome news, thanks! :D
     
  25. Offline

    Jiggy

    @MadMonkeyCo

    Thanks, was hoping u would update it, its realy awesome and easy to use plugin for when u want to search for a certain painting :D
     
  26. Offline

    MadMonkeyCo

    Ok it should work, although it's op only now. Version 0.4 will have Permissions support, what do you guys think is the best way of implementing permissions? With bPermissions or the default Bukkit API, I just want to hear your opinions.
     
  27. Offline

    stkeroro

  28. Offline

    Celtic Minstrel

    Default Bukkit API, because doing that will auto-support both bPermissions and PEX with no extra work on your part.
     
    Tanite likes this.
  29. Offline

    Chromana

    I personally use Pex but you should do what Celtic Minstrel said (above).

    Thanks for you hard work :)
     
  30. Offline

    ratty

    this
     
  31. Offline

    MadMonkeyCo

    @Celtic Minstrel Yeh I thought that would be wisest. I'll try to work on it tomorrow.
     
    RGadelha likes this.

Share This Page