[Mod] Emoji [emoji]

User avatar
bosapara
Member
Posts: 618
Joined: Fri Apr 07, 2017 08:49

[Mod] Emoji [emoji]

by bosapara » Post

Emoji
___________________________________________________________________________________________________

Image Download | Github


"Emoji" show emoji icon above player with command "/e" or with text smiles in chat.

Available chat smiles to spawn emoji:
:) B-) :# *_* :D :* :_( >:-[ ]:-) :/ ;) :( ;P :'-D ~:[ o_O xD xP :X :P :O

Image

P.S. Remake on Social Emotes by Yvanhoe
Last edited by bosapara on Sun Sep 08, 2019 06:30, edited 2 times in total.

User avatar
texmex
Member
Posts: 1752
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Mod] Emoji [emoji]

by texmex » Post

Nice continuation of the mod!

So the license is AGPL?
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

User avatar
Yvanhoe
Member
Posts: 140
Joined: Fri Jul 05, 2019 03:18
Location: Japan

Re: [Mod] Emoji [emoji]

by Yvanhoe » Post

Nice! Actually the faces rising in the back of the actual faces of the character makes me think we should go to the logical end of it and add facial expressions to skins :-)

User avatar
bosapara
Member
Posts: 618
Joined: Fri Apr 07, 2017 08:49

Re: [Mod] Emoji [emoji]

by bosapara » Post

texmex wrote:So the license is AGPL?
WTFPL

User avatar
Linuxdirk
Member
Posts: 2738
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Mod] Emoji [emoji]

by Linuxdirk » Post

WTFPL?

Nice, I'm going to fork, rename, and release under GPLv3 and remove everything that gives credit to you. :)

User avatar
texmex
Member
Posts: 1752
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Mod] Emoji [emoji]

by texmex » Post

bosapara wrote:
texmex wrote:So the license is AGPL?
WTFPL
By this logic I can decompile Minecraft itself and release it as free software. But it’s not allowed. In the same way, you can’t just relicense previous work of others to any license.

Your code is automatically licensed AGPL. Just add that license and get on with coding life.
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

User avatar
bosapara
Member
Posts: 618
Joined: Fri Apr 07, 2017 08:49

Re: [Mod] Emoji [emoji]

by bosapara » Post

texmex wrote:"previous work of others"
Who is others?

User avatar
bosapara
Member
Posts: 618
Joined: Fri Apr 07, 2017 08:49

Re: [Mod] Emoji [emoji]

by bosapara » Post

Yvanhoe wrote:Nice! Actually the faces rising in the back of the actual faces of the character makes me think we should go to the logical end of it and add facial expressions to skins :-)

I thought about this, but on the face of skin we have only 8*10 pixels, too a few for 'emoji'.

User avatar
Yvanhoe
Member
Posts: 140
Joined: Fri Jul 05, 2019 03:18
Location: Japan

Re: [Mod] Emoji [emoji]

by Yvanhoe » Post

texmex: he cites my work as an inspiration and his as a remake, this not a fork or a modification, this is perfectly fine.

User avatar
texmex
Member
Posts: 1752
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Mod] Emoji [emoji]

by texmex » Post

Oh, then I have no complaints. Sorry bosapara, good work!

As an idea for further development maybe an API for adding custom emojis can be useful?
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

User avatar
FreeGamers
Member
Posts: 651
Joined: Sat May 25, 2019 00:15
GitHub: is proprietary I use NotABug
Location: United States
Contact:

Re: [Mod] Emoji [emoji]

by FreeGamers » Post

If you wanted to make this more intuitive, perhaps have an appropriate emoji be triggered when a player uses the relevant emoji/emoticon in chat...

e.g. using ":)" anywhere in a string would cause the smiling emoji to animate.
FreeGamers.org has moved to MeseCraft.net | FreeGamers on this forum is now MeseCraft

User avatar
bosapara
Member
Posts: 618
Joined: Fri Apr 07, 2017 08:49

Re: [Mod] Emoji [emoji]

by bosapara » Post

FreeGamers wrote:If you wanted to make this more intuitive, perhaps have an appropriate emoji be triggered when a player uses the relevant emoji/emoticon in chat...

e.g. using ":)" anywhere in a string would cause the smiling emoji to animate.
Thank you for idea, will add.

User avatar
FreeGamers
Member
Posts: 651
Joined: Sat May 25, 2019 00:15
GitHub: is proprietary I use NotABug
Location: United States
Contact:

Re: [Mod] Emoji [emoji]

by FreeGamers » Post

Awesome! I'll almost certainly be trying this in my server then. A lot of players never figure out console commands, so adding this could let them emote as well. Thanks for considering it.

You might want to consider adding a condition for when someone uses multiple emoticons in a single string though, just to make sure a server or game crash doesn't result from such a fringe occurrence.
FreeGamers.org has moved to MeseCraft.net | FreeGamers on this forum is now MeseCraft

User avatar
bosapara
Member
Posts: 618
Joined: Fri Apr 07, 2017 08:49

Re: [Mod] Emoji [emoji]

by bosapara » Post

Image Update
______________________________

Added effect on chat message when players using chat ' smiles' :)

Image

Available chat smiles to spawn emoji:
______________________________
:) B-) :# *_* :D :* :_( >:-[ ]:-) :/ ;)
:( ;P :'-D ~:[ o_O xD xP :X :P :O

User avatar
Miniontoby
Member
Posts: 463
Joined: Fri Mar 01, 2019 19:25
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: [Mod] Emoji [emoji]

by Miniontoby » Post

cool update
My English isn't very good because I'm Dutch ---- Check my mod "Doorbell"

User avatar
texmex
Member
Posts: 1752
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Mod] Emoji [emoji]

by texmex » Post

Very clever use of on chat interception. Maybe add an option to omit it from text chat entirely?
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

CalebJ
Member
Posts: 339
Joined: Sat Dec 29, 2018 19:21
GitHub: KaylebJay
IRC: KaylebJay
In-game: CalebJ
Location: Tunnelers' Abyss

Re: [Mod] Emoji [emoji]

by CalebJ » Post

This is really cool. I especially like that "o_O" is supported: +100 on that :D
If you want realism, you're in the wrong place. Get off your mobile.

User avatar
bosapara
Member
Posts: 618
Joined: Fri Apr 07, 2017 08:49

Re: [Mod] Emoji [emoji]

by bosapara » Post

texmex wrote:Maybe add an option to omit it from text chat entirely?
You mean to add special command to set it 'on / off' for each player?

User avatar
texmex
Member
Posts: 1752
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Mod] Emoji [emoji]

by texmex » Post

More of a server-wide setting. I reckon that the chat log can be massively spammed by the shortcodes. So this feature would intercept them in order to show the emoji particle but not pass it on to the chat.
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

User avatar
bosapara
Member
Posts: 618
Joined: Fri Apr 07, 2017 08:49

Re: [Mod] Emoji [emoji]

by bosapara » Post

texmex wrote:So this feature would intercept them in order to show the emoji particle but not pass it on to the chat.
As i checked in 4.17.1 - all works perfect. What do you mean?

User avatar
texmex
Member
Posts: 1752
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: [Mod] Emoji [emoji]

by texmex » Post

You can enable shortcode ( :P, o_O and so on) use in the chat without sending it out to the whole server.
Mods | Support Mesehub: bc1qluuests9rxmlnvpjrhsnyjg9ucwy6z3r0y3srw

User avatar
bosapara
Member
Posts: 618
Joined: Fri Apr 07, 2017 08:49

Re: [Mod] Emoji [emoji]

by bosapara » Post

texmex wrote:You can enable shortcode ( :P, o_O and so on) use in the chat without sending it out to the whole server.
This isn't a good idea. Players usually using text smiles inside of their message.

Emoji can be spawned with "/e" too.

User avatar
Wuzzy
Member
Posts: 4140
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [Mod] Emoji [emoji]

by Wuzzy » Post

Sounds fun for servers. :-)

Some complains/suggestions:

- The chat shortcuts are not recognizing common smiley variants, like with or without nose. E.g. “:)” vs “:-)”, and “o_O” vs “O_o”, “o_o”, “O_O”, and “B-)” vs “8-)”, and so on
- “~:[” is really unusual. It should be “>_<”, which is WAY more common.
- “:X” and “:x” (with and without nose) are commonly used for kisses, not puking.
- The shortcuts are also inconsistent. Some use noses, some don't.
- Add a tooltip to all icons in the menu to display the emoticon shortcut because nobody can remember them all by heart :-)
- If a chat message includes multiple emoticons, only the first one is used
- The chat command help for “/e” is not good. It should be at least a half sentence about what this command *does*. Type in /help all for inspiration of how the help text should look like.
- “/e” plus the emoji shortcut should display the emoji directly without opening the window or sending anything in chat
My creations. I gladly accept bitcoins: 17fsUywHxeMHKG41UFfu34F1rAxZcrVoqH

User avatar
FreeGamers
Member
Posts: 651
Joined: Sat May 25, 2019 00:15
GitHub: is proprietary I use NotABug
Location: United States
Contact:

Re: [Mod] Emoji [emoji]

by FreeGamers » Post

Wuzzy wrote::X
There are so many variations for these that at some point, I think it will be up to operators to add their own personal variations. For example, I always used :X as lips sealed tight, or shocked in awe. I always thought of kisses as :* or :-*
FreeGamers.org has moved to MeseCraft.net | FreeGamers on this forum is now MeseCraft

User avatar
bosapara
Member
Posts: 618
Joined: Fri Apr 07, 2017 08:49

Re: [Mod] Emoji [emoji]

by bosapara » Post

Wuzzy wrote: - The shortcuts are also inconsistent. Some use noses, some don't.

Each text smile should be original, if you have ":)", so ">:)" will not work.

PS Tooltips won't work with text smiles like ";)", minetest give back an error.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests