OceManaBar

Introduction.

Last Dev Build

here is the last development build that contains ALL changes written here

03/05/2012

Hi, filled by requestes, i've found some time to understand how new bukkit event system works, and i've rewritten my plugin to have it work. I've tested on my server and seems fine, no errors, but let me know. As i told many times, i'm not a java expert and i just copied something from other plugins code, mainly MobHealth. Thanks to his author, so.

Note: you need to delete old config and put the included new one. Due to a bug that i'm trying to fix, the autogenerated configuration file is missing from everything except header with instructions -_- Also, i've added a link to my github page with the source code. If you like this plugin and you think it helps your server, please consider a small donation ;)

11/01/2012

MagicSpells has a new version, with listerner bug fixed, so please download it before using this plugin!

08/01/2012

Updated again, work as I wanted (with listener) but listener of magicspells is incomplete. wait for a new version of magicspells, then this will work as intended. For now it wont refill bar when mana is regenerated. Link is same as always: last working version (or just wait for approval on bukkitdev)

source code is now released inside .jar file new todo things added

Donations

donate Want to offer me a beer? Here you go!:P

Configuration

Configure this plugin is easy and intuitive, but if you want you can check this page

Permissions

ocemanabar.show
Set manabar visible or not
ocemanabar.user
Allow players to change size and position of the bar
ocemanabar.admin
Allow players to reload plugin

Commands

Every command can begin with /manabar or /ocemanabar, both are identical

/manabar reload
reload configuration from file
/manabar on
shows manabar for single player (not globally)
/manabar off
hides manabar for single player (not globally)
/manabar position [X] [Y]
for players with "user" permission, change the position of the bar according to the two numbers X and Y
/manabar position reset
for players with "user" permission, reset bar position to default (from config file)
/manabar size [X] [Y]
for players with "user" permission, change the width and the height of the bar according to the two numbers X and Y
/manabar size reset
for players with "user" permission, reset bar width and height to default (from config file)

Changelog

See this page.

Planned

  • permission to show manabar or not done in v0.3
  • configurable X and Y from the screen done in v0.2
  • configurable height - width done in v0.2
  • configurable size done in v0.2
  • use values from magicspell config
  • configurable colors for full/empty ascii bar
  • configurable colors for gradient bar done in v2.5
  • change the bar type to color-filled instead of text (it's a bit advanced I think, but I'll try) done in v0.4
  • optional [current value / total value] near mana bar (now is always displayed) done in v0.2
  • configurable X and Y from the screen done in v0.2
  • fix widget flicks/disappear done in v0.5
  • use magicspell events to update mana value instead of player move. This will use A LOT of less CPU. done in v0.6
  • add a label to write which spell is currently selected
  • attach 2 keys to scroll through spells (like current right click and shift-right click)
  • commands to set bar position per-player instead of globally from config. config values will be just the default position. done in v2.5

Source

https://github.com/oceanor/OceManaBar

Screenshot

ManaBar Ascii ManaBar Gradient


I'm very interested in suggestions, so if you have some, just open a ticket!


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

  • Project ID
    33162
  • Created
    Oct 20, 2011
  • Last Released File
    Jul 6, 2012
  • Total Downloads
    10,632
  • License

Categories

Members

Recent Files

Bukkit