It is directed to mod and subgame authors. Players only need to download this if another mod depends on it.
Each message is displayed for 5 seconds, then it is removed. By default, up to 7 messages are displayed at once (further messages will cause the oldest message to be removed).
When multiple messages are pushed quickly in succession, the messages will be “stacked” on the screen.
Messages can either be displayed to a single single player, or to all players at once.
Some server configuration can be made in the advanced settings menu.
The API functions are thus very analogous to minetest.send_chat_player and minetest.send_chat_all.
This is how it looks after I have quickly pushed 10 example messages:
This mod can be useful to inform about all sorts of events and is an alternative to use the chat log to display special events. In my opinion, the chat log can be quickly become very crowded if mods put all sorts of generic messages into it. Which motivated the creation of this mod.
Some usage examples:
- Messages about game events, like victory, defeat, next round starting, etc.
- Error message directed to a single player
- Informational messages
- Administational messages to warn players about a coming server shutdown
Download: http://repo.or.cz/minetest_central_mess ... 05a58a.zip
License of everything: WTPFL
Project page (with Git repository links): http://repo.or.cz/w/minetest_central_message.git
Current version: 0.3.0 (For this mod I use Semantic Versioning 2.0.0, see http://semver.org/)