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

    ServerOwner

    This looks great, it will help me alot with my Stargate Atlantis megabuild
     
  3. Offline

    RegretZero

    Wow, this plugin would be awesome, if it was working for me. I have placed the copycat.jar in the plugins folder, and I even tried manually creating the folder, in case that was the issue, but no matter what I do, it doesn't generate the .xml configuration file! >.<

    I'm not getting any errors in console, but the commands don't work (probably because there's no xml file). When I type in the commands, nothing happens at all. No errors, nothing. Finally, if I type /plugins, then it lists copycat as a plugin. Therefore, I have no freaking idea what is going on. Can I get some help?
     
  4. Offline

    Evangon

    @Galzen
    HIDE THAT PICTURE OF THE LADY.
    they're's kids watching ya know.
     
  5. Offline

    1_RightMine_1

    PLZ PLZ PLZ help i sooo want to use this AWSOME plugin thanks for making it :)...... But i ALWAYS get "something very unexpected happend. see server log when i try to past the picture PLZ REPLY and thanks for this plugin.....again :)
     
  6. Offline

    zaack

    i cant do a " . " followed by a J it makes 2 .'s
     
  7. Offline

    blacknedvertigo

    This attachment cannot be shown at this time. Please try back later.
     
  8. Offline

    kuledaniel

    The link is error.... please .... i need the plugin :D
     
  9. Offline

    DarkShade

    Hey i get the error "something very unexpected happened see server log"
    here is my log:

     
  10. Offline

    Treking

    Is this plugin still being supported? Does it work with Minecraft 1.0.0 or does it need to be updated?
    What is the latest bukkit build that it has been tested with?
     
  11. Offline

    Sloppy101

    I have tested it the 1.0.o recommended build and it works fine. I reckon you should shorten the url to make it easier, because there is a chat limit :S
     
  12. Offline

    ibreaktoucher

    works with 1.1?
     
  13. Offline

    AbiZa

    Hey there, I was wondering if this plugin works for bukkit dev build 1.1 ? It says it does in console and when I type ./plugins. But whenever I do /cc shortcut copy (name) It says there's an unexpected error. Check console. yet the other commands work.
    http://pastie.org/3211516
    That is the error that occurs in the console after that command. I'm willing to pay if this get's fixed. Thanks
     
  14. Offline

    ratty

    Works just fine for me in 1.1 (build 1818).
     
  15. Offline

    Fi3t3

    Does this work with R6? If not, update please!
     
  16. Offline

    4am

    I realize this is an old post and you probably figured this out, but that's just the minecraft font. it looks liek 2 .s but it's a , and a J. I've noticed that before too and always wondered if anyone else did lol
     
  17. Offline

    drrabbit

    i put the plugin in and every time i type /cc help it says type /cc help for help ???
     
  18. Offline

    ratty

    Welp, this plugin is finally dead, its served me very well all this time all the way up to 1.1, but now in 1.2 its just dead. I went looking for an equivilent and found mxImgImport, but it also looks dead. Does anyone know of any good plugin like this one that can import PNG images into minecraft worlds?
     
  19. Offline

    dervishkid

    be nice if someone could fix it
     
  20. Offline

    HammyHavoc

    Agreed. I get the 'Type /cc help for help' bug in 1.2
     
  21. Offline

    M1sT3rM4n

    Finally stopped working for me too. So sad.
     
  22. Offline

    Javanator

    I'll update the plugin this weekend. Real life finally calming down again.

    It works now

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

    powerpawn

    Two thing:
    1.) You are a great developer. You maintained this and still answer questions and it has been almost a year.
    2.) Awesome! Installing
     
  24. Offline

    sam501

    Its like BuilderBot but in the finished version of minecraft.
    o.e
     
  25. Offline

    Javanator

    I could have sworn i replied already, but i didn't see it when i reloaded the page so i'll try again. Thank you for the positive feedback. Most of the posts are users that can't type, read, or include so few details that the best I can do is write a few lines of code that are just a shot in the dark at best. I don't have the time to provide much 1-1 support so those kinds of posts get mostly ignored and make me want to discontinue updates.

    However, as a developer, the best thing to hear is positive feedback from people that get some value from what i've made. This is what will ensure continued support more than anything.
     
  26. Offline

    sonofchocula

    I'm with this guy, your plugin has brought me great joy and I've been using it since the first release. Keep up the good work and thanks!
     
  27. Offline

    crueldog

    I LOVE YOU!
    Thanks for updating this!!
    This is my FAVOURITE plugin. I've been using it since a year ago.

    Is there a way I could thank you? a donation perhaps?

    Thank you Javanator!!! :):):)

    [CONFIRMED Plugin works with 1.2.4!]
     
  28. Offline

    willmorgan0711

    This Plugin is awesome, i made this - the logo of my webhosting company!
    [​IMG]
     
  29. Offline

    avataracid

    At first glance I thought this was sort of lame, just more nubs out there posting pretty bad pixel art at best. Then I thought about something!

    This plugin seems to have no issues dealing with very large imports, as long as you have a server to accommodate it. I loaded up a 12,800 x 12,800 world I created in WorldPaint and sucked in a 3072 x 3072 JPG map of an old computer game I use to play; Ultima VII

    The server ran out of its 8GB RAM allocation and kicked me out for a few mins, but logged back in and could clearly see the map had imported. Win.

    Now I can use WorldPaint to shape the terrain and in conjunction with MCMAP I can really get a very accurate map going of the terrain, drop the buildings/dungeons in and re-live some massive nostalgia!

    Just an example of what you can do with this thing, it’s the best plugin I have ever used. Can't thank you enough Javanator.

    And here is what the imported jpg looked like at such a large scale from MCMAP, very accurate, and very good.
    [​IMG]
     
  30. for me it is saying something very unexpected happened.. see log.
    this so o annoying and i dunno why it does it. plz give me some tips.
     
  31. Offline

    Javanator

    You've hit on exactly what inspired me to make the plugin. I was actually trying to do a 3d model of a Star Trek starship from a 2d image's pixels by hand and was thinking, "man this sucks"

    So my thought was that its just pixels. Each block has a color. I could make something that would do this for me. This version does 2D, but there is no reason it cannot be extended to make 3d meshes. It would probably kill a server with large models, but it is certainly possible. I built it with that goal in mind and I haven't yet found the motivation to make it render 3d models yet because of the resource constraints with doing simply 2d. However, it is within the realm of possibility. It is almost pluggable into existing Java 3d drawing libraries. I just haven't gone the extra 10 miles yet.

    The big limitation I've found is that i haven't figured out how to safely execute multiple threads or otherwise gobble up a ton of server resources without unpredictable things happening. In your case it seems to work and i am very impressed with what you've made it do.

    A big memory hog is that right now there's an undo buffer of 10 operations per player. Providing the ability to turn that off may help with your out of memory situation since you have done this on such a large image.
     

Share This Page