- Added the DiscordSRV support:
- When you send an emoji in the Minecraft chat, it will be correctly translated to the Discord emoji template.
- When you send an emoji in Discord chat, it will be correctly displayed in the Minecraft chat.
- It works only with emojis with the same name both on the Minecraft server and in the Discord server.
* This change doesn't require you to install DiscordSRV, it's optional.
- A minor adjustment for better compatibility with legacy chat formatters.
- Added configurable actions for cases when a player doesn't have enough permissions:
# What will happen if a player doesn't have the "imageemojis.use" permission?:
# ERASE_EMOJIS - Erase all emojis from payload and proceed.
# CANCEL_EVENT - Cancel the event completely (e.g., prevent the message from being sent).
noPermAction:
inChat: "ERASE_EMOJIS"
inAnvils: "ERASE_EMOJIS"
onSigns: "ERASE_EMOJIS"
inCommands: "ERASE_EMOJIS"
# Whether the player will see the "Not enough permissions" message.
# Will be shown only for events with the "CANCEL_EVENT" action selected.
noPermMessage: false
- Introduced the
imageemojis.use
(true by default) permission to control who is allowed to use emojis. - Fixed incompatibility issue with legacy Spigot chat formatters (such as LPC).
- Added ability to extend the Unicode range for emojis in the configuration:
# When you use over ~500 emojis you may see some emojis overlap each other (due to hashing function is limited to certain range)
# If you plan to use many emojis on your server, you may set this value to "true"
# IMPORTANT: Changing this will reset all existing emoji codes. This means:
# - Previously written emojis on signs and item names will appear as invalid symbols
# - Range will be increased from 2000 to 6400 available emoji unicode symbols
extendedUnicodeRange: false
Changelog:
- Added the
BOTH
suggestion mode that combinesACTUAL
andTEMPLATES
modes - The output
emojis.zip/assets/minecraft/font/default.json
file will be merged with the server resource pack's JSON file (if it contains one) in case themergeWithServerResourcePack
is set totrue
.
In other words, the server resource pack's custom symbols won't be overwritten by emojis in thedefault.json
file (instead, they will be merged together). - When an HTTP server starts, the resource pack is now available only a URL with a generated hash which makes it harder for someone to download the resource pack directly
- An HTTP server won't start if the
enforcementPolicy
is set toNONE
as it doesn't make sense
Changelog:
- Added more flexibility by changing
enforceResourcePack
toenforcementPolicy
inconfig.yml
:NONE
- The resource pack won't be loaded on join. This option can fit servers where players prefer to download the resource pack manuallyOPTIONAL
- Players can decline the resource pack from loading on joinREQUIRED
- Players are forced to play with the resource pack