Skip to content

Adds support for unicode emojis in the Garry's Mod chatbox

License

Notifications You must be signed in to change notification settings

BadgerCode/emojichat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Garry's Mod Emoji Chat

https://steamcommunity.com/sharedfiles/filedetails/?id=1622781878

Features

Emojis!

Emojis image

Emoji suggestions & completion

Emoji completion image

Player name completion

Player name completion image

Additional features

Emoji 11

Console mode

  • Send console commands from chat.
  • Press TAB to change between Global, Team and Console chat

Clickable URLs

  • Any URLs in text are automatically made clickable
  • Clicking on the URL opens it in the Steam overlay browser

Timestamps

  • See the exact time a message was sent

Default chat behaviour

This chatbox has been made to behave similar to the default Garry's Mod chat

  • ESC will exit the chat (but not open the main menu)
  • Your console key will not open console when typing
  • Pressing ENTER when you have not typed anything will close the chatbox and will not send an empty message
  • Old messages will disappear when the chatbox is not open
  • Copy & paste works
  • Attempting to type a message which is too long will play an alert sound and trim your message
  • Emojis are shown as plaintext (e.g. :fox_face:) in console & logs





Questions

What makes this different from other chat boxes with emojis?

All of the emojis you use on Twitter, Facebook, Discord (non-custom emojis), WhatsApp, etc. are available.
See the full list here.

This chatbox also attempts to behave like the default Garry's Mod chatbox to avoid confusing users.

Does this work when offline?

Everything apart from the emojis will work when you are offline. Emojis will show as squares.

I have found a bug or I would like a feature added

Let me know! Submit an issue/feature request on GitHub.
Or comment on the workshop addon.

Help! This addon doesn't work with another chat addon

Let me know - GitHub
Or comment on the workshop addon.





Developer Guide

Setup for local development

Clone this repository.
The folder emojichat should go in your Garry's Mod addons folder.

I would recommend setting up a symbolic link garrysmod/addons/emojichat-lua -> emojichat-repository/emojichat.

HTML Chatbox Component

  • The files for this can be found in the emojichat-html directory
  • For the HTML chatbox, see the README in emojichat-html
  • Old commits can be found here

Credits