by Kirill "iPlayer" Mysnik
MOTDPlayer is a software for Source-powered games that allows plugin creators to send interactive Message of The Day screens to their players.
MOTDPlayer consists of:
- Source.Python custom package
- Flask web-application
MOTDPlayer automatically authorizes the user behind the scenes, so your MoTD web-page will know which of your players exactly is viewing it. All auth details are secured with a SHA-512 hash, so it's impossible to view the page as another player.
MOTDPlayer provides an interface that lets the MoTD page send data to the game server and get something in return.
Just to make sure you realize how powerful MOTDPlayer is, I give you a link to ArcRPG inventory/stats demo video. That one was actually implemented with MOTDPlayer v1. Version 2 is way more powerful and allows the usage of WebSocket protocol.
Example applications can be found in MOTDPlayer repo.
Here's the topic which includes a video tutorial.
How to use it in your plugin
API docs can also be found in MOTDPlayer repo here.