Garry's Mod

Garry's Mod

Custom Chat
Showing 21-30 of 116 entries
< 1  2  3  4  5 ... 12 >
Update: 21 Jun, 2024 @ 9:53pm

- Add server console variable to enable/disable direct messages: custom_chat_enable_dms
- Added Russian localization (Thanks, Flarky55!)
- Fixed emoji remove button tooltip text (Thanks, Flarky55!)

Update: 10 Jun, 2024 @ 7:58pm

- Make new channel elements invisible by default. Fixes new DMs showing on top of other channels when the chat is already open.

Update: 10 Jun, 2024 @ 7:13pm

- Improve missed messages counter
- Remove text that was visible behind the "Open direct message" button

Update: 10 Jun, 2024 @ 6:55pm

- Don't treat Direct Messages as team chat

Update: 7 Jun, 2024 @ 11:33am

- Fix SetActiveChannel causing channels to show up while chat is closed
- Switch to next channel when removing the active one

Update: 7 Jun, 2024 @ 11:19am

- Pass channel parameter to the PlayerSay hook
- Update channel when creating with one with a existing ID

Update: 7 Jun, 2024 @ 6:21am

- Fix server side errors caused by trying to use incorrect table on disconnect

Update: 6 Jun, 2024 @ 8:22am

Added chat channels

- Show a small counter for new messages in each channel
- You can press CTRL+Tab or click on the icons to switch channels
- Channels using SteamIDs as their own IDs are treated as Direct Messages

Code refactor

- Use strings for message channel IDs
- Use JSON for message networking
- Renamed convar customchat_disable to custom_chat_enable
- Placed CustomChat.LAST_SEEN_TABLE on the autorun file
- Organized the server's main.lua and config.lua code into separate files
- Moved the server's Config.* functions to the CustomChat table
- CustomChat.NiceTime is CLIENT only, moved to the main client file
- Created CustomChat.SetTyping to change the "hands-on-ear" from the client side
- Merged CustomChat.RGBToJs/CustomChat.RGBAToJs into CustomChat.ColorToRGB
- Renamed CustomChat.PrintF to CustomChat.Print
- Renamed CustomChat.InternalMessage to CustomChat.PrintMessage
- Renamed CustomChat.Serialize/Unserialize to CustomChat.ToJSON/FromJSON
- Renamed CustomChat.AddLine to CustomChat.AppendString
- Renamed ParseTheme/LoadThemeFile/SaveThemeFile/CreateThemeFile to Parse/LoadFile/SaveFile/CreateFile
- Renamed CustomChat.teamOnly to CustomChat.isUsingTeamOnly
- Send and use player name on the customchat.player_spawned network event
- Allow players (with permission) to edit the current server theme
- Moved connect/disconnect messages logic to a separate file
- Stored built-in emoji metadata in data_static/custom_chat_emojis.json
- Renamed a few CSS classes to represent what they do better
- Removed the media player

Update: 22 May, 2024 @ 7:57am

- Added country flag emojis
- Bundle custom emoji example with the addon
- Whitelisted cdn*.emoji.gg (Unfortunately, emoji.gg no longer works without the Chromium beta for Garry's Mod)

Update: 6 May, 2024 @ 3:50pm

- Fix false SQL errors on the server console (It will no longer print "SetLastSeen SQL for player X failed" when in it actually succeeded)