Inactive [EDIT] Copycat v1.0 - Render images from a URL [1.4.6-R0.4]

Discussion in 'Inactive/Unsupported Plugins' started by Javanator, Apr 12, 2011.

  1. Offline

    Javanator

    Copycat - Image to Block Renderer [1.4.6-R0.4]


    Version 1.0
    Sorry for the inconvenience, but I have moved the home of the plugin to this location to here.


    Version: v1.0

    Description:
    Copycat allows players to render images from a URL into the Minecraft world. Just target a block and type a command. I don't do documentation very well, but /cc help should be enough for you to figure it out. Configuration is XML based and human friendly for manual editing.

    Features:
    • Player defined shortcuts
    • World restriction
    • Administrative enablement/disablement
    • Administrative size clamping (in XML based config)
    • Transparency support
    • Block Profile support
    • Horizontal or vertical image orientation
    Download Here

    Source Code (SVN):
    https://bukkit-modders.googlecode.com/svn

    Having Trouble?
    If you are having trouble getting the plugin to work, you need to post some descriptive information, such a stack trace, what you were doing, command used, etc. Otherwise, you are most likely going to be ignored.

    Changelog:

    Version 0.6
    • Updated to conform with 1.2.3 API
    • Added a couple new blocks
    • Please delete your pluginConfig.xml to get support for the latest blocks
    Version 0.5
    • Performance and memory improvements
    • fixed help
    Version 0.4
    • Finally got horizontal image orientations to work.
    • Added fully parameterized image draw (not documented in help)
    • Removed memory resident config (no more reload necessary after editing .xml)
    • Added the ability to change the trigger command
    Version 0.3
    • Added block profile support in pluginConfig.xml
    • Fixed transparency loss on image scaling for palette based images (png and gif)
    • Added image scaling capabilities /set dimensions <width> <height>
    • Increased default image size and improved reliability in large image handling
    • DELETE your old pluginConfig.xml so that it is regenerated with a new one to support the new features
    Version 0.2
    • Delete your old .jar. I am now using a new filename for releases. CopyCat.jar
    • Fixed server path with spaces bug
    • changed command trigger from /copycat to just /cc
    • provided more helpful help and better argument checking
    • Added operator undo /cc op undo <playername>
    • Added config reload /cc op reloadConfig
    Version 0.1
    • Initial Release
    Usage Info:

    Target a block, which will become the lower left corner of your image. Then type the magic words:
    /cc mario or /cc shortcut copy mario

    Horizontal/Flat image orientation is based on your look angle. Look down enough at your targeted block and the image will be rendered beneath your feet.

    I added support for fully parameterized drawing. Use it at your own risk. I've tested it, but am unsure how it would work if coordinates for unexplored map areas are used, etc. The format for this is:
    • /cc shortcut copy <shortcut> <X> <Y> <Z> <yaw> <pitch>
    • Yaw is a rotation angle 0 < 360 degrees. It will be snapped to the nearest 90 degree angle
    • Pitch is the up/down angle. Use a number > 45 degrees to orient the image flat
    You may also change the command trigger from /cc to something else. To do this follow the below:
    1. Extract the contents of the CopyCat.jar -- Its just a zip file! rename it to .zip
    2. Edit the plugin.yml file
    3. change cc to whatever you like.
    4. Repack the .zip and rename to .jar again with your edited .yml file.
    I've set a reasonable maxImageWidth and maxImageHeight in the default pluginConfig.xml. If you increase it, beware. This will make your server cry for mercy. For example, a 300x300 image means changing 90,000 blocks, which is a pretty heavy operation.


    2011-07-21_18.20.37.png
    2011-07-18_10.18.03.png
     

    Attached Files:

  2. Offline

    CorruptEntity

    This is my favorite plugin I have EVER come accross now. Thank you sooooooo much for such a great plugin!
     
  3. Offline

    OOandrewOO

    Why is it a .zip? When I unzip it,it gives me a folder that is supposed to be a .jar
     
  4. Offline

    Keiaxx

    Just need permissions! if you don't have time to do it I will gladly do it using your sourcecode :D
     
  5. Offline

    Agent224

    I used the commands:
    /cc shortcut add Sniper http://tinyurl.com/6pv7rly
    Then I used /cc Sniper And then it said Error Reading Shortcut. PLease help

    I also used /cc enableworld NEWWORLD and then tried it again and it said World is Disabled. Then I tried /cc Sniper and it said World is Disabled. I am now confused

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  6. Offline

    j1sp



    Video - How To

    First :
    /cc shortcut add [name]

    Second : (not required)
    /cc set dimensions [width] [height]
    Third :
    /cc shortcut copy [name]
     
  7. Offline

    ~xXMelvinXx~

    Dear plugin developer,

    I really like this plugin and would love to see it compatible with mine craft 1.3. Would you please consider updating it as the 3 new colors of wood would allow for a lot more shades of brown and the new emerald block/ore would be great to fill in the gap between the very bright and very dark greens in the current mine craft. also, it would be really nice if you could add a feature that would allow us to render images from files we have on our computer (as opposed to from a url) because it would allow people to use their own custom sprites with much more ease. Great Plugin and Thanks in advance! -Melvin
     
  8. Offline

    ~xXMelvinXx~

    Even though it worked for me when i posted my last comment, now every time I load up my server I get this message:
    so... yeah. I tried editing the plugin.yml myself but it still didn't work. I hope this plugin isn't broken forever because I really liked it when it worked for me (which is wierd because it worked just fine recently on the same version)
     
  9. Offline

    Javanator


    You should be able to use local images by using the file:// URL syntax.

    I will see if the plugin requires updating with the latest version this week and put out an update if it does.
     
  10. Offline

    Arkhebes

    it sais ,, Something very unexpected happened'' !!
    Do i need permissions? Sry for my bad english
     
  11. Offline

    ratty

    In case anyone picks up the development on this plugin, it doesn't work on Java 7.

    Show Spoiler

    01:07:04 [SEVERE] 86970 [Server thread] ERROR org.bukkitmodders.copycat.plugin.AbstractCopycatCommand - Caught exception performing command with args: [rat1]

    01:07:04 [SEVERE] java.lang.IllegalArgumentException: Can't load standard profile: sRGB.pf
    01:07:04 [SEVERE] at java.awt.color.ICC_Profile$2.run(ICC_Profile.java:931)
    01:07:04 [SEVERE] at java.security.AccessController.doPrivileged(Native Method)
    01:07:04 [SEVERE] at java.awt.color.ICC_Profile.getStandardProfile(ICC_Profile.java:924)
    01:07:04 [SEVERE] at java.awt.color.ICC_Profile.getDeferredInstance(ICC_Profile.java:1071)
    01:07:04 [SEVERE] at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:843)
    01:07:04 [SEVERE] at java.awt.color.ColorSpace.getInstance(ColorSpace.java:298)
    01:07:04 [SEVERE] at java.awt.color.ICC_ColorSpace.fromRGB(ICC_ColorSpace.java:215)
    01:07:04 [SEVERE] at com.sun.imageio.plugins.jpeg.JPEGImageReader.setImageData(JPEGImageReader.java:635)
    01:07:04 [SEVERE] at com.sun.imageio.plugins.jpeg.JPEGImageReader.readImageHeader(Native Method)
    01:07:04 [SEVERE] at com.sun.imageio.plugins.jpeg.JPEGImageReader.readNativeHeader(JPEGImageReader.java:550)
    01:07:04 [SEVERE] at com.sun.imageio.plugins.jpeg.JPEGImageReader.checkTablesOnly(JPEGImageReader.java:295)
    01:07:04 [SEVERE] at com.sun.imageio.plugins.jpeg.JPEGImageReader.gotoImage(JPEGImageReader.java:427)
    01:07:04 [SEVERE] at com.sun.imageio.plugins.jpeg.JPEGImageReader.readHeader(JPEGImageReader.java:543)
    01:07:04 [SEVERE] at com.sun.imageio.plugins.jpeg.JPEGImageReader.readInternal(JPEGImageReader.java:986)
    01:07:04 [SEVERE] at com.sun.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:966)
    01:07:04 [SEVERE] at javax.imageio.ImageIO.read(ImageIO.java:1448)
    01:07:04 [SEVERE] at javax.imageio.ImageIO.read(ImageIO.java:1352)
    01:07:04 [SEVERE] at org.bukkitmodders.copycat.functions.ShortcutFunctions.doCopy(ShortcutFunctions.java:136)
    01:07:04 [SEVERE] at org.bukkitmodders.copycat.plugin.CopycatCommand.performCommand(CopycatCommand.java:67)
    01:07:04 [SEVERE] at org.bukkitmodders.copycat.plugin.AbstractCopycatCommand.onCommand(AbstractCopycatCommand.java:38)
    01:07:04 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    01:07:04 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
    01:07:04 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:492)
    01:07:04 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:880)
    01:07:04 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:826)
    01:07:04 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:808)
    01:07:04 [SEVERE] at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44)
    01:07:04 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:276)
    01:07:04 [SEVERE] at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
    01:07:04 [SEVERE] at net.minecraft.server.ServerConnection.b(SourceFile:35)
    01:07:04 [SEVERE] at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
    01:07:04 [SEVERE] at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:578)
    01:07:04 [SEVERE] at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:213)
    01:07:04 [SEVERE] at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474)
    01:07:04 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406)
    01:07:04 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
     
  12. Offline

    srakath

    I was pretty skeptical about this, especially for the lack of instructions.
    After using it, though, I've found that it really doesn't need a lot of instruction, past the in-game help.
    Works beautifully, so far.
    Thank you!

    Just look out, towards the horizon when you paste.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  13. Offline

    TeamGen0ez

    Every time i put /cc link
    it says bad url... please help! :(
     
  14. Offline

    Javanator

    I will be updating this plugin over the weekend. Stay tuned! Lots of changes will be happening that will make it more usable and friendly to all. Most notably, it will integrate into the Bukkit permissions system for server admins.
     
    Shroom_Agent_27 likes this.
  15. there is a spelling mistake inside your first screenshot, it says "/cc <shortcut name> - Same as /cc shortuct copy <shortcut name>"
     
  16. Offline

    Javanator

    I have moved this plugin to a new home. A new version has been released that integrates better with the bukkit help system and also adds permissions support.

    I am currently working on increasing image appearance by adding support for dithering. This will reduce banding effects in images and greatly increase accuracy.
     

Share This Page