[INACTIVE][EDIT] PaintingSwitch v0.1 - Choose paintings with ease [672]

Discussion in 'Inactive/Unsupported Plugins' started by Edward Hand, Feb 24, 2011.

  1. Offline

    Jayjay110

    lol... "Could it be any more simple..." ITT: your next challenge is to make it change just by thinking of the picture... :D good luck... jkes its good as ty :D GREAT WORK + 1 Internets
     
  2. Offline

    khamseen_air

    Just thought I'd let you know I've tested this on 617 and it's working.
     
  3. Offline

    Edward Hand

    Thanks!
     
  4. Offline

    khamseen_air

    @Edward Hand
    Hey, I know I said this was working, and it does appear to be, but I've just noticed a small bug, if someone is holding something and they try to change the picture, this pops up in the server log. Still works, but not sure what the log entry is about.
    Code:
    [SEVERE] Could not pass event PLAYER_ITEM_HELD to PaintingSwitch
    java.lang.IllegalStateException: Start block missed in BlockIterator
    	at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:169)
    	at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:243)
    	at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:278)
    	at org.bukkit.craftbukkit.entity.CraftLivingEntity.getLineOfSight(CraftLivingEntity.java:86)
    	at org.bukkit.craftbukkit.entity.CraftLivingEntity.getTargetBlock(CraftLivingEntity.java:112)
    	at com.edwardhand.paintingswitch.PaintingListener.onItemHeldChange(PaintingListener.java:33)
    	at org.bukkit.plugin.java.JavaPluginLoader$14.execute(JavaPluginLoader.java:247)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:529)
    	at net.minecraft.server.Packet16BlockItemSwitch.a(SourceFile:24)
    	at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    :)
     
  5. I would like an option so that you have to hold shift while scrolling. :)
     
    beanbeam likes this.
  6. Offline

    lordemperor

    Great plugin, this has probably saved me hours.

    I agree with the other posters who suggested a time or action based lock on switching.
     
  7. Offline

    The PC Tech Guy

    I'd like at least a fallback on ops.txt or something, because then anybody can edit anybody's paintings. Or maybe a command. Something like that.
     
  8. Offline

    Bashur

    Amazing work, thank you very much.
     
  9. Offline

    RazorFlint

    SWEET !
     
  10. Offline

    khamseen_air

    Tried and tested on 670, seems to be working. :)
     
  11. Offline

    Travis_Hironak



    I agree with Cnuut, that would be convenient. I like this plugin but it's sometimes displeasing to change paintings unintentionally.
     
  12. Offline

    DemmyDemon

    I just want to add a "me too" to the sneaking/"holding shift" bit.
    Should be a simple change to check the boolean org.bukkit.entity.Player.isSneaking()
    I've only recently started hosting and writing plugins, with exactly zero releases myself. If it's more involved than that, feel free to ignore me.

    Either way you slice it, this is one very nice plugin. My wife is always complaining about placing pictures 384 times to get the right one, and now she finally doesn't have to.

    Thank you!
     
  13. Offline

    BangL

    2011-04-14 23:10:24 [SEVERE] Could not pass event PLAYER_ITEM_HELD to PaintingSwitch
    java.lang.IllegalStateException: Start block missed in BlockIterator
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:169)
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:243)
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:278)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.getLineOfSight(CraftLivingEntity.java:86)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.getTargetBlock(CraftLivingEntity.java:112)
    at com.edwardhand.paintingswitch.PaintingListener.onItemHeldChange(PaintingListener.java:33)
    at org.bukkit.plugin.java.JavaPluginLoader$14.execute(JavaPluginLoader.java:282)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:561)
    at net.minecraft.server.Packet16BlockItemSwitch.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    2011-04-14 23:10:25 [INFO] Stopping server
     
  14. Offline

    atlem

    nice love it , tobad everyone can change your paintings, need i protection system, like the one used on signs
     
  15. Offline

    Edward Hand

    That's no different to how things are without the plugin installed.
    I know of no plugin that protects against painting destruction.
     
  16. Offline

    atlem

    i cant say i seen one yet so that something we need , a paiting protect system , lets hope thay make one soon . even antibuild dosent stop grifers from grifing paintings
     
  17. Offline

    BigRenegade

    Great mod! Works just fine with #670. Keep up the good work!
     
  18. Offline

    Travis_Hironak

    Any chance to have the holding shift option added to this plugin ? I'm not the only one who want it, so if you don't want to add it please tell us. Thanks.
     
    beanbeam likes this.
  19. Offline

    heroanth2345

    thx great plugin continue your great work dude
     
  20. Offline

    BangL

    Fail.. it starts without errors, but it crashes the server while running.
     
  21. Offline

    BigRenegade

    I'm running #670 and I haven't had a single problem with it. It works just fine. May be there is a conflict with another mod you are using.
     
  22. Offline

    jamescosten

    Thank you works Brilliantly, Simple and elegant.
     
  23. Offline

    baunegaard

    +1
     
  24. Offline

    khamseen_air

    @Edward Hand Got this running on RB 684 without any problems.
     
  25. Offline

    AFakeman

    Waiting for 695 support.
     
  26. Offline

    robin0van0der0v

    @Edward Hand: Could you please fix this for Craftbukkit 714? :)
     
  27. Offline

    AFakeman

    Update it please!
     
  28. Offline

    fuzzycut

    Is it eating your paintings too?
     
  29. Offline

    robin0van0der0v

    Yes. :eek:
     
  30. Offline

    emoknight

    can u plz update this plugin CB 714 ??

    Code:
    2011-04-14 23:10:24 [SEVERE] Could not pass event PLAYER_ITEM_HELD to PaintingSwitch
    java.lang.IllegalStateException: Start block missed in BlockIterator
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:169)
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:243)
    at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:278)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.getLineOfSight(CraftLivingEntity.java:86)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.getTargetBlock(CraftLivingEntity.java:112)
    at com.edwardhand.paintingswitch.PaintingListener.onItemHeldChange(PaintingListener.java:33)
    at org.bukkit.plugin.java.JavaPluginLoader$14.execute(JavaPluginLoader.java:282)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:561)
    at net.minecraft.server.Packet16BlockItemSwitch.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    
     

Share This Page