https://metaplay.io logo
u
How would you approach implementing a "Global Chat System" (for an RPG)? Features i would like: - Write text and emojies visible to everyone on your Server -> Post items / guild invites etc. - People can see your profile picture -> click on it and see your character - Saving a chat history to some extent - Moderation tools and profanity filters (I'm new to Metaplay and backend engineering in general and will only start work on chat in a few months but a first overview of how to go about it would be extremely helpful)
h
Hey Jerry! You can start by implementing a new persisted entity to run your chat, and persist it in database. https://docs.metaplay.io/game-server-programming/how-to-guides/custom-server-entities.html You can set up an 'avatar' data structure into the chat actor which holds player profile and any character information. For moderation tools, you can first implement some API endpoints for the actor: https://docs.metaplay.io/liveops-dashboard/how-to-guides/working-with-the-liveops-dashboard-http-api.html and then build frontend for the tools into the dashboard https://docs.metaplay.io/liveops-dashboard/how-to-guides/customizing-the-liveops-dashboard-frontend.html
u
Hi Henri thanks for the overview!