Amoji
Adds emojis to Minecraft.
This mod is based largely on Emojiful, but with a focus on simplicity and making it easier to add custom emojis.
The functionality is intended to be kept to a bare minimum, to make maintenance easier.
Adding your own emojis
There is a simple way of adding your own sets of emojis. Using the command /amoji add <name> <url>
you can add a set of your own custom emojis.
The URL provided should return data of the following format:
{
"emoji1Name": "image1Url",
"emoji2Name": "image2Url",
"emoji3Name": "image3Url"
}
Example:
{
"like": "https://raw.githubusercontent.com/albarv340/amoji/main/like.png"
}
This example can be added with the command:
/amoji add example https://raw.githubusercontent.com/albarv340/amoji/main/example.json
The image URLs can be pretty much any static image URLs, and none of the files used have to be hosted on GitHub, it is just an example.
Using Google Sheets
A relatively user-friendly emoji API can be created using google sheets.
-
Make a copy of this Google Sheet (By clicking
File > Make a copy
) -
Open the Apps Script editor by clicking
Extensions > Apps Script
. -
Click
Deploy > New Deployment
. Fill in the relevant information and chooseAnyone
for who has access. And clickDeploy
. -
Authorize Apps Script with your Google Account. (If it tells you the website is unsafe, you should still proceed, it is an official Google product, nothing to worry about).
-
Copy the link, visiting it should yield a JSON of the correct format with the emojis added to the sheet.
-
The emoji API can then be added to the mod with the command:
/amoji add <name> <url>