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


    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

    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.

    • 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):

    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.


    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.


    Attached Files:

  2. Offline


    So to answer your question: Not at this moment in time.
  3. Offline


    Is there anyway to get rid of the "unknown console command" spam?

    edit* other than another plugin ;)
  4. Offline


    each time i enter a command it says back that it's an unknown console command
  5. Offline


    can you hook that plugin up to worldedit's "undo" function?
  6. Offline


    This.Looks.Awesome. When i get at home... HELL YEAH :D
  7. Offline

    tha d0ctor

    this or add any undo function please to be able to rollback witohut burning my pictures ;)
  8. Offline


    I need help with this plugin! I do not do graphics programming very well and want to add some more flexibility for image transformations (rotation). Right now I can only get images to render (reliably) vertically in the game world. Contact me if you can help."
  9. Offline


    this can never be this easy...can it?

    (just put x64 in the image resize thing in photoshop)

    Then it worked :D: (well kinda)


    i love you forever ^^
  10. Offline


    There is an undo function already. /copycat undo

    If the server is restarted, then the undo buffer is lost. I was not aware of a built-in one but will look into hooking it up.

    The fun way is to set it on fire, since its made of wool.

    The plugin can handle resizing. Did you try? Was there a stack trace output to the server console? Can you upload it?

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


    Where are the Permissions? :confused:
  12. Offline


    10:12:32 [INFO] piousminion issued server command: copycat add flower
    10:12:39 [INFO] piousminion issued server command: copycat copy flower
    10:12:39 [SEVERE] Error processing command
    java.lang.ArrayIndexOutOfBoundsException: -1
            at java.util.ArrayList.get(
            at net.minecraft.server.World.a(
            at net.minecraft.server.World.a(
            at net.minecraft.server.Chunk.a(
            at net.minecraft.server.World.setTypeId(
            at net.minecraft.server.World.e(
            at org.bukkit.craftbukkit.block.CraftBlock.setTypeId(
            at org.bukkit.craftbukkit.block.CraftBlock.setType(
            at org.bukkitmodders.copycat.util.MaterialTiles.setBlockMaterialToTile(
            at org.bukkitmodders.copycat.util.ImageCopier.draw(
            at org.bukkitmodders.copycat.listeners.CopyCatPlayerListener.doCopy(
            at org.bukkitmodders.copycat.listeners.CopyCatPlayerListener.performCommand(
            at org.bukkitmodders.copycat.listeners.CopyCatPlayerListener.access$000(
            at org.bukkitmodders.copycat.listeners.CopyCatPlayerListener$
            at java.util.concurrent.Executors$
            at java.util.concurrent.FutureTask$Sync.innerRun(
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
            at java.util.concurrent.ThreadPoolExecutor$
    Result image.

    It's done this with each image I've tried.
  13. Offline


    Nevermind. I got it. Thanks for this. Gonna test it out now.
  14. Offline


    15:32:44 [INFO] Done (0.195s)! For help, type "help" or "?"
    15:32:52 [INFO] RazorFlint [/] logged in with entity id 63
    15:32:52 [INFO] Loaded world: City
    15:32:59 [SEVERE] Nag author: '<NoAuthorGiven>' of 'CopyCat' about the following
    : onPlayerCommandPreprocess has been replaced with a new signature, (PlayerComma
    15:32:59 [SEVERE] Error processing command
            at java.util.StringTokenizer.nextToken(Unknown Source)
            at org.bukkitmodders.copycat.listeners.CopyCatPlayerListener.performComm
            at org.bukkitmodders.copycat.listeners.CopyCatPlayerListener.access$000(
            at org.bukkitmodders.copycat.listeners.CopyCatPlayerListener$
            at java.util.concurrent.Executors$ Source)
            at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
            at Source)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
            at java.util.concurrent.ThreadPoolExecutor$ Source)
            at Source)
    15:32:59 [INFO] RazorFlint issued server command: copycat
  15. Offline


    Considering how MC is 16 bit when it comes to colors, that's pretty good.
  16. Offline


    I think this should be most important fix beacuse it is the the reccomended bukkit so it should work
  17. Offline


    i placed the file in the plugins folder took out the .jar folder and placed it in the plugins folder the i ran the server,then it generated a folder called copycats i open it and find a properties folder,i open it then it opens it up in the internet browser,when i point at the block in the game and type /copycat add <name> then i put my url in bitly then that shortens it the i write that but then i get UNKNOWN CONSOLE COMMAND!!!!! please please please please please HELP ME!
  18. Offline


    Error, see all of the above ....

    Cant even add an image....
    Doin something wrong? (This is a test, because of the short URL)

    /copycat add Kong

    Like this, Right? :S

    <?xml version="1.0" encoding="UTF-8"?>
    <cc:configFile xmlns:cc=""
    xsi:schemaLocation=" pluginSettings.xsd ">
    <playerPreferences playerEnabled="false" playerName="examplePlayer">
    <shortcut name="Kong" url="" />
    <shortcut name="anothershortuctname" url="file://aurl" />

    (My Config, Tried a LOT) RUnnin 670

    It gave the same error, when using default Config Q.Q

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


    Adding an image didn't work for me. The /copycat help command works, but when I try to add an image, it doesnt recongnise it as a command.
  20. Offline


    Amazing works great thx
  21. Offline


    Better than the original picture was!

  22. Offline



    For all those have been having trouble, the latest craftbukkit [670] introduced significant changes to the way commands are handled. It is still compatible with ugly messages, but I am working on an updated release. Cleanliness of commands should be improved and should have it ready in a day or two. Maybe even tonight. I also fixed a bug causing it to freak out when minecraft server is installed in a path with spaces in it.

    Stay tuned.
  23. Offline


    good job ill look forward for that :) AWESOME!
  24. Offline


    16-bit is ~65k colors. 8-bit is 256 colors. There are only 16 colors of wool. That's 4-bit.
  25. Offline


    i have one problem the plugin doesn't generate a folder.
  26. Offline


    I also keep getting the "unknown command" BUT i saw that you are working on fixing it. so, *HAPPY FACE!*
  27. Offline


    How do you set this up on your server? e.g. like putting it straight into your plugins folder or putting it into the minecraft_server.jar???
  28. Offline


    All plugins go in the plugins folder :)

    AAAHHHHH I want a simple image of my username to put on my castle but I can't find any text to image converters :'( I tried making one but I suck :(

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


  30. Offline


  31. Offline


    @Javanator : You're missing a download link, other than the attachment.

Share This Page