« Back to search

Mod

Central Message

by Wuzzy · score 2.8 · license: GPL-2.0-only

Central Message

Download latest release

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

library

This 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.