AnimatedFrames 4.11.5-SNAPSHOT

Animated images on item frames!

  1. inventivetalent
    Tested Minecraft Versions:
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    Source Code:
    https://github.com/InventivetalentDev/AnimatedFrames
    Languages Supported:
    Custom
    AnimatedFrames allows you to play animations on item frames!




    If you find this plugin useful, feel free to throw over a donation :)




    Depends on PacketListenerAPI & MapManager

    Commands
    • /afhelp - Get a list of the commands below
    • /afcreate <Name> <Image> - Creates a new image with the specified name
    • /afremove <Name> - Removes the specified image
    • /aflist - Get a list of already created images
    • /afplace - Command to place down multiple item frames for you
    • /afpause - pauses a running frame
    • /afstop - stops a running frame (same as pause, but resets to first image of the animation)
    • /afplay - starts/resumes a stopped/paused frame


    Permissions
    • animatedframes.create - Permission to create images
    • animatedframes.remove - Permission to remove images
    • animatedframes.list - Permission to list images
    • animatedframes.pause - Permission to pause frames
    • animatedframes.stop - Permission to stop frames
    • animatedframes.play - Permission to play frames

    Config
    Code (YAML):

    # Make sure all animations are started at the same time on startup (useful if you usethe same image on multiple frames)
    synchronizedStart
    : false

    # Enable this to not start any frames automatically on server start & if you'd like to start them manually instead
    doNotStartAutomatically
    : false

    # This is a (slightly hacky) fix for images which Java interpretes as the wrong image type
    # You should enable this if you get this error when creating a image: "java.lang.IllegalArgumentException: Unknown image type 0"
    fixImageTypes
    : false

    # Maximum distance for frames to be animated to players
    # Note: Increasing this only has an effect if your server's rendering distance for entities is also increased (i.e. spigot.yml entity-tracking-range)
    maxAnimateDistance
    : 32

    # (ms) Default delay for GIFs with missing delay information (Time for each frame to be displayed)
    defaultDelay
    : 50

    message
    :
      command
    :
        create
    :
          setup
    :
            first
    : "&ePlease right-click the &abottom-left corner &eof the frame"
            second
    : "&ePlease right-click the &atop-right corner &eof the frame"
            set
    :
              first
    : "&aFirst corner set"
              second
    : "&aSecond corner set"
            complete
    : "&aSetup complete! &eCreating frame '%s' with image '%s'..."
            loading
    : "&7Loading image & generating maps..."
            saving
    : "&7Saving frame data to file..."
            starting
    : "&7Starting playback... (This might take a while - See console for progress)"
            started
    : "&aAnimation started!"
          error
    :
            exists
    : "&cFrame already exists"
            invalidImage
    : "&cInvalid image path specified"
            unknownType
    : "&cCould not identify the image type. Please make sure you are using the correct link. (Generating anyway, check console for errors)"
        delete
    :
          stopping
    : "&eStopping animation..."
          removed
    : "&aFrame removed."
          error
    :
            notFound
    : "&cFrame not found"
        start
    :
          starting
    : "&eStarting animation..."
          error
    :
            notFound
    : "&cFrame not found"
            playing
    : "&cFrame is already playing"
        stop
    :
          stopping
    : "&Stopping animation..."
          error
    :
            notFound
    : "&cFrame not found"
            notPlaying
    : "&cFrame is not playing"
        pause
    :
          pausing
    : "&ePausing animation..."
          error
    :
            notFound
    : "&cFrame not found"
            notPlaying
    : "&cFrame is not playing"
        next
    :
          success
    : "&eSkipped to next frame"
          error
    :
            notFound
    : "&cFrame not found"
            notPause
    : "&cFrame is not paused"
        previous
    :
          success
    : "&eSkipped to previous frame"
          error
    :
            notFound
    : "&cFrame not found"
            notPause
    : "&cFrame is not paused"
        click
    :
          setup
    :
            first
    : "&ePlease right-click the &abottom-left corner &eof the frame"
            second
    : "&ePlease right-click the &atop-right corner &eof the frame"
            set
    :
              first
    : "&aFirst corner set"
              second
    : "&aSecond corner set"
            complete
    : "&aAdded click event %s"
          remove
    : "&ePlease click inside the action you want to remove"
          removed
    : "&eAction removed"
          error
    :
            notFound
    : "&cFrame not found"
        place
    :
          first
    : "&ePlease right-click the &abottom-left&e block"
          second
    : "&ePlease right-click the &atop-right&e block"
          set
    :
            first
    : "&aFirst corner set"
            second
    : "&aSecond corner set"
          done
    : "&aFrames placed!"
          error
    :
            face
    : "&cFirst clicked side does not match the second side"
     

    [​IMG]


    Tutorials

    ServerMiner



    Note: The tutorials below use commands from an older version. Please use the similar commands listed above.


    (German)

    How to create a screen
    1. Place down blocks to hold your item frames
    2. Place down the item frames you want to use for the image
    3. Upload an animation or image (.GIF | .PNG) or find one online. It should be rectangular or it will be stretched. Note: Due to a bug in some Java versions, JPEG images might not look like the original image
      1. For local image files, just specify the full file path (e.g. C:\\Users\\Me\\myImage.png)
    4. Run the create command above with a custom name and the url to the image. You can also specify the path to a local file.
      1. Use shorteners like bitly if the link to your image is too long.
    5. Follow the instructions you get in the chat:
      1. Right click the bottom-left item frame and wait
      2. Right click the top-right item frame and wait for your image to load

    Note: For GIPHY images, replace the 'media.giphy.com' domain with 'i.giphy.com'

    How to remove a screen
    To remove a screen, run the remove command and specify the name


    How it works - No lags
    This plugin does not cause the expected lag/framerate issues you would expect.
    It doesn't update the picture every frame (doing that would cause a lot of frame rate issues), it only updates the map item contained in the item frame.
    The actual frames of the animation are only sent once with a little delay to prevent any lag issues.



    Links


    Please leave a rating if you like this resource.
    Donations to support me or this resource are also very much appreciated.

Recent Updates

  1. Config update
  2. Version update
  3. 1.14 support

Recent Reviews

  1. Xorian
    Xorian
    5/5,
    Version: 4.11.5-SNAPSHOT
    This plugin is great.Great job bro I hope you keep growing and improving in the theme of config UwU
  2. ZecoLuster
    ZecoLuster
    5/5,
    Version: 4.11.5-SNAPSHOT
    I love this plugin since you need physical item frames, hope it gets 1.16 support
  3. YB_NeXpresso
    YB_NeXpresso
    2/5,
    Version: 4.11.5-SNAPSHOT
    Doesn't Work spigot 1.14.4 !!

    [23:21:55] [pool-13-thread-17/INFO]: [AnimatedFrames] Generating
    image data for test3...
    [23:21:56] [pool-13-thread-17/INFO]: [AnimatedFrames] Downloaded 'https://imgur.com/P0GBQpd' to 'plugins\AnimatedFrames\images\aHR0cHM6Ly9pbWd1ci5jb20vUDBHQlFwZA=='.
    [23:21:56] [pool-13-thread-17/INFO]: [AnimatedFrames] Animation length for 'test3' is zero. Creating non-animated image.
    [23:21:56] [pool-13-thread-17/WARN]: Exception in thread "pool-13-thread-17"
    [23:21:56] [pool-13-thread-17/WARN]: java.lang.RuntimeException: Unexpected exception in AnimatedFrame test3
    [23:21:56] [pool-13-thread-17/WARN]: at org.inventivetalent.animatedframes.AnimatedFrame.run(AnimatedFrame.java:286)
    [23:21:56] [pool-13-thread-17/WARN]: at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    [23:21:56] [pool-13-thread-17/WARN]: at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    [23:21:56] [pool-13-thread-17/WARN]: at java.lang.Thread.run(Unknown Source)
    [23:21:56] [pool-13-thread-17/WARN]: Caused by: java.lang.RuntimeException: Failed to read the given image. Please make sure you're using a valid source
    [23:21:56] [pool-13-thread-17/WARN]: at org.inventivetalent.animatedframes.AnimatedFrame.run(AnimatedFrame.java:153)
    [23:21:56] [pool-13-thread-17/WARN]: ... 3 more
  4. sakmg
    sakmg
    5/5,
    Version: 4.11.5-SNAPSHOT
    WOW WOW AND MORE WOW running 1.15.2 and this plugin is epic. Greatly coded and no resources at all. A MUST for all servers. GG
  5. leopatik
    leopatik
    5/5,
    Version: 4.11.5-SNAPSHOT
    Nice plugin!!! :))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
  6. QuikMiner
    QuikMiner
    5/5,
    Version: 4.11.5-SNAPSHOT
    Works flawlessly! I use this alongside a simular plugin and it works very well. :D
  7. DewwiSSz
    DewwiSSz
    2/5,
    Version: 4.11.5-SNAPSHOT
    Please Fix bug for 1.12.2 server it can't create the image or anythings.................
  8. Kaitou_han
    Kaitou_han
    5/5,
    Version: 4.11.4-SNAPSHOT
    A really good plugin for us!
    Can I reprint it to mcbbs.net?
    MCBBS's net friends will be very excited to see this good plugin!
  9. Tanju42
    Tanju42
    5/5,
    Version: 4.11.4-SNAPSHOT
    Nice Plugin everything works fine

    And I have an idea like an Placeholder like "Please wait image loading..."
    before the image is loaded
  10. x247Shufflingx
    x247Shufflingx
    5/5,
    Version: 4.11.4-SNAPSHOT
    this is by far the best gif plugin out there. All the others I have tried fail to do what this has to offer. Only problem is that the command for placing signs says it generated them, even though it never did. Playing 1.15.2 spigot server. Doesn't matter though, as I just go into creative and place them or tell the user to create some. Epic plugin!