ManaAPI [1.8 - 1.18.x] icon

ManaAPI [1.8 - 1.18.x] -----

Integrate a Mana system into your plugin



Set the maximum amount of Mana a Player can have:
setMaxMana(Player player, int amount)

Set the current amount of Mana from a Player:
setCurrentMana(Player player, int amount)

Get the maximum amount of Mana a Player can have (returns int):
getMaxMana(Player player)

Get the current amount of Mana from a Player (returns int):
getCurrentMana(Player player)

Recover the Mana from a Player (recovers every minute):
recoverMana(Player player, float recoveryPercent)
Resource Information
Author:
----------
Total Downloads: 334
First Release: Feb 25, 2022
Last Update: Feb 25, 2022
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings