LevelStats
LevelStats
Description
Levelstats is a plugin that allows the user to use his level like role-play game. Leveling up you will gain 1 "stat point" each lvl and you will be able to spend it in upgrade your maximum health and upgrade the chance of critical hit, by the moment. You will be able to configure some features to adjust the plugin to you.
Know errors/issues
- No compatible with godmode yet. (survival and creative mode are compatible, I mean godmodes from other plugins)
- When server crash (for an external reason) stats maybe will be reset.
- on my server the death events don't work, so I improvise other death-recognition system.
- others not known.
- config IncPerUpgrade values not working (just an example)
"To do" list
- add permisions
- compatible with godmode
- improve source code
- add more stats
- solve some bugs
- add configurable values
- add help usage
- add more commands
- add english translation
- more things
Feature list
- expandable maximum HP until 50
- upgradeable Critial rate until 50
- not lost level at death
- lava do the same % of dmg
- 100% extra dmg at critical hit.
- minecraft 1.1 compatible, at the moment.
Usage
- /"lvls" or "levelstats"
- /lvls points = view points
- /lvls stats = view your stats
- /lvls buyhealth <number> = buy this number of maxhealth
- /lvls buyrate <number> = buy this number if critical rate
- /lvls reset = reset lvl and stats to start "new game" (on v.0.2)
Bug found
-Tell me in a comment if you found a diferent bug ;)
- Found by Chemical_Datas:
- "/lvls" command exception: fixed, will be working on v.0.3
- EntityRegainHealthEvent error on towny town: trying but hard to resolve
- /heal from essentials: in process
note: I am currently working on Auras, it take some time. I will continue with this one asap!
-
View User Profile
-
Send Message
Posted Sep 4, 2012@m9731526
Currently I am alone on these projects, so I must choose one to first get a good version, and then the other, two works at the same time is too much, and first I am working on Auras, but when I complete it, or if I find another person, I will try to continue this one. ;)
-
View User Profile
-
Send Message
Posted Aug 18, 2012I really think this is a great plugin, it makes a more RPG style game, I like this.
Your To-do list is long, I'm sorry, but please work harder on this!!
ATK increase is especially important, it's a rare feature of plugins recent, the other features, this plugin can be complementary with other rpg pluign.
Poor english, sorry...
-
View User Profile
-
Send Message
Posted Jul 16, 2012Thanks Chemical_Datas, I will work on it.
-
View User Profile
-
Send Message
Posted Jul 16, 2012And this upon the ./lvls command. I just put the plugin in and started. So a complete fresh start. 2012-07-16 12:44:31 [INFO] [Command - Chemical_Datas] /lvls 2012-07-16 12:44:31 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'lvls' in plugin levelStats v1 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:106) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:172) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:567) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.ArrayIndexOutOfBoundsException: 0 at com.storm.levelStatsCommand.onCommand(levelStatsCommand.java:25) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 14 more
-
View User Profile
-
Send Message
Posted Jul 16, 2012Im getting this error upon health regeneration.
2012-07-16 12:42:38 [SEVERE] Could not pass event EntityRegainHealthEvent to levelStats org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:304) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460) at com.palmergames.bukkit.towny.tasks.HealthRegenTimerTask.incHealth(Unknown Source) at com.palmergames.bukkit.towny.tasks.HealthRegenTimerTask.run(Unknown Source) at com.bergerkiller.bukkit.nolagg.examine.TimedWrapper.run(TimedWrapper.java:27) at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:126) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:533) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:459) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.IllegalArgumentException: Health must be between 0 and 20 at org.bukkit.craftbukkit.entity.CraftLivingEntity.setHealth(CraftLivingEntity.java:56) at com.storm.levelStatsListeners.onRegainH(levelStatsListeners.java:239) at sun.reflect.GeneratedMethodAccessor671.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ... 10 more
It only occurs when your in a towny town, with its regen health. It also seems that your plugin is having a hard time regestering when somone heals. ./heal from essentials has no effect upon your plugins player health.