[Mod] Emoji [emoji]

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

[Mod] Emoji [emoji]

by bosapara » Fri Sep 06, 2019 08:22

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: 1524
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex
 

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

Re: [Mod] Emoji [emoji]

by Yvanhoe » Fri Sep 06, 2019 09:36

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: 515
Joined: Fri Apr 07, 2017 08:49
GitHub: bosapara
 

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

Re: [Mod] Emoji [emoji]

by Linuxdirk » Fri Sep 06, 2019 10:15

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: 1524
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [Mod] Emoji [emoji]

by texmex » Fri Sep 06, 2019 10:35

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.
 

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

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

Re: [Mod] Emoji [emoji]

by bosapara » Fri Sep 06, 2019 11:01

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: 120
Joined: Fri Jul 05, 2019 03:18
Location: Japan

Re: [Mod] Emoji [emoji]

by Yvanhoe » Fri Sep 06, 2019 11:31

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: 1524
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [Mod] Emoji [emoji]

by texmex » Fri Sep 06, 2019 12:00

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?
 

User avatar
FreeGamers
Member
 
Posts: 212
Joined: Sat May 25, 2019 00:15
Location: United States

Re: [Mod] Emoji [emoji]

by FreeGamers » Sat Sep 07, 2019 07:11

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.
 

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

Re: [Mod] Emoji [emoji]

by bosapara » Sat Sep 07, 2019 07:15

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: 212
Joined: Sat May 25, 2019 00:15
Location: United States

Re: [Mod] Emoji [emoji]

by FreeGamers » Sat Sep 07, 2019 07:20

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.
 

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

Re: [Mod] Emoji [emoji]

by bosapara » Sat Sep 07, 2019 09:15

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: 183
Joined: Fri Mar 01, 2019 19:25
Location: The Netherlands
In-game: Miniontoby

Re: [Mod] Emoji [emoji]

by Miniontoby » Sat Sep 07, 2019 11:37

cool update
My English isn't very good because I'm Dutch

Check my mod "Doorbell"
 

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

Re: [Mod] Emoji [emoji]

by texmex » Sat Sep 07, 2019 13:59

Very clever use of on chat interception. Maybe add an option to omit it from text chat entirely?
 

CalebJ
Member
 
Posts: 155
Joined: Sat Dec 29, 2018 19:21
Location: Tunnelers' Abyss
In-game: CalebJ

Re: [Mod] Emoji [emoji]

by CalebJ » Sat Sep 07, 2019 17:54

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: 515
Joined: Fri Apr 07, 2017 08:49
GitHub: bosapara

Re: [Mod] Emoji [emoji]

by bosapara » Tue Sep 10, 2019 17:10

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: 1524
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [Mod] Emoji [emoji]

by texmex » Tue Sep 10, 2019 17:37

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.
 

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

Re: [Mod] Emoji [emoji]

by bosapara » Tue Sep 10, 2019 17:50

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: 1524
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: texmex

Re: [Mod] Emoji [emoji]

by texmex » Tue Sep 10, 2019 20:35

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

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

Re: [Mod] Emoji [emoji]

by bosapara » Tue Sep 10, 2019 23:25

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: 3543
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: [Mod] Emoji [emoji]

by Wuzzy » Sat Sep 14, 2019 22:22

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: 212
Joined: Sat May 25, 2019 00:15
Location: United States

Re: [Mod] Emoji [emoji]

by FreeGamers » Sun Sep 15, 2019 03:22

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 :-*
 

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

Re: [Mod] Emoji [emoji]

by bosapara » Sun Sep 15, 2019 08:32

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.
 


Return to WIP Mods



Who is online

Users browsing this forum: Majestic-12 [Bot] and 5 guests