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

    Javanator


    It looks like you edited the pluginConfig.xml and did it wrong. The XML is probably not well formed.
     
  3. Offline

    jamdis

    Any chance of getting the command-line only feature? I want my minecraft webcam!
     
  4. Offline

    AVirusC

    Run your server with sudo. This worked for me.
     
  5. Offline

    XpoCraft

    I wish this mod would be updated or i would be useing it!
     
  6. Offline

    kronikwasted

    i get this when i try to use /cc [shortcut name]
    the shortcut is named kassfoot so /cc kassfoot gives me this error!
    Show Spoiler
    02:41:58 [INFO] Preparing level "Awesome"
    02:41:58 [INFO] Preparing start region
    02:42:00 [INFO] Preparing spawn area: 93%
    02:42:00 [INFO] CopyCat 0.3 Enabled
    02:42:00 [INFO] Done (0.116s)! For help, type "help" or "?"
    02:42:04 [INFO] lovebucket [/127.0.0.1:52784] logged in with entity id 153 at (-
    72.5, 118.62000000476837, 126.5)
    02:42:52 [INFO] Loaded Config File: C:\Users\MikeWho3\Desktop\MC Server\minecraf
    t\plugins\CopyCat\pluginSettings.xml
    02:42:53 [INFO] Metroid [/74.177.95.10:1281] logged in with entity id 4849 at (-
    66.5, 118.62000000476837, 117.5)
    02:43:41 [INFO] <Metroid> Why is there sponges here
    02:43:56 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'cc'
    in plugin CopyCat v0.3
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    7)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    79)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:699)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:666)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    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:377)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NullPointerException
    at org.bukkit.craftbukkit.TextWrapper.wrapText(TextWrapper.java:38)
    at net.minecraft.server.NetServerHandler.sendPacket(NetServerHandler.jav
    a:611)
    at org.bukkit.craftbukkit.entity.CraftPlayer.sendRawMessage(CraftPlayer.
    java:84)
    at org.bukkit.craftbukkit.entity.CraftPlayer.sendMessage(CraftPlayer.jav
    a:88)
    at org.bukkitmodders.copycat.CopycatCommand.performCommand(CopycatComman
    d.java:73)
    at org.bukkitmodders.copycat.AbstractCopycatCommand.onCommand(AbstractCo
    pycatCommand.java:39)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
    02:43:56 [WARNING] Can't keep up! Did the system time change, or is the server o
    verloaded?
    02:44:41 [INFO] <Metroid> where are you?
    02:48:33 [INFO] Metroid lost connection: disconnect.quitting
    02:48:33 [INFO] Connection reset
    >cc list
    02:50:35 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'cc'
    in plugin CopyCat v0.3
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    7)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    79)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:699)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:666)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    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:377)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NullPointerException
    at org.bukkit.craftbukkit.TextWrapper.wrapText(TextWrapper.java:38)
    at net.minecraft.server.NetServerHandler.sendPacket(NetServerHandler.jav
    a:611)
    at org.bukkit.craftbukkit.entity.CraftPlayer.sendRawMessage(CraftPlayer.
    java:84)
    at org.bukkit.craftbukkit.entity.CraftPlayer.sendMessage(CraftPlayer.jav
    a:88)
    at org.bukkitmodders.copycat.CopycatCommand.performCommand(CopycatComman
    d.java:73)
    at org.bukkitmodders.copycat.AbstractCopycatCommand.onCommand(AbstractCo
    pycatCommand.java:39)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more
     
  7. Offline

    skater40165

    Can we lay the images flat if so how do we do that?
     
  8. Offline

    kronikwasted

    skater i cant even get it to work right on my copy, i may try a newer build

    playersnip: i updated to newest reccomended build, still doesnt work, i did save my old .jar though so i can go back if needed
     
  9. Offline

    24Grox

    does this work on beta 1.6.6? and if not could you update it?
     
  10. Offline

    BeerDone

    It's a .zip with the .jar file inside. Are you kidding me?

    Thanks for the awesome plugin, now there's a huge "Who Cares?" badge in the middle of me world, so much awesome :D Well done man, well done!
     
  11. Offline

    Tarnacki

    haha when i was unzipping it it unzipped the jar file, but i figured it out awhile ago
     
  12. Offline

    kronikwasted

    still not sure why its not working on my server, i will redownload and try again!
     
  13. Offline

    AnMan321

    I keep getting Bad URL
     
  14. Offline

    JamesS

    Well I tried using a regular link as the shortcut, but it didnt work. In this case it was http://www.alexross.com/TritonClub.jpg... dont ask why its that image, too much to explain :p
    Anyhoo, do I need to shorten it with a tiny url or something to get it to work?

    It tells me I get an internal error preventing me from copying in the image.

    Well it did copy out my image, but then it gives me internal errors all the way now trying to make anymore. Ive tried 7 seperate images with different URL's to no avail.

    I seem to get "Bad URL" more than anything... whats so bad about it?

    Ive now tried in excess of 20 different images. What is up with this thing?
    Examples: http://images.wikia.com/disney/images/b/bc/Littlemermaid.jpg
    http://tinyurl.com/6eb8mfz

    Still getting the bad URL with everything, tried hosting images with Imageshack.us to no avail.

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

    aaronthezombiie

    im sorry if i sound stupid but how do i install it i cant find the .jar file
     
  16. Offline

    Shynthoras

    Its in the attatchment xD
     
  17. Offline

    MetalMadness

    guys, this is for build 740, bnot 860. thats why it does not work
     
  18. Offline

    JamesS

    It did work though, for one image on 818 then packed up after that, or so it seems
     
  19. Offline

    kronikwasted

    it does finally work for me, i just had a bad dl or something i think, but it is working on my latest build server on 1.6_whatever
    not sure why it was buggin, but i am now having issues with all my other plugins *sigh* why cant they all just get along :(
     
  20. Offline

    LokiDarkfire

    invalid block profile?

    Code:
        <preferences>
            <playerPreferences playerEnabled="false" playerName="examplePlayer">
                <blockProfile>default</blockProfile>
                <buildWidth>64</buildWidth>
                <buildHeight>64</buildHeight>
                <shortcuts>
                    <shortcut url="http://aurl" name="shortuctname"/>
                    <shortcut url="file://aurl" name="anothershortuctname"/>
                </shortcuts>
            </playerPreferences>
            <playerPreferences playerEnabled="true" playerName="LokiDarkfire">
                <blockProfile>wolf</blockProfile>
                <buildWidth>100</buildWidth>
                <buildHeight>400</buildHeight>
                <shortcuts>
                    <shortcut url="http://i290.photobucket.com/albums/ll258/LokiKeanu/invertedwolf.png" name="wolfa"/>
                </shortcuts>
            </playerPreferences>
        </preferences>
    [code/]
     
  21. Offline

    pwrmonger

    Could I suggest changing the /cc command where you can use /copycat as well? I have another plugin that uses /cc already and use it a ton. I would really like to have this plugin available though.
     
  22. Offline

    viddepidde

    This looks like an realy cool plugin, but when i try to read in it just say: Error reading shortcut

    This looks like a really good plugin but every time i try to read the shortcut it says: Error reading shortcut

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

    kronikwasted

    umm i would like to request permissions support, i have a smp pvp server and i would like to restrict regular users from using this and only give it to my builders because i dont want a normal user finding a light blue picture and making a giant diamond block square to mine
     
  24. Offline

    Jklpuma

    Thanks for it bro!
     
  25. Offline

    magii

    Sweet candy! Thats fricking Awesome! OMG! Yaaay! Im going to use this! So muuuuch!
     
  26. Offline

    Jelle

    This is really awesome, but i have got 1 problem, i hate it to type the link all the time, and the link is 70% of the time too long to type in minecraft...

    So can you make a minecraft server support, because i got a private server, so i can paste the link in the server.
    Then i dont got the problem anymore that the link is too long, and i can just paste it in the minecraft server.
     
  27. Offline

    XxzombiexrainX

    Say idk how to install... no intructions thanks!
     
  28. Offline

    sk82712

    Needs more timed image rotation.
    checking out the SVN now, seeing if I can't help at all.
     
  29. Offline

    marinecitynerd

    I get "An internal error occurred while attempting to perform this command"
     
  30. Offline

    Stark_98

    All it givs me is a bunch of folders :(
     
  31. Offline

    parakeetfour

    I had cell mod befor i instaled this.

    Now whenever I try to use any comand for copycat cell mod tryes to make a cell tower instead of copycat doing what I wanted it to do. ("/cc" in cell mod is the comand to make a cell tower)

    I think the plugins are conflicting...

    Can you make the comands configurable so I can use both?
     

Share This Page