Animated Frames

Animated Frames

Mod

Display GIFs and pNGs in Screen

Client and server DecorationGame MechanicsUtility

308 downloads
2 followers
Follow Save

📺 AnimatedFrames

  • Display GIFs and PNGs on screen!!

AnimatedFrames allows you to display GIFs and PNGs within Minecraft using commands.


📝 Commands

  • /gif show <name> <duration> <position> <size> → Display a GIF or PNG locally (client-side).
    Example: /gif show sunny.gif 10 center 1.0

  • /gifserver show <player|@a|@p|@r> <name> <duration> <position> <size> → Send a GIF or PNG to specified players (server-side, requires OP permissions).
    Example: /gifserver show @a example.gif 15 topleft 2.0

  • /gifserver playlocal <name> <duration> <position> <scale> → Play a GIF or PNG directly from your local folder (config/AnimatedFrames/) without uploading it to the server.
    Example: /gifserver playlocal example.png 10 center 1.0
    Useful for faster display on multiplayer servers and reduced loading times.
    Recommended: Use this command instead of /gif show, since it can reproduce GIFs and PNGs on servers as well, offering better performance and compatibility.

  • /gif stop → Stop the current GIF or PNG (client-side).

  • /gifserver stop <player|@a|@p|@r> → Stop the GIF or PNG for specified players (server-side).

  • /gif list / /gifserver list → List available GIFs and PNGs in the client or server folder.

  • /gif help / /gifserver help → Show command help.


⚠️ Requirements

  • Client: Place GIFs or PNGs in config/AnimatedFrames/ (created automatically on first run).
  • Server: Place GIFs or PNGs in config/AnimatedFrames/server_gifs/ (created automatically).

  • GIF or PNG sent on Client:

    Gif1

  • GIF or PNG sent on a Server:

    Gif2


Tutorial

Placing GIFs or PNGs on the Client

Folder Location:
Files go in the mod’s folder within your Minecraft directory:
.minecraft/config/AnimatedFrames/

If the folder doesn’t exist, it will be created automatically when the mod runs.

Steps:

  1. Copy your GIF or PNG file (up to 10MB, 1280x1280 pixels, 300 frames) into config/AnimatedFrames/.
  2. Ensure the file name includes the proper extension (.gif or .png).
  3. Use the in-game command to display it:
    Example: /gif show sunny.gif 10 center 1.0

Notes:

  • Only you see the media when using /gif show.
  • Ensure AnimatedFrames is in your .minecraft/mods/ folder.
  • Invalid or oversized files will show an error message in-game.

Placing GIFs or PNGs on the Server

Folder Location:
Files go in the mod’s folder in the server directory:
config/AnimatedFrames/server_gifs/

If the folder doesn’t exist, it will be created automatically when the mod runs.

Steps:

  1. Copy the GIF or PNG file (up to 10MB, 1280x1280 pixels, 300 frames) into config/AnimatedFrames/server_gifs/.
  2. Ensure the file name includes .gif or .png (e.g., tutorial.png).
  3. Use the server command to send it to players:
    Example: /gifserver show @a sunny.gif 15 center 1.0

Notes:

  • The server must have AnimatedFrames in its mods/ folder.
  • You need operator (OP) permissions to use /gifserver.
  • All players with the mod installed will see the media when targeted (e.g., @a for all players).
  • Files are cached on server startup for faster delivery.
  • In files larger than 1MB, minor delays may occur.

Credits



Project members

SunnyMp

Member

Details

Licensed ARR
Published 2 months ago
Updated 25 days ago