OceManaBar
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
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 notdone in v0.3configurable X and Y from the screendone in v0.2configurable height - widthdone in v0.2configurable sizedone in v0.2- use values from magicspell config
- configurable colors for full/empty ascii bar
configurable colors for gradient bardone in v2.5change the bar type to color-filled instead of text (it's a bit advanced I think, but I'll try)done in v0.4optional [current value / total value] near mana bar (now is always displayed)done in v0.2configurable X and Y from the screendone in v0.2fix widget flicks/disappeardone in v0.5use 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
I'm very interested in suggestions, so if you have some, just open a ticket!
i'll update this in these days, sorry for inconvenience
its a shame, i loved this =[ gotta remove it
Been over a month with nothing from the dev - latest MagicSpells build breaks with this installed (None of the spout GUI stuff will work from any plugin) - it's either don't update or delete this. Anyone know if he's carrying on with it?
Suggestion: Add display for the spell that you are using, and get with MagicSpells dev to add an option to not display the spell you are using. Also, add a bar for the amount of memory you are using; for those of us running MagicSpellsMemory
Even more important suggestion: Update :-D
I hope this isn't forgotten
@oceanor
Doesn't happen with mmoParty or mmoTarget. This should be fixable.
2011-12-28 12:22:11 [SEVERE] Error occurred while disabling OceManaBar v0.3 (Is it up to date?): null java.lang.NullPointerException at me.oceanor.OceManaBar.OceManaBar.onDisable(OceManaBar.java:25) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:190) at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:989) at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:296) at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:289) at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:181) at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:376) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:455) at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
when will this be updated?
@NeonJ
like every GUI-related plugin (example: bukkitinventorytools and every other plugin that uses icons for example), it's a non-fixable bug..
This is awesome! Only problem I have with it is that it annoyingly stretches when I make my screen bigger. Please fix! :D
This is awesome! i cant wait for further updates!
I dont know how heroes works, even that plugin have mana bar with gui missing? I can try...
Do you plan to add Heroes support? That would be awesome :D
temp link: here