descriptionA Minetest mod which adds a new mana attribute to players.
last changeTue, 20 Jun 2017 14:57:11 +0000 (20 16:57 +0200)
content tags

Mana [mana]


This mod adds basic support for mana to Minetest.

Each player will have an additional attribute: Mana. To be precise:

By default, each player spawns with 0/200 mana, and regenerates 1 mana per fifth of a second. All these values can be configured with the server settings (minetest.conf) and it is highly advised to do so if you plan to integrate this mod into a subgame.

The mana regeneration rate (the “mana tick”) is a global setting and is not configured on a per-player basis.

The mod provides a simple API to set, get, add and subtract the mana (and maximum) mana of any player, and for setting the regeneration amount. Note that this mod itself does not change the gameplay in a meaningful way. You should install other mods which use the Mana mod as a dependency.

The API documentation is in the file

If the mod “HUD bars” [hudbars] is installed, a blue bar will be added to the HUD showing the player's mana reserves. It currently only works with version 0.3.0 of this mod.

Otherwise, the mana is just shown as text.


This mod can be configured with minetest.conf! The following settings are accepted:

License information

2017-06-20 WuzzyUpdate for 0.4.16 settings syntaxmaster
2016-11-12 WuzzyVersion 1.2.0
2016-11-09 WuzzyUpdate outdated inttlib boilerplate
2016-10-29 WuzzyFix CC-BY 3.0 link
2016-10-29 WuzzyUse Markdown format for README file
2016-10-29 WuzzyRemove redundant version number from init.lua
2016-08-05 WuzzyAdd intllib support
2015-05-29 WuzzyFix undeclared global variable bug
2015-05-25 WuzzyVersion 1.1.0
2015-05-25 WuzzyUpdate documentation
2015-05-25 WuzzyRegen can now be a float and negative
2015-05-25 WuzzyFix fallback mana display
2015-05-19 WuzzyAdd background icon
2015-04-01 WuzzyFix version number in init.lua
2015-03-31 WuzzyIncrement patch number
2015-03-31 WuzzyFix mana resetting for re-joining players
20 months ago master