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


    does this work for 953? if not can you plz fix so it work?

    this plugin powns shit of me

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


    Very nice and useful plugin.
  4. Offline


    anyone know the permission nodes?
  5. Offline


    doesn't work just gives me an error
  6. Offline


    Can you add a WGET compatible URL (direct - not attachment)?
  7. Offline


    what error?

    0.4 released. I finally got flat image rendering working. At minimum if you have trouble, delete your plugin folder and try again. Read the full post for how to edit the trigger command, drawing horizontally, etc. Good luck.

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


    I try to add the mario thing and I get this:

    Show Spoiler
    22:57:3722:57:37 [SEVERE] 255892 [Server thread] ERROR org.bukkitmodders.copycat.plugin.AbstractCopycatCommand - Caught exception performing command with args: [shortcut, copy, mario]

    [SEVERE] java.lang.NullPointerException
    22:57:37 [SEVERE] at org.bukkitmodders.copycat.functions.ShortcutFunctions.doCopy(
    22:57:37 [SEVERE] at org.bukkitmodders.copycat.functions.ShortcutFunctions.performFunction(
    22:57:37 [SEVERE] at org.bukkitmodders.copycat.plugin.CopycatCommand.performCommand(
    22:57:37 [SEVERE] at org.bukkitmodders.copycat.plugin.AbstractCopycatCommand.onCommand(
    22:57:37 [SEVERE] at org.bukkit.command.PluginCommand.execute(
    22:57:37 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(
    22:57:37 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
    22:57:37 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(
    22:57:37 [SEVERE] at
    22:57:37 [SEVERE] at net.minecraft.server.NetServerHandler.a(
    22:57:37 [SEVERE] at net.minecraft.server.Packet3Chat.a(
    22:57:37 [SEVERE] at net.minecraft.server.NetworkManager.b(
    22:57:37 [SEVERE] at net.minecraft.server.NetServerHandler.a(
    22:57:37 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    22:57:37 [SEVERE] at net.minecraft.server.MinecraftServer.h(
    22:57:37 [SEVERE] at
    22:57:37 [SEVERE] at
  9. Offline


    Does your shortcut exist?
    /cc shortcut list

    There seems to be a pretty critical bug that overrides the config .xml with an empty one whenever settings are modified. I will get this fixed asap.

    If you were one of the 35 people that downloaded yesterday's upload of 0.4, please re-download to receive the latest bugfix.

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


    not work

    19:25:14 [SCHWERWIEGEND] 1243 [Server thread] INFO org.bukkitmodders.copycat.Plu
    gin - CopyCat 0.4 Enabled
  11. Offline


    Guys Help Me Out! This Plugin DOesn WOrk ! CAn You Help ME?! iT doesn't show up just the /cc help! when i try a command it bring me up back to /cc help ! HEEEELP
    P.S.:Verry Fukin Nice Plugin!
  12. Offline


    You need to attach a stack trace from your server console for me to be helpful.
  13. Offline


    Have same problem, console doesn't give any error, when i type just any command i get command list,like /cc help dunno what to do. Need help. ^^
  14. Offline


    Figured it out guys!
    The help is out of date, you have to put "shortcut" before some commands.
    /cc shortcut list
    /cc shortcut add <name> <url>
  15. Offline


    indeed, it is out of date. I will fix it in the next update. I have in the meantime updated the help screenshot in the description.
  16. Offline


    tutorial please :)
  17. Offline


    Awesome :D

    Tho i find it a bit annoying how many diffrent blocks it uses.
    Fx: found a trollface (wow.. original) And when i /cc troll ingame a giant trollface appeared. BUT i found it weird how the plugin used blocks like, diamond ore etc when the picture was plain black and white.

    I guess its for shades nuances and stuff.

    Is it possible for me to make the plugin use nothing else than the wool ingame?
    (that way i can also set fire to what seems to be amazing works of art ^_^)

    EDIT: nvm.. Just looked thru the settings.. i'll just choose the wool blockprofile :)
  18. Offline


    The latest version of plugin don't work on my server whit bukkit v 1000. Every time i write a command he give me the menu of /cc help.
  19. Offline


    added some performance and memory improvements in v0.5. Also fixed help.
  20. Offline

    Puma D. Ace

    Would be great if you could enter the URLs in the game without making a shortcut.
  21. Offline


    I am having the same issue. When I say /cc enable, I am given the help menu
  22. Offline


    /cc enable isnt a valid command, unless you have a shortcut to a URL called "enable"

    [EDIT] ah, my bad.. again i forgot to update the help.

    its /cc op enable <playername>
    you can also do /cc op disable <playername>

    by default i think players are enabled
  23. Offline


    Thank you, that was it :D Epic plugin, thanks
  24. Offline


    can you make a non download
  25. Offline


    every time i go to type in /cc shortcut copy and the url it comes back with "Something very unexpected happened. See your server log." anyone know what this means? im using a mac btw
  26. Offline


    post the error in your server log
  27. Offline


    So how do I exactly use this?
    I need a video turorial or something thanks and by the way im using a hoster name is iwowgaming
  28. Offline


    Everytime i am trying to copy an url it says : "Something very unexpected happened. See your server log."

    So.. This is my server log :

    00:16:01 [SEVERE] 3599238 [Server thread] ERROR org.bukkitmodders.copycat.plugin
    .AbstractCopycatCommand - Caught exception performing command with args: [nyancat]

    00:16:01 [SEVERE] java.lang.NullPointerException
    00:16:01 [SEVERE] at org.bukkitmodders.copycat.util.ImageUtil.scaleImage(I
    00:16:01 [SEVERE] at org.bukkitmodders.copycat.functions.ShortcutFunctions
    00:16:01 [SEVERE] at org.bukkitmodders.copycat.plugin.CopycatCommand.perfo
    00:16:01 [SEVERE] at org.bukkitmodders.copycat.plugin.AbstractCopycatComma
    00:16:01 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginComman
    00:16:01 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo
    00:16:01 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(Cr
    00:16:01 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(N
    00:16:01 [SEVERE] at
    00:16:01 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    00:16:01 [SEVERE] at net.minecraft.server.Packet3Chat.a(
    00:16:01 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.
    00:16:01 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    00:16:01 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile
    00:16:01 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServe
    00:16:01 [SEVERE] at
    00:16:01 [SEVERE] at
  29. Offline


    Well this works , is true ? I will test this plugin.
  30. Offline


    Unlike a few other people, everything to do with generating the image seems to work fine for me until to comes to the colors. The actual structure of the image seems to have worked correctly, but the colors are completely wrong. I didn't really think there was a need to post screens, as black was cyan, gray was blue, etc. Is there a new problem with rendering pictures set in black backgrounds? I say "new problem" because a while back someone on this thread posted a screen of their logo set in black.
  31. Offline


    dynmap view is cool :D

Share This Page