So I created a small game with a custom chat, so I can chat with my friends without the annoying chat filters: https://www.roblox.com/games/1323598693/RZS-ChatRoom The next step how I want to improve this is by adding a chat logger, which record everything anyone said, and then shows it when I need it. The logger probably should only record, idk, 200 chats, maybe?
I believe a DataStore is the solution, however I don't know how or where to start. I looked over a few tutorials, however those are regarding saving data for invidivial players, not the whole game.
I heard that DataStores have limits to how much data they hold, so wouldn't very long chats havge a problem saving?
I know this is not a request site, however I'm not asking for a script. Just ideas, maybe some tutorial suggestions, or perhaps a DataStore would not work, so what would? Pretty much anything would help. Thx.
You can try recording them into discord like I do, it doesn't tag any messages. All you need to do is create a webhook for a channel.
local url = "https://discord.osyr.is/api/webhooks/WEBHOOK GOES HERE" -- Discord text channel webhook URL local http = game:GetService('HttpService') game.Players.PlayerAdded:connect(function(plr) plr.Chatted:connect(function(msg) local data = { ['username'] = plr.Name, ['content'] = msg } local newdata = http:JSONEncode(data) http:PostAsync(url,newdata) end) end)