Premium ⚔ Heroes Premium ⚔ 10% OFF BEST RPG PLUGIN EVER [Paid]

Discussion in 'Resource Discussion' started by Kainzo, Jun 13, 2016.

  1. Hey guys i have another question, is there a way to permit special weapons and armor. For example i have a weapon called Weapon A, It has custom enchantments and a HP Buff. I only want class A to use it but not class B. Also is there a way to have like armor to give extra Mana? Thanks!
     
  2. No there isn't a way that I am aware of for specific items. However it sounds like MMOItems may be what you are looking for as it can restrict customisable items to certain classes and give them certain stats, such as increasing max health/mana or enchantments.
     
  3. OMG thank you! Another issue for me again, i decided to edit the mage class's skills however after doing a restart on my server, the mage class's skills just get reset back to the default. Also i added a new class called Assassin, it couldn't appear in the /hero paths.
     
  4. Quick update on 1.14 issues:

    We're looking into them. There's some bugs coming up that we can't reproduce and there's other things in 1.14 that may require a partial rewrite to get working.

    Thank you for being patient.
    We've been doing this for a very long time and several people have moved onto the project and others are joining fresh!

    Since 2011 Heroes has changed the landscape of thousands of servers and I am very proud to have been in the Minecraft community this long :)
     
    • Like Like x 2
  5. Could you attach a paste site link (e.g. hastebin) for both classes and a paste link for your server startup log?
     
  6. Hi,
    I'm using the latest v1.93-Beta 4 version of Heroes for 1.14.
    For a secondary-class named Carpenter I put the following in the Config file:

    permitted-weapon:
    - WOODEN_AXE
    - WOODEN_PICKAXE
    - WOODEN_SHOVEL
    - WOODEN_HOE
    - STONE_AXE
    - STONE_PICKAXE
    - STONE_SHOVEL
    - STONE_HOE
    - IRON_AXE
    - IRON_PICKAXE
    - IRON_SHOVEL
    - IRON_HOE
    - GOLD_AXE
    - GOLDEN_PICKAXE
    - GOLDEN_SHOVEL
    - GOLDEN_HOE
    - DIAMOND_SHOVEL

    Yet, I get the following in the Error log, which is strange as it seems to error some (but not all) of the weapons from the Config file; I even tried using GOLD and GOLDEN to see if one of them would work (which both didn't, it seems):

    Invalid weapon type (WOODEN_PICKAXE) defined for Carpenter
    Invalid weapon type (STONE_PICKAXE) defined for Carpenter
    Invalid weapon type (IRON_PICKAXE) defined for Carpenter
    Invalid weapon type (GOLD_AXE) defined for Carpenter
    Invalid weapon type (GOLDEN_PICKAXE) defined for Carpenter

    I've not used the Heroes plugin for a couple of years (and am glad its still going all these years), but I'm not sure if I'm doing the formatting incorrectly, though I did look through the default example files.

    I apologize if this is not the correct place or troubleshooting; if it isn't, please let me know where I can post this. Thank you.
     
  7. Well fortunately, i found the error. It was just some typo in the class files and i didn't read the developer files properly. I have an error:

    [08:48:10] [Server thread/ERROR]: Could not pass event EntityDamageByEntityEvent to Heroes v1.9.3
    org.bukkit.event.EventException: null
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at com.herocraftonline.heroes.nms.versions.Handler_v1_12_R1.damageEntity(Handler_v1_12_R1.java:274) [Heroes.jar:?]
    at com.herocraftonline.heroes.characters.skill.Skill.damageEntity(Skill.java:324) [Heroes.jar:?]
    at com.herocraftonline.heroes.characters.skill.Skill.damageEntity(Skill.java:336) [Heroes.jar:?]
    at com.herocraftonline.heroes.characters.skill.public1.SkillFireball$SkillEntityListener.onEntityDamage(SkillFireball.java:134) [SkillFireball.jar:?]
    at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_201]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:500) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:485) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callEvent(CraftEventFactory.java:93) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:580) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:483) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at org.bukkit.craftbukkit.v1_12_R1.event.CraftEventFactory.handleLivingEntityDamageEvent(CraftEventFactory.java:612) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at net.minecraft.server.v1_12_R1.EntityLiving.damageEntity0(EntityLiving.java:1346) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at net.minecraft.server.v1_12_R1.EntityLiving.damageEntity(EntityLiving.java:868) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at net.minecraft.server.v1_12_R1.EntityMonster.damageEntity(EntityMonster.java:44) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at net.minecraft.server.v1_12_R1.EntitySnowball.a(SourceFile:45) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at net.minecraft.server.v1_12_R1.EntityProjectile.B_(EntityProjectile.java:167) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at net.minecraft.server.v1_12_R1.World.entityJoinedWorld(World.java:1631) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at net.minecraft.server.v1_12_R1.World.h(World.java:1601) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at net.minecraft.server.v1_12_R1.World.tickEntities(World.java:1435) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at net.minecraft.server.v1_12_R1.WorldServer.tickEntities(WorldServer.java:668) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:817) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577) [spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_201]
    Caused by: java.lang.NullPointerException
    at com.herocraftonline.heroes.util.ArmorUtil$Enchant.getMitigation(ArmorUtil.java:87) ~[?:?]
    at com.herocraftonline.heroes.util.ArmorUtil$Enchant.getMitigation(ArmorUtil.java:96) ~[?:?]
    at com.herocraftonline.heroes.util.ArmorUtil.getEnchantMitigation(ArmorUtil.java:117) ~[?:?]
    at com.herocraftonline.heroes.listeners.HDamageListener$4.handle(HDamageListener.java:356) ~[?:?]
    at com.herocraftonline.heroes.listeners.HDamageListener.onEntityDamage(HDamageListener.java:594) ~[?:?]
    at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source) ~[?:?]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_201]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_201]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.12.2.jar:git-Spigot-dcd1643-e60fc34]
    ... 32 more
    [08:48:13] [Server thread/INFO



    Whenever i use a skill like fireball or any other skill and attack a mob or a player with enchanted armor, it will generate this error constantly. The plugin i found that was the cause is Worldguard. I seriously don't know how to fix this please help!


    Worldguard version: 6.2.2
     
  8. Ah I thought it might have been something odd like that. The error your having with fireball is a recently fixed bug, that hasn't been released yet.
     
  9. No its not only fireball, it includes all of the skills. As long as i use any skills on players or mobs with enchanted armor, it will trigger and lag the server like mad. The plugin of cause was worldguard, i had to run a small test server and removed one plugin by another to see which one. Once i removed worldguard, the error stopped generating. Also i when i use the skills, i use it outside or any region so.....
     
  10. So i am running into a visual issue with the sidebar, it keeps messing up the characters with the format codes and they become visible instead of what it should look like without the color/format codes next too the characters being altered. any fix please? This happenes every time the server restarts or reloads and I have not changed the config file at all.
    bug.jpg

    EDIT: I managed to fix it on my own I just had to removes some of the wierd characters and now its fine.
     
    #3270 aceliip, Sep 21, 2019
    Last edited: Sep 21, 2019
  11. This is generally an issue with UTF8 encoding not being present in your YMLs or whatever file editor
     
  12. Hello, I'm having trouble trying to display [race][class] of the player's chosen race and class in chat as prefix/suffix. Would appreciate the help
     
  13. [10:30:13 INFO]: Exception: No enum constant org.bukkit.Particle.heart
    [10:30:13 WARN]: java.lang.IllegalArgumentException: No enum constant org.bukkit.Particle.heart
    [10:30:13 WARN]: at java.lang.Enum.valueOf(Unknown Source)
    [10:30:13 WARN]: at org.bukkit.Particle.valueOf(Particle.java:1)
    [10:30:13 WARN]: at com.herocraftonline.heroes.nms.versions.Handler_v1_13_R2.playClientEffect(Handler_v1_13_R2.java:412)
    [10:30:13 WARN]: at com.herocraftonline.heroes.util.Util.playClientEffect(Util.java:506)
    [10:30:13 WARN]: at com.herocraftonline.heroes.util.Util.playClientEffect(Util.java:500)
    [10:30:13 WARN]: at com.herocraftonline.heroes.listeners.HPlayerListener.onHeroRegainHealth(HPlayerListener.java:594)
    [10:30:13 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [10:30:13 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [10:30:13 WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [10:30:13 WARN]: at java.lang.reflect.Method.invoke(Unknown Source)
    [10:30:13 WARN]: at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:312)
    [10:30:13 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66)
    [10:30:13 WARN]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507)
    [10:30:13 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:492)
    [10:30:13 WARN]: at com.herocraftonline.heroes.characters.CharacterTemplate.tryHeal(CharacterTemplate.java:523)
    [10:30:13 WARN]: at com.herocraftonline.heroes.characters.effects.PeriodicHealEffect.tickHero(PeriodicHealEffect.java:46)
    [10:30:13 WARN]: at com.herocraftonline.heroes.characters.skill.pack3.SkillHealingChorus$HealingChorusEffect.tickHero(SkillHealingChorus.java:175)
    [10:30:13 WARN]: at com.herocraftonline.heroes.characters.effects.PeriodicExpirableEffect.tick(PeriodicExpirableEffect.java:53)
    [10:30:13 WARN]: at com.herocraftonline.heroes.characters.effects.EffectManager$EffectUpdater.run(EffectManager.java:73)
    [10:30:13 WARN]: at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftTask.run(CraftTask.java:81)
    [10:30:13 WARN]: at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:392)
    [10:30:13 WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:889)
    [10:30:13 WARN]: at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417)
    [10:30:13 WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:831)
    [10:30:13 WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:729)
    [10:30:13 WARN]: at java.lang.Thread.run(Unknown Source)

    It is doing this in the consol every time i use HealingChorus...
     
  14. [10:30:13 INFO]: Exception: No enum constant org.bukkit.Particle.heart
    [10:30:13 WARN]: java.lang.IllegalArgumentException: No enum constant org.bukkit.Particle.heart
    [10:30:13 WARN]: at java.lang.Enum.valueOf(Unknown Source)
    [10:30:13 WARN]: at org.bukkit.Particle.valueOf(Particle.java:1)
    [10:30:13 WARN]: at com.herocraftonline.heroes.nms.versions.Handler_v1_13_R2.playClientEffect(Handler_v1_13_R2.java:412)
    [10:30:13 WARN]: at com.herocraftonline.heroes.util.Util.playClientEffect(Util.java:506)
    [10:30:13 WARN]: at com.herocraftonline.heroes.util.Util.playClientEffect(Util.java:500)
    [10:30:13 WARN]: at com.herocraftonline.heroes.listeners.HPlayerListener.onHeroRegainHealth(HPlayerListener.java:594)
    [10:30:13 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [10:30:13 WARN]: at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    [10:30:13 WARN]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    [10:30:13 WARN]: at java.lang.reflect.Method.invoke(Unknown Source)
    [10:30:13 WARN]: at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:312)
    [10:30:13 WARN]: at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:66)
    [10:30:13 WARN]: at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:507)
    [10:30:13 WARN]: at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:492)
    [10:30:13 WARN]: at com.herocraftonline.heroes.characters.CharacterTemplate.tryHeal(CharacterTemplate.java:523)
    [10:30:13 WARN]: at com.herocraftonline.heroes.characters.effects.PeriodicHealEffect.tickHero(PeriodicHealEffect.java:46)
    [10:30:13 WARN]: at com.herocraftonline.heroes.characters.skill.pack3.SkillHealingChorus$HealingChorusEffect.tickHero(SkillHealingChorus.java:175)
    [10:30:13 WARN]: at com.herocraftonline.heroes.characters.effects.PeriodicExpirableEffect.tick(PeriodicExpirableEffect.java:53)
    [10:30:13 WARN]: at com.herocraftonline.heroes.characters.effects.EffectManager$EffectUpdater.run(EffectManager.java:73)
    [10:30:13 WARN]: at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftTask.run(CraftTask.java:81)
    [10:30:13 WARN]: at org.bukkit.craftbukkit.v1_13_R2.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:392)
    [10:30:13 WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.b(MinecraftServer.java:889)
    [10:30:13 WARN]: at net.minecraft.server.v1_13_R2.DedicatedServer.b(DedicatedServer.java:417)
    [10:30:13 WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.a(MinecraftServer.java:831)
    [10:30:13 WARN]: at net.minecraft.server.v1_13_R2.MinecraftServer.run(MinecraftServer.java:729)
    [10:30:13 WARN]: at java.lang.Thread.run(Unknown Source)

    It is doing this in the consol every time i use HealingChorus...
     
  15. Hi, I am having an issue where the first time I run the plugin, it loads the scoreboard with the icons and everything. Once my server has restarted, the scoreboard starts rendering completely wrong. My server restarts every three hours, so this is a serious issue. On another note, the "Mark" skill does not work, and throws an error every time I try to use it.
     

    Attached Files:

  16. I cannot use the Mark skill, it throws an error. Here is the paste2.org link:
    Error
    Please help
     
  17. I'm having the same issue. I checked and I am using notepad ++ with UTF8 encoding.
     
  18. I have a question : does the user always have to use /skill to bind an item with a skill, or i can use this command a single time and for example all my diamond sword with a specific lore will have this skill on it? Thanks
     
  19. To all:

    What issues are you seeing with the beta 1.1.4x version?

    Trying to get a grip on some user issues so we can push some changes out.