promotional bannermobile promotional banner

ManaBarLib

Configurable Mana Bar For Modders

ManaBarLib Overview:

Currently ManaBarLib is controlled via NBT Tags in addition to commands. The following are the list of useful commands:

/cdtoggle  <true/false> - This toggles the mana bar view on or off

/cdset <percent> - Set the mana bar to a given a percentage e.g. 10

/cdwait <wait> - The <wait> here refers to the number of ticks to wait before regenerating 1% of the mana

/cdget - Returns the current cooldown perccentage in chat

 

 

Accessing a players current cooldown level can done through a number NBT tag stored with every player called "cooldown_val" and wil return a decimal value from 0.0 to 100.0

KNOWN ISSUES & FUTURE FEATURES:
1) Using decimal value within the /cdset command can result in the cooldown bar reaching 100.9% instead of capping off at 100%
2) Missing configurable mana bar locations

 


 

 

 
I've partnered with RocketNode Hosting! RocketNode provides top-tier server hosting worldwide, allowing you to set up your server with just a few clicks! Their intuitive dashboard makes server management a breeze, and you can even schedule automatic restarts without needing any coding knowledge. Use the code Mino to get 25% off your first month on any of their gaming servers. Get started here: https://rocketnode.com/mino

The ManaBarLib Team

profile avatar
  • 57
    Followers
  • 26
    Projects
  • 8.5M
    Downloads

More from MinoBananaView all