Central Message

Simple API to show messages to the center of the screen to players.

API / Library

Download (3 KB)

How do I install this?

This Minetest mod is purely an API mod which allows other mods to display a short message at the center of the screen. 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.

Reviews

Review

Do you recommend this mod?

  • No reviews, yet.

Used By