#how do I make custom chat emojis
1 messages · Page 1 of 1 (latest)
current ones?
like this?
world.beforeEvents.chatSend.subscribe((event) => {
const {sender} = event;
let message = event.message;
if(message.includes(':star:')){
event.cancel = true
message = message.replace(':star:','☆')
}
if(message.includes(':circled_star:')){
event.cancel = true
message = message.replace(':circled_star:','✪')
}
if(message === event.message) return
world.sendMessage(`<${sender.name}> ${message}`)
});
use that and use glyph files
the wiki has a section for that: https://wiki.bedrock.dev/concepts/emojis.html#custom-emoji
thats not work
or maybe work
lmao
It didn't xd
Idk why
Is that like a keywords where it is detected even its mixed up with other words
yeah but idk why it is not working
I was about to try
Nicee
It worked