Hot Summer Deals are Here!
Celebrate with up to 99% off on 17,400 resources
02
Days
16
Hours
31
Mins
59
Secs

Billmojies - Simple emoji plugin

Status
This thread has been locked.

Bill

a rare billy boy has appeared
Premium
Feedback score
11
Posts
842
Reactions
336
Resources
0
Billmojies

So I was bored and made a super simple emoji plugin, suggestion by Vilsike

Download: mediafire

ZJLtSSjDR7mT2uSLNwREKg.png


How the config works:
Basically you put your text you want to be replaced with the text to be replaced, and inbetween the two you put a comma ",".
So if I want the double arrow emoji everyone uses all the time I would do:
- doublearrow,»
And if a player types "doublearrow" in chat it would be replaced by "»".
Code:
symbols:
- :D,☺
- D:,☹
- :O,⍥
- <3,§c❤§r
- '#rain,☂'
- '#sun,☼'
- '#cloud,☁'
- '#half,½'
- '#king,♚'
- '#music,♫'
- '#plane,✈'
- '#star,★'
- '#lightning,ϟ'
- '#cut,✄'
- '#write,✎'

Pretty much the entire thing haha
Code:
String[] emojies = symbolList.toArray(new String[0]);
        for(int i = 0 ; i< emojies.length; i++){
            String[] words = emojies[i].toString().split(",");
            e.setMessage(e.getMessage().replaceAll(words[0], words[1]));
        }
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Vilsike

Previous owner of OasisMC, SimpPixel, and others!
Supreme
Feedback score
4
Posts
461
Reactions
146
Resources
0
Hurray!

I'll try to think of other small ones.
 
Status
This thread has been locked.
Top