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

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

  1. Offline

    TnT

    The only issue I can see with this plugin, is you link to a tar.gz file. For us Linux users, this is a no brainer, but for Windows users, they're going to get stuck (yes Winrar and 7zip work well, but the easiest possible download would be preferred - Windows will open zip files with no other software needed). Personally, I like seeing download links directly to the jar file itself. If you change up the link to a zip or a jar, I'll move it - I don't see any other reason why it shouldn't be moved.
     
  2. Offline

    Edward Hand

    fixed
     
  3. Offline

    Zankou666

    Nice! Works great
     
  4. Offline

    alexjj

    I'm sure Jesus College would ban minecraft if they knew about it...maybe they will in Easter Term!
     
  5. Offline

    Edward Hand

    You're not the first person to track me down like that. It never stops being a little creepy though...
    How did you do it? Using my webspace?
     
  6. Offline

    Dawodo

    Well... can't we talk about it? ;)
    If you are running a Server with random people, you NEED some kind of Permission Handling. If you really do not want to add some Permission Nodes, can you then at least add some chat commands to start and end a editing session? I would really appreciate it.
     
  7. Offline

    JohnnyR

    This may be a really stupid question, but as of now is there an easy way to use your own images as paintings? Just edit the image file responsible for the current ones?
     
  8. Offline

    Edward Hand

    Not without a client mod for every user I'm afraid.
     
  9. Offline

    JohnnyR

    Dur, of course. The art/textures are all on the client side. Hence why people can use their own texture packs. Sorry for the dumb question =)
     
  10. Offline

    QQCucumber

    I get this error every so often on 493, not sure why.

    Code:
    2011-03-05 10:01:30 [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:171)
    	at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:245)
    	at org.bukkit.util.BlockIterator.<init>(BlockIterator.java:280)
    	at org.bukkit.craftbukkit.entity.CraftLivingEntity.getLineOfSight(CraftLivingEntity.java:84)
    	at org.bukkit.craftbukkit.entity.CraftLivingEntity.getTargetBlock(CraftLivingEntity.java:110)
    	at com.edwardhand.paintingswitch.PaintingListener.onItemHeldChange(PaintingListener.java:33)
    	at org.bukkit.plugin.java.JavaPluginLoader$14.execute(JavaPluginLoader.java:190)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:554)
    	at net.minecraft.server.Packet16BlockItemSwitch.a(SourceFile:24)
    	at net.minecraft.server.NetworkManager.a(SourceFile:230)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
    Also, I do wish players could toggle whether or not they want the painting switch functionality turned on for themselves or not, so that accidentally turning something into something else doesn't happen. (Also for it to toggle off on log out).
     
  11. Offline

    Jiggy

    I hope there also will come a permission in it, plugin developper please make it >.<
     
  12. Offline

    Zaonhort

    As others have mentioned permissions (group manager) would be nice to add. However for me, since all I have is a laptop, I cannot scroll, and so some keyboard alternative or something would be a nice addition.
     
  13. Offline

    Edward Hand

    Since permissions are so popular I can see about adding it.
    As for not being able to scroll, just sliding your finger along your number keys will have the same effect.
     
  14. Offline

    PipeHead

    could you get rid of the long constructor too?
     
  15. Offline

    Edward Hand

    Yes. That's been fixed a while. Redownload and it will be gone.
     
  16. Offline

    alexjj

    Your webspace shows your userID/email address (I've forgotten what it's really called) which is then useful for validating which Edward Hand you are on the Jackdaw email search. You can opt out of it if you want. http://jackdaw.cam.ac.uk/mailsearch/
     
  17. Offline

    Edward Hand

    Ah. Clare College. Masters in Chem Eng. That explains it then.
     
  18. Offline

    Jiggy

    thanks for adding the permissions soon _O_
     
  19. Offline

    narrowtux

    That's _the_ number one question. I've decided to wait with permissions support for new plugins until it's officially supported by bukkit.
     
  20. Offline

    beanbeam

    What if scrolling was only allowed for a given painting for a short time after it is placed? I'm not sure how hard that would be to implement, but it could prevent accidental painting changes.
     
    Kartus likes this.
  21. Offline

    Rilly

    Mine works, but in the console, it doesn't say its loading - should it?

    Also.. i notice a few posts where you say to redownload - things were fixed - is it still version 0.1?

    The only reason i ask, is that I forget which versions I download, and when updates come around, I check my console to see what version I have. (Is there an easier way to keep track of plugins and which versions?)
     
  22. Offline

    Edward Hand

    It only says it loading if the plugin author manually tells it to say that (and sometimes I forget). It should be fairly obvious whether or not its working when you try and use it. Does it work?


    And as for versions, perhaps I should have changed it, but like plugin authors I don't bother releasing a whole new version for very minor changes very soon after the release of the last one. There haven't been any updates in a while though so you should be safe.

    There is a plugin (CraftBukkitUpToDate) which keeps track of plugin version for you. Eventually, fill.bukkit.org will do this for you as part of bukkit.
     
  23. Offline

    DeepDarkness

    This is a wonderful plugin :)
     
  24. Offline

    Shenlong

    I'm getting spammed with the below error. As far as I can tell it's not actually causing any problems. Great plugin otherwise.

    Edit: Almost forgot to mention I'm using the latest Recommended Build (556) and I should have the latest version of the plugin (I use CraftBukkitUpToDate).

    Show Spoiler
    15:41:23 [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(CraftL
    ivingEntity.java:86)
    at org.bukkit.craftbukkit.entity.CraftLivingEntity.getTargetBlock(CraftL
    ivingEntity.java:112)
    at com.edwardhand.paintingswitch.PaintingListener.onItemHeldChange(Paint
    ingListener.java:33)
    at org.bukkit.plugin.java.JavaPluginLoader$14.execute(JavaPluginLoader.j
    ava:227)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:580)
    at net.minecraft.server.Packet16BlockItemSwitch.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
     
  25. Offline

    Edward Hand

    Hmmm. That looks like the kind of thing that would be a bukkit bug rather than a plugin bug but I'll certainly look into it.
     
  26. Offline

    MikeC2103

    Great plugin!

    A suggestion on how it works.

    Allow a right-click of the painting to "lock" the painting until its removed from the wall. So accidental scrolling wont screw things up.
     
  27. Offline

    xlilcasper

    If you don't want to add permissions could you make it so you can only change paintings you place?
     
  28. Offline

    Dreadreaver

    so just destroy the painting, pick it up and place it yourself and you can scroll again :D
     
  29. Offline

    Edward Hand

    That would turn what is a very lightweight plugin into a plugin with a massive footprint, having to keep records of who owns every painting ever.
     
  30. Offline

    hitandrun160

    This is amazing.
    I don't do java much but I can really appreciate the idea behind this!

    Thanks! :)
     

Share This Page