Перейти к содержимому
Mineforgian

Iconic

Upload your own icons to chat, fully client side!

Загрузки
442
Подписчики
5
Обновлён
16 июля 2024 г.
Лицензия
GPL-2.0-only

Опубликован 14 июля 2024 г.

Iconic

Upload your own icons to chat, fully client side!

The following document is relevant for Iconic 2.0.0.


Using the Mod

To insert an icon into chat, begin by typing :. Autocomplete suggestions will pop up. Upon sending a message with icons, the icons will be sent to other clients, which will then show it on screen.
The mod works by hiding an icon id in the chat. If the actual chat message sent exceeds the maximum length of 256 characters, a warning will be shown. Don't icon spam too much.

These commands also support including icons: /me, /msg, /teammsg, /tell, /tellraw, /tm, /w, /reply, /r, /last, /l (last 4 are common reply commands on servers).

Adding Your Own Icons

Add icons by clicking the star button at the bottom left of the chat bar. A directory will be opened where you can add icons. Alternatively, navigate to your dotminecraft and open the icons directory.
Icons over 1 megabyte will be rejected. Only images in the .png format are accepted.
If an image is wider than taller (width > height), or the image is wider than 256, it will automatically be corrected to a 256px width square image.

Alternatively, you can use one of the provided icon generators:

Icon Generators

URL

Downloads an icon from the internet by URL, and saves it to the icon directory as a PNG.
Usage: /iconic url [icon name] [url of image]

Player Skin

Generates a 3D render of a player skin.
Usage: /iconic player [player name or UUID]

PetPet Animation

Adds the petpet animation to any other icon.
Usage: /iconic petpet [other icon name]

Built-in Icons

The mod comes with some built-in icons. Here's a list:

Built-in Icons List
  • axolotl
  • bananaspin (A spinning banana)
  • birdspin (A dancing bird)
  • boatjeb (Jeb in a boat)
  • bruh
  • catbop (Bopping cat)
  • cathello (Cat waving hello)
  • concern
  • confusion
  • creeper
  • egg
  • emotionaldamage (EMOTIONAL DAMAGE!!!)
  • explosion (Planet annihilation)
  • eyes
  • fabric (FabricMC logo)
  • fire
  • heart
  • hellothere (Obi-Wan Kenobi hello there)
  • iapprove
  • minecraft (Minecraft logo)
  • missing (Missing texture cube)
  • modrinth (Modrinth logo)
  • neverdie (Tribute)
  • partypopper
  • pog
  • potato
  • prideflag
  • rage (Angry seagull)
  • rainbow
  • rickroll (Rick Astley)
  • shut (Shut seagull)
  • skull
  • snail
  • sob
  • sus (Among Us character)
  • tater (FabricMC mascot?)
  • thanossnap (Fading away)
  • thumbsdown
  • thumbsup
  • wheeze

Animated Icons

Icons can be animated too! Here's how:

Adding Animated Icons

To add an animated icon, create an image with a height greater than the width. For example, a 64x256 image would have 4 frames, each 64x64 pixels.

Each frame is rendered for approximately 37.5 milliseconds (0.0375 seconds), and loops after reaching the last frame.

Here's a tool you can use to convert a gif into an icon that can be used.
Make sure to set Tile Alignment to Vertical and Tile Size to 256x256 (or a smaller square).

Mod Compatibility

Here are the mods that have been tested alongside Iconic:

Mod Compatibility
Mod Compatibility
Fabric APIRequired
Fabric Language KotlinRequired
No Chat ReportsCompatible
FiguraCompatible and Extended
Symbol ChatIncompatible

Ченджлог

2.0.0Релиз1.20.4 · 16 июля 2024 г.

Additions:

  • Icon Generators:
    • URL Download
    • Player Skin
    • PetPet
  • Figura is now compatible!

Changes:

  • The icon format has been changed from <:name:> to :name:.
  • Escaping icons is now allowed, using a backslash (\:name: will appear as :name: instead of showing the icon).
  • Builtin icons are no longer copied to the local icons directory.
  • The local icons directory has been changed from iconic to icons.
  • Max icon width has been increased from 64 to 256 pixels (Larger icons will be scaled down automatically).
  • Max icon file size has been increased from 500 kilobytes to 1 megabyte.
  • Icons that are wide, or larger than the max image size will no longer be rejected or have buggy rendering.

Bugfixes:

  • Fixed a vulnerability which allowed clients to try to download a massive file without checking the size.
1.1.0Альфа1.20.4 · 14 июля 2024 г.

INCOMPATIBLE WITH PLAYERS USING 2.0.0 OR ABOVE.

  • Added icon expander.
  • Added icon downloder.
  • Fixed huge lag-spike on sending a message with icons.
  • Increased restrictions on icon usage in commands.
  • Added more icons.

Комментарии

Загружаем…