Lore Attributes Revival
Disclaimer
Nighteyes604 sadly has stopped development on this, and has noted that anyone can pick it up and work on it. His post here : http://forums.bukkit.org/threads/dev-needed-plugin-revival-loreattributes.171252/#post-1845003 Because of this I will be taking over, and writing the new versions. I have already fixed it so it "WORKS". the main thing stopping the plugin from working was the health, and some other hooks to things like Mob Arena. Sadly I've disabled the mob arena hooks, but I have fixed health and it works. SO BIG THANKS TO NIGHTEYES604 for letting people take over.
DEC 2015 UPDATE
THIS PROJECT HAS EVOLVED. We went from a simple little plugin and it turned into a full blown full-scale mmorpg. More info can be found here:
A Little About Me
I'm 28, Married, Have a small child that loves to watch me play League of Legends, and a job that has me out for 50 hours a week. Why is that relevant you ask? Because it leaves me little time to work on things like this. Though making games and such is my passion, I will do my best to continue this at a decent pace, fixing bugs and adding features.
Lore Attributes REVIVAL
We've gone up to 1.6.4 and things are chugging nicely.
As with the Original Lore Attributes the following works :
Damage
Damage boosting can be applied to items in one of two ways - a random range, or a fixed increase.
"+5 Damage" on an item will increase damage dealt by 5 "2-6 Damage" on an item will set the player's damage to be a minimum of 2, maximum of 6.
Damage looks at the sum of all items equipped, and the item in the player's hand. Every range applied to an item is summed together, and then boosts are applied afterwards.
Example:
Helm: 2-3 Damage, Chest: +5 Damage, Sword: 5-10 Damage Overall Damage: 12-18
Health
Max health can be increased by fixed values and can be applied to any item the player has equipped.
+50 Health will increase the player's health by 50.
This action just sets the max health, not current health. If the player removes boosting armor and would have more health than their new max, their health will be lowered to their new max. Regeneration
Health regeneration can be increased by fixed values and can be applied to any item the player has equipped.
+50 Regen will increase their regeneration by 50.
Regeneration boosts are applied when health would typically be regenerated - the player is satiated / has a high food bar.
Attack Speed
Attack speed can be limited / increased and can be applied to any item the player has equipped, and the item in the player's hand.
+2 Attack Speed will increase the player's attack speed by 2.
All player's have a default attack speed of 1, and the "cooldown" between attacks is determined by "base-delay" in the config / attack speed, in seconds.
Example:
Sword: +1 Attack Speed. Base-Delay in config: 2 Attack Speed: Can deal damage once per second (2 / 2 = 1)
Attacks faster than the player's cooldown time will display the message in the config. If the message is set to "none" nothing will display. To use attack speed as a lore, it must be enabled in the config. It is disabled by default.
Dodge
A player can gain a % chance to dodge damage taken from another entity. The dodge attribute can be applied to any equipment the player is wearing, and the item in the player's hand.
Example: +5% Evasion will increase the chance to dodge damage from another living entity (such as monster or another player) by 5% (players start at 0%).
Critical Chance and Critical Damage
On dealing damage to another player or entity, players can be given a chance to have a critical attack - which deals critical damage. Players will need both the critical chance lore and the critical damage lore for crits to be noticable.
Example: +5% Critical Chance +10 Critical Damage
Means the player will deal an extra 10 damage on average 5% of the time.
Life Steal
Life steal lore gives players and monsters the ability to heal when they attack. Anyone with the life steal attribute will heal a maximum of their life steal bonus or the damage dealt, whichever is smaller.
Example: +10 Life Steal Any attacks done by this player will heal the attack damage, up to a maximum of 10.
Armor
Armor lore adds defensive traits to the player or monster, and reduces damage done by other entities based on the armor value.
Example: +10 Armor Any damage this player would have taken from another player or monster will be reduced by 10.
Level Required
Requires a certain level to be equipped. Items will pop off if it is not able to be equipped. This can not be edited at this time do it EXACTLY like below, ( with the ability to change the level required obviously )
Example: Level 5
When does Lore get applied?
- Health - Applied on login, closing inventory, respawn, targeting (for mobs).
- Damage, life steal, attack speed, critical chance, critical damage - Applied on attack.
- Regen - Applied when player would normally regenerate health.
- Item Restriction - Checked on inventory close, shooting bow / attacking, and crafting
- Dodge, Armor - Applied on taking damage from another player or mob
- Level Required - Checked on inventory close, shooting bow / attacking, and crafting
Commands
/hp show your specific , un-rounded, mathematical health. /lorestats show all of your buffs from lore items.
Known Issues
- Hp bar flickers to full and back down
- THAT GOD FORSAKEN DEFAULT MINECRAFT CRAP AT THE BOTTOM.
- Also looks like damage is not being applied when you take a hit ( but it is ) you'll notice the correct value appear in your hearts when you regen. ( for accurate checking of health use /hp )
Planned Features
Level required to use ADDED!- Chance on strike ( for weapons) to do effect
- Chance on hurt ( for armor ) to do effect
- Chance on Effects : Heal X hp, Light Target on fire, Cause Slow, Cause Nausea , cause blind, cause hunger, cause poison, etc
Change Log
Frequently Asked Questions
How do I use this? I cant add things...
Indeed! This plugin only reads the lores. Please find another plugin to help you add them. I suggest Lores, http://dev.bukkit.org/bukkit-plugins/lores/ but there are other options available.
Can you make this work with X
No. No i can not. While I have my ambitions to add support for other plugins, we are not at that point yet. Please notice there is no release, or no beta, and all the release files are labeled as alpha.
Hey XXXX is broken !?
While not technically a question, it deserves response. Please post these in the comment box, i will get to them as i can. Please understand that if you are not running a server with JUST this, and Lores( or similar plugin ) I wont be able to assist. PLEASE IF YOU ARE REPORTING A BUG, LIST THE SERVER VERSION, AND PLUGIN VERSION, AND A FULL LIST OF LORE TEXT INVOLVED.
Why haven't you answered my question?!?!!?!
I get this a lot. This is because you're not @#$%^ing paying attention ^^. I will IGNORE all questions that have answers already in the description. So if you ask something stupid, I'll ignore it. If you set something up BLATANTLY wrong, I'll ignore it. I'm here to make a good plugin, not babysit and assist those with poor reading skills. This may seem harsh, and unlike most plugin makers. But let's look at it this way, I can spend my time correcting typos, and saying "please read X section of the description", or, I can code and work on the plugin.
-
View User Profile
-
Send Message
Posted Oct 6, 2013This dont work with mobs ;-; i added with mcedit 1000 hp chestplate im a mob and not works can you make work with mobs?
-
View User Profile
-
Send Message
Posted Oct 5, 2013Please update to 1.6.4 :)
-
View User Profile
-
Send Message
Posted Oct 4, 2013@LordPhrozen
I'm posting this because I don't think my edit worked. Anyways the only case this error is caused is when you set a constant value for damage as in +5 Damage instead of +5-7 Damage.
-
View User Profile
-
Send Message
Posted Oct 4, 2013@LordPhrozen
Okay, as far as I can tell it still works, and thank you for bearing with me. Though I'm still getting this error when I hit a mob. EDIT: I've tested everything and the only thing that causes this error is when I set a constant number for damage as in +5 Damage. Works just fine with +5-10 Damage
2013-10-04 15:38:24 [SEVERE] Could not pass event EntityDamageByEntityEvent to LoreAttributesREVIVE v1.3.0 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:30) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:478) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:463) at org.bukkit.craftbukkit.v1_6_R3.event.CraftEventFactory.callEvent(CraftEventFactory.java:94) at org.bukkit.craftbukkit.v1_6_R3.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:398) at org.bukkit.craftbukkit.v1_6_R3.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:423) at net.minecraft.server.v1_6_R3.EntityLiving.damageEntity(EntityLiving.java:644) at net.minecraft.server.v1_6_R3.EntityMonster.damageEntity(EntityMonster.java:39) at net.minecraft.server.v1_6_R3.EntityHuman.attack(EntityHuman.java:889) at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:1148) at net.minecraft.server.v1_6_R3.Packet7UseEntity.handle(SourceFile:36) at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:230) at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:116) at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37) at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:132) at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:594) at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:240) at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:483) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:415) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583) Caused by: java.lang.IllegalStateException: No match found at java.util.regex.Matcher.group(Unknown Source) at Test.LoreManager.getDamageBonus(LoreManager.java:556) at Test.LoreEvents.modifyEntityDamage(LoreEvents.java:84) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.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:425) ... 21 more
-
View User Profile
-
Send Message
Posted Oct 4, 2013@ Linyrae :
I don't remember specifically disabling this. This may still work as previously intended. Please let me know if it does not and I will see if I can fix that when I get home. Currently at work. :]
-
View User Profile
-
Send Message
Posted Oct 3, 2013Where did the old Item restrictions go? Where you could specify a permission node you had to have to use the item? This was really useful because you could specify a class you had to be to use the equipment.
-
View User Profile
-
Send Message
Posted Oct 3, 2013@crysis:
Are the only plugins running on your server lores and this plugin? If not you're not using this as intended. Plugin status = alpha.
I am NOT, nor will I ever be supporting heroes. As for other plugins maybe. But we are not here yet.
If you're running anything other than 1. 6. 2 that may also be causing issues.
-
View User Profile
-
Send Message
Posted Oct 3, 2013@crysis992
@LordPhrozen
he said something about stopping that many hearts from appearing.
As much as I know, Heroes (hue) does that (stopped using it, tho).
Like, showing only the normal hearts and not additional hearts.
-
View User Profile
-
Send Message
Posted Oct 2, 2013Example , my chestplate is +50 health, and my hearts (not health , hearts) go to 60hearts how to fix it?
-
View User Profile
-
Send Message
Posted Oct 2, 2013You can make a point off in changed lives?Well or do if the values "0" itself off.
-
View User Profile
-
Send Message
Posted Oct 1, 2013@crysis992 : First, this is odd, i will try and reproduce this.
Second, couple things could be happening here. the random 12, sounds like a crit, but upon further inspection default crit chance is indeed 0%. That being said, it could be minecraft's crit, but even that mechanic is different. I will be investigating this, i could not reproduce on a mob.
Can I please get a list of the EXACT lore on each item? What version of the plugin?
-
View User Profile
-
Send Message
Posted Oct 1, 2013@ProfaaNN : what? lol?
i wont be supporting 1.6.4 right away, i run a hybrid forge / bucket setup, and most plugins arent there yet
-
View User Profile
-
Send Message
Posted Oct 1, 2013In the next update you can make the hearts lock in 10? because i have 10khp and my hearts is 20k
-
View User Profile
-
Send Message
Posted Oct 1, 2013@reneg1990
Damage is 10-15 Damage, without +.
I haven't tested it on 1.6.4, tho.
-
View User Profile
-
Send Message
Posted Oct 1, 2013Is this not working in 1.6.4? - Im unsure if I'm personally at fault, or if its the plugin. I use the latest version of your Plugin and the latest version of "Lores" aswell. I dont seem to be able to get any extrea health, damage or anything when i add the lore. If im not mistaken, all I have to do is hold an item in my hand, then do /lore add +5 Damage etc or +10 Health - and it should add it right? Also the Damage difference would that be added like +10-15 Damage, or how does that work? Sorry im a bit new on these things, first time playing around with lore edits, so not entirely sure how it works. Thanks
-
View User Profile
-
Send Message
Posted Sep 30, 2013@lanceryy :
Please see section 6.2 above. http://tinyurl.com/lt9nulj
-
View User Profile
-
Send Message
Posted Sep 30, 2013now this plugin don't support permissions-health . May i know that are there any plugin can do same as permissions-health ? or Lore Attributes Revival won't support it coming day?
-
View User Profile
-
Send Message
Posted Sep 30, 2013So. this is really weird.
I knocked the base HP down to 10. and i get 5 hearts, filled half way ( 2.5 hearts) like its somehow giving the hearts in a percent value compared to 20 ( default health ).
No idea how, or why, as that is no where in the code.
-
View User Profile
-
Send Message
Posted Sep 30, 2013@ProfaaNN :
0.0.3 addresses this, check your hp with /hp Unfortunately for some reason bukkit is not updating things correctly. and there is still some issues with hearts showing the correct values.
-
View User Profile
-
Send Message
Posted Sep 30, 2013@ProfaaNN
he did, 0.0.3