If mana is under 100, increase it by 1 every 0.5 seconds unless mana was used in the last 3 seconds.
Add command /mana set *player* *ammount* (this sets the players current mana to the specified ammount)
Add command /mana take *player* *ammount* (this removes the ammount from the players current mana)
Add command /mana give *player* *ammount* (this adds the ammount onto the players current mana)
Commands will be executed by external plugins so no need to make anything that uses mana.
If mana falls below zero, increase it to 0 and damage the player with 2 damage per 5 mana under zero.
Add item "Mana potion" which can be retrieved with /mana potion.
Mana potion is a water bottle.
When drunk, adds 75 to the players current mana
Mana potion name: &9Mana Potion
Mana potion lore: &3Restores 75 mana when drunk.
When the players mana is equal to the following values, give them a message:
100 = &6&lMana is fully recharged!
50 = &3Mana is at 50%
25 = &3Mana is at 25%
0 = &4The spell feeds off your life to power itself! &4&lOut of mana!
Note that when you are on zero mana the spell will not be cancelled.
Instead of using mana it will damage the user.
Note* Spells are made in a seperate plugin.
As long as the mana and commands work then i can hook into them. (Spells will be created with crackshot)
Thanks to anyone who can do this!
My server ip: mcexotech.mymc.io
(If you want to take a look)
Mana Plugin-
Every players default mana is 100.
If mana is under 100, increase it by 1 every 0.5 seconds unless mana was used in the last 3 seconds.
Add command /mana set *player* *ammount* (this sets the players current mana to the specified ammount)
Add command /mana take *player* *ammount* (this removes the ammount from the players current mana)
Add command /mana give *player* *ammount* (this adds the ammount onto the players current mana)
Commands will be executed by external plugins so no need to make anything that uses mana.
If mana falls below zero, increase it to 0 and damage the player with 2 damage per 5 mana under zero.
Add item "Mana potion" which can be retrieved with /mana potion.
Mana potion is a water bottle.
When drunk, adds 75 to the players current mana
Mana potion name: &9Mana Potion
Mana potion lore: &3Restores 75 mana when drunk.
When the players mana is equal to the following values, give them a message:
100 = &6&lMana is fully recharged!
50 = &3Mana is at 50%
25 = &3Mana is at 25%
0 = &4The spell feeds off your life to power itself! &4&lOut of mana!
Note that when you are on zero mana the spell will not be cancelled.
Instead of using mana it will damage the user.
Note* Spells are made in a seperate plugin.
As long as the mana and commands work then i can hook into them. (Spells will be created with crackshot)
Thanks to anyone who can do this!
My server ip: mcexotech.mymc.io
(If you want to take a look)