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

    tryy3

    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

    KraaZe

    Very nice and useful plugin.
     
  4. Offline

    tryy3

    anyone know the permission nodes?
     
  5. Offline

    chiefyy

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

    Zixt

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

    Javanator

    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

    lcool75

    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(ShortcutFunctions.java:133)
    22:57:37 [SEVERE] at org.bukkitmodders.copycat.functions.ShortcutFunctions.performFunction(ShortcutFunctions.java:64)
    22:57:37 [SEVERE] at org.bukkitmodders.copycat.plugin.CopycatCommand.performCommand(CopycatCommand.java:51)
    22:57:37 [SEVERE] at org.bukkitmodders.copycat.plugin.AbstractCopycatCommand.onCommand(AbstractCopycatCommand.java:39)
    22:57:37 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    22:57:37 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    22:57:37 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:298)
    22:57:37 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:711)
    22:57:37 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:676)
    22:57:37 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:669)
    22:57:37 [SEVERE] at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    22:57:37 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    22:57:37 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    22:57:37 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    22:57:37 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    22:57:37 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    22:57:37 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  9. Offline

    Javanator

    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

    hugonoob

    not work

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

    HDVidsRO

    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

    Javanator

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

    ringoma

    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

    ratty

    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

    Javanator

    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

    darkmag98

    tutorial please :)
     
  17. Offline

    bigbrotang

    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

    BelluX

    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

    Javanator

    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

    CrimSin

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

    Javanator

    /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

    CrimSin

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

    mii8303

    can you make a non bukkit.org download
     
  25. Offline

    sat4n666

    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

    Javanator

    post the error in your server log
     
  27. Offline

    jacktr12

    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

    MooImACow

    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
    mageUtil.java:27)
    00:16:01 [SEVERE] at org.bukkitmodders.copycat.functions.ShortcutFunctions
    .doCopy(ShortcutFunctions.java:138)
    00:16:01 [SEVERE] at org.bukkitmodders.copycat.plugin.CopycatCommand.perfo
    rmCommand(CopycatCommand.java:67)
    00:16:01 [SEVERE] at org.bukkitmodders.copycat.plugin.AbstractCopycatComma
    nd.onCommand(AbstractCopycatCommand.java:38)
    00:16:01 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginComman
    d.java:35)
    00:16:01 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo
    mmandMap.java:129)
    00:16:01 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(Cr
    aftServer.java:320)
    00:16:01 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(N
    etServerHandler.java:713)
    00:16:01 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerH
    andler.java:677)
    00:16:01 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:670)
    00:16:01 [SEVERE] at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:3
    3)
    00:16:01 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.
    java:226)
    00:16:01 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:85)
    00:16:01 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile
    :105)
    00:16:01 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:451)
    00:16:01 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:361)
    00:16:01 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
     
  29. Offline

    VladuTzZz

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

    TechnoLlama

    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

    Galzen

    dynmap view is cool :D
     

Share This Page