(WIP) A chatbox for Garry's Mod with markdown support, emoji support, ability to show images/videos, and some other stuff
Should work on any branch, but intended for usage on x86-64
Read this
You can subscribe to the addon on the Garry's Mod Steam workshop (will be available after the addon is released)
OR
- Download the zip and place it in your addons folder
Steam\steamapps\common\GarrysMod\garrysmod\addons
- Extract the zip in the folder and make sure the addon's lua path is
addons\gmod-bonchat\lua
- RECOMMENDED Make sure you are on the x86-64 branch of Garry's Mod (you can change this by right clicking the game in your library, going to
Properties...
->BETAS
-> selectx86-64 - Chromium + 64-bit binaries
) - OPTIONAL Install the GModCEFCodecFix in order for things like videos to work (a guide can be found in the repository's README) (you should only have to install the codecs once and whenever GMod has an update, you change branches or verify integrity of game files)
✅Finished
➖Working on
❌Not started
- ➖ derma panels
- ✅ frame
- ✅ chatbox
- ✅ browser
- ➖ settings panel
- ➖ url whitelist editing
- ✅ hiding attachments
- ❌ hiding duplicate message (antispam)
- ✅ emojis panel
- ✅ emoji searching
- ✅ Twemoji
- ✅ Silkicon
- ✅ Steam
- ➖ attachments panel
- ✅ attachments
- ❌ game asset attachments
- ❌ chat room panel
- ❌ room creating/joining/leaving
- ❌ room private messaging
- ❌ context popup
- ❌ message context
- ❌ attachment context
- ❌ link context
- ❌ emoji context
- ➖ message sending
- ✅ inline markdown support
- ✅ emoji support
- ✅ Twemoji
- ✅ Silkicon
- ✅ Steam
- ✅ Discord
- ➖ attachments
- ➖ embed
- ✅ image
- ➖ video
- ➖ audio
- ❌ game asset attachments
- ❌ model
- ❌ texture
- ❌ sound
local msg = BonChat.Message()
msg:ShowTimestamp()
msg:AppendEntity(LocalPlayer())
msg:AppendText(": **some text** ")
msg:AppendColor(color_white)
msg:AppendEntity(game.GetWorld())
msg:AppendMarkdown(" **some text** ")
msg:AppendPlayer("Fake Player", Color(0, 255, 0))
BonChat.SendMessage(msg)
👉 See the wiki for more information
- Khan/simple-markdown (code for parsing markdown to HTML)
- amethyst-studio/discord-emoji (emoji shortcode data)
- twitter/twemoji (code for parsing twemojis)
- Twemoji (emoji api)
- Steam (emoji api)
- Discord (emoji api)
- Imgur (api for image pasting functionality)