Inactive [RPG] Heroes v1.4.6 - Classes, Skills, Experience, Damage System [1.1r4]

Discussion in 'Inactive/Unsupported Plugins' started by Herocraft Coding, Jul 20, 2011.

Thread Status:
Not open for further replies.
  1. [​IMG]

    Old Post - Check BukDev (open)
    Old Post - Check BukDev (open)

    Version 1.2.3
    By: Herocraft Coding (Kainzo, DThielke, RightLegRed, Rigby90, Sleaker and many others)
    Disclaimer: Heroes is still "beta" - if it burns down your house, sleeps with your wife and rides off on the kids - we are not at fault.​
    license by-nc-nd 3.0​

    Introduction to Heroes
    Heroes is a dynamic, flexible and highly configurable class, skill and experience system. Heroes itself is the hub of your players RPG experience, boasting classes, multi-tiered and fully fleshed out. Along with classes, Heroes offers your players a new style of PvP through our well-developed skill system and our weapon + armor restrictions. No longer will your mages have the ability to use diamond swords, your rogues will no longer sneak around in their heavy diamond tunics and most importantly, you can now hurl fireballs and stun your targets. The best part of this? It's your choice how your Heroes is set up, don't want a certain skill, that's fine, you can just remove the skill and be done with it! We're working towards making everything about Heroes configurable.

    What can I do with it?
    With Heroes, you can do almost anything you'd want to do on an RPG server. The main feature is our customizable tiered class system, which offers as much to the server owner as possible. Your Heroes could be totally unique to your server, it could be the reason players play your server over a server with Heroes but a different set up. The same can be said about our skill system, it's unique to any of the other RPG plugins out there. Other plugins dub "Skills" as methods which you level up, this isn't the case with Heroes. Skills are things you can do which are unique to your class. Some of our favorite skills are Fireball, Jump and Port. This is what makes Heroes unique.

    What will you help me with?
    We'll help you with errors. That is where it ends. We will not be supporting your issues with your configuration files unless it's a bug within our code. Heroes is a big plugin and it's taken a few months to develop, we don't want to spend the next few months supporting silly issues rather than developing new and awesome features. Posting in this thread with an issue regarding a YML file will get you ignored. We'll be OK with helping you understand the configuration files, but we will not be fixing them for you.

    Where can I download it?
    You can download the latest recommended build here. You can download only the primary Heroes jar or the primary jar along with all the skills provided in a ZIP archive. Each skill inside the ZIP is enclosed in it's own jar, meaning you can pick and choose what skills you want your server to run. This is so you don't have un-necessary weight on your server.

    Objective:
    • Full encompassing RPG system
    • Level & Advancement based on experience
    • Highly configurable
    • As lightweight as possible
    Features:
    • Classes
      • Permission nodes to set what classes are obtainable for the default user
      • Custom class names
      • 'Parent | Child' optional relationship, (example HEALER -> CLERIC)
      • Configurable inventory restrictions
    • Permitted Skills
      • Skills in the base platform of Heroes
      • All permitted skills start with /skill <skillname>
      • Allows for developers to add in their own code for new skills
      • Adjustable through skills.yml or overwritten in classes.yml
    • Permission Skills
      • Based on the permission-node system, ability to set the level required to learn certain permission-nodes to have a highly configurable system.
      • Does not use the /skill prefix - Permission skills copy the original command exactly.
      • Also works with non-command required Permission nodes (ie. Firelord for special armor abilities for certain classes)
      • Example: herosneak.sneak can be granted to a "Rogue" class at level 10 - so when they reach level 10 - they can now use the ability /sneak
    • Binding Skills
      • Ability to '/bind <skillname>' to an item to right click and use that skill
      • Use '/bind' again to clear the bind and remove the right click ability
      • Currently only works for Permitted-Skills
    • Inventory Restriction
      • Armor & Weapon restrictions based on level and class
      • Configurable in classes.yml [DIAMOND]
    • Levels
      • /level - to show information about the level - comes with a nice interface to show you how much left to obtain the next level.
      • Set a mastery level - once achieved the user may switch to different classes and have their level/skills saved on the mastered class.
      • Configurable curves of exp to make lower levels easier and higher levels harder to get through
      • Optional Health gain per level
      • Configurable loss of exp (0.10 = 10% per death) by current level
    • Exp-Sources
      • SKILL - exp for using a skill
      • CRAFTING - exp for crafting an item
      • MINING - exp for mining blocks
      • KILLING - exp for slaying mobs
      • LOGGING - exp for jacking lumber
      • PVP - exp for PVP
    • Health/Damage
      • Set environmental damage
      • Set monster health/damage
      • Allow bed healing for players to regenerate health in bed!
      • Set player health (works with heart ratios)
      • Set across the broad item damage or override single classes in class.yml
    • Mana
      • /mana - shows the current amount of mana - caps at 100%.
      • Server wide regen of mana - default is 5% mana regen every 5-6 seconds.
      • Configurable mana regen rate
    • Parties
      • EXP-Sharing - on/off
      • PVP - on/off
      • Bonus Exp per extra party member
      • Group-Skills
      • Volatile
    Commands:
    • /hero - the base command for Heroes (also a help tip)
    • /bind - the ability to bind skills to items
    • /level - the ability to see the needed exp to next level
    • /mana - the ability to see mana level
    • /party - the party commands
    Permissions:



    PermissionGrants permission to...
    heroes.classes.*Choose all classes
    heroes.classes.class-name-in-all-lowercaseChoose the specified class
    heroes.resetAllows the user to RESET and go back to default class
    heroes.admin.expSet a player's experience
    heroes.admin.classchangeSet a player's class
    heroes.admin.healthchangeSet a player's health
    heroes.admin.reloadReload configuration files

    SoftDepends:
    • iCo5/Register
    • Permission 3.1+
    • Spout 1.02+
    • External Modules (Link to Guide on how to create soon!)
    Official Skills (open)

    Official Skills
    Absorb - Converts all damage into mana
    Antidote - Cures you of Poisons!
    AssassinsBlade - Your blade applies poisons!
    Backstab - Extra damage when attacking from behind
    Bandage - Bandages the target + Cures Bleeds
    Barrage - Fire a Barrage of Arrows around you.
    Battery - Gives your target mana
    Blackjack - Occasionally stuns your opponent
    Bladegrasp - Blocks incoming melee damage
    Blaze - Sets everyone around you on fire
    Bleed - Causes your target to bleed
    Blink - Teleports you 4-5 blocks
    Bolt - Calls a bolt of thunder down on the target
    Boltstorm - Calls down bolts periodically
    Charge - Charges towards your target
    Confuse - Confuses your target
    Dispel - Removes effects from your target
    Drainsoul - Absorb health from target
    Firearrow - Shoots a burning arrow
    Fireball - Shoots a dangerous ball of fire
    Flameshield - Fire can't hurt you!
    Forcepush - Forces your target backwards
    Gills - Negate drowning damage
    GroupHeal - Heals all party members nearby
    GroupTeleport - Summons your group to your location
    Harmtouch - Deals direct damage to the target
    Hellgate - Teleports you and your nearby party to or from the nether
    Icebolt - Fires a snowball that hurts the player and if they're on fire puts them out
    IcyAura - Periodically damage players around you, and turns the ground they walk on to ice
    Invuln - Grants total damage immunity
    Jump - Launches you into the air
    Layhands - Heals the target to full
    LickWounds - Heals your nearby wolves
    Manaburn - Burns the targets mana
    ManaFreeze - Stops your target regening mana
    ManaShield - Uses your mana as a shield
    Might - Increases party members damage
    Overgrowth - turns a sapling into a tree
    Piggify - Forces your target to ride a pig
    Poison - Poisons the target
    PoisonArrow - Your arrows apply poison!
    Port - Teleports you and your nearby party to the set location!
    Pray - Heals the target
    Pulse - Damages everyone around you
    Recall - saves a location and lets you teleport back to it
    Replenish - Brings your mana back to full
    Reflect - Reflects all the damage done to you back to your target
    Rejuvenate - heal the target over time
    Revive - Teleports the target to their place of death
    Root - Roots your target in place
    Safefall - Stops you from taking fall damage for a short amount of time
    SafefallOther - Stops your target from taking fall damage for a short amount of time
    Shield - Your shield absorbs damage!
    Smite - Direct damage on a player
    Smoke - You completely disappear from view
    Sneak - Hides your nameplate and makes you sneak without holding shift
    Superheat - Your pickaxe becomes superheated
    Summon - Summons a creature to fight by your side
    SummonArrow - Summons you some arrows!
    Summonfood - Summons you food!
    Syphon - Gives your health to the target
    Taunt - Taunts enemies around you
    Telekinesis - Activate levers buttons and other interactable objects from afar!
    Teleport - Teleports you to (roughly) to your party member!
    Track - Locates a player
    UnholyRitual - Target Zombie or Skeleton is sacrificed, necromancer receives mana
    Web - creates webs around the target
    Wolf - Summons and tames a wolf to your side
    XMuteOre - Transmutes ores into more valuable ones
    Public Skills (open)

    Report Issues -> Here

    V 1.2.3 - Update Skills!!- PLEASE NOTE - DELETE your SKILLS and Re-DL.
    Fixes to Multiworld
    Fixes to BedHealing
    All 'range' settings have been replaced, use "radius" or "max-distance" depending on the skill. SEE THE FULL CHANGELOG!!
    All Skills can now be given reagent and reagent-cost nodes!
    New Skills - Deconstruct, ChainLightning, Consume, Multibolt!
    The Mark functionality of Recall is now it's own skill!
    Please see the full Changelog for 1.2.3
    Old Changes (open)

    V 1.2.2 - Update Skills!!- PLEASE NOTE - DELETE your SKILLS and Re-DL.
    Fixes to Permission-Skills/reload Permissions
    Skills/XP can be turned off on worlds now!
    Updates/Fixes to Skills including new ones!
    SkillSpeed/SkillOne has been deprecated due to performance issues
    Please see the full Changelog for 1.2.2
    V 1.2.0 - Update Skills!!- PLEASE NOTE - DELETE your SKILLS and Re-DL.
    Bug-Fixes galore
    Massive Skill changes
    Updated to CB#1060 - Projectile skills/damages updated appropriately
    Added option to easily allow classes all armor/skills/weapons
    Please see the full Changelog for 1.2.0
    V 1.1.4 - Update Skills!!
    Idiot-proofing
    Friendly-fied the default config.yml
    Fixed UnholyRitual
    Auto-Save hero files on levelup
    Save the Hero back to file whenever they level.
    V 1.1.3 - Optional bed healing!
    Added option for beds to heal players a percent of their health
    Added createHealthBar in Messaging, switched to concurrent map
    Fix for possible Hat plugins to function until the inventory stuff gets another overhaul
    Formatting and removed needless persistence variables
    Cleaned up HPlayerListener - pulled bedThread to HeroManager
    Fixed costs not obeying swapMasteryCost correctly
    Changed the target of bolt's dummy event
    V 1.1.2 - PLEASE NOTE - DELETE your SKILLS and Re-DL.
    Converted the class selection process to an interactive command
    More alterations to the Party UI.
    Players with invalid classes stored are now reset.
    Added new command framework and adjusted things accordingly
    Oops, Sorry MAP_0 I didn't mean to overwrite you.
    Fixed the command handler
    Fixed an NPE issue.
    V 1.1.1
    Fixed default fall damage entry in damages.yml and added lava entry
    Improved Who command.
    V 1.1.0
    Draw the map from Right to Left so the Health values are updated first
    Implement PartyUI command, this command gives you the Map Item which is linked to the Party UI
    Copy the default font file from the JAR if one doesn't already exist
    Draw the map from Right to Left so the Health values are updated first
    Remove parties after they are no longer used.
    Basic Map Party UI, some tweaks to be made here and there.
    V 1.0.1
    Fixed class name casing issue.
    Fixed health desyncing when leveling up.
    Removed extra debug setting checks.
    V 1.0.0
    Implemented Damage/Health
    V 0.9.9
    Parties Fully Functional

    Have an issue? PARSE your CONFIGS before posting ERRORS.
    http://yaml-online-parser.appspot.com/
    Along with your detailed error message, reply with;
    Heroes Ver:
    Perms 3.1+ Ver:
    CraftBukkit Ver:
    Spout Ver:
    Download| Report Issues -> Here
    [​IMG]
    Have questions? join us at #Heroes on esper.net in IRC.
    Love Heroes? wanna help the server that sponsors it? Vote for us HERE!

     
    madmac, babybellepvp, RufoH and 30 others like this.
  2. Offline

    Tagz

    Odd I put that, when you use the command it just doens't do anything, nothing shows up even as an error.

    all I need to do is give the class access to /port correct? and then they can see all the ports available at the level specified in the config?

    Just a side note, I've done /skill port list and it does show in the list, just won't actually port there :)

    Bizarre, I changed it from spawn as the name to test and it worked! Thanks for confirming I had it right though!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 14, 2016
  3. Offline

    Sleaker

    port names are cAsE SeNseTivE
     
  4. Offline

    rediem

    No permission bukkit support yet?
     
  5. Offline

    Sahee

    TO DO:
    -LVL Doors
    -Class Doors
     
  6. Offline

    igmikey

    is the official skill list updated?
     
  7. Offline

    DarKnur

    Github don't work. Upload skills to other site...
     
  8. Offline

    rikari

    Lame that this plugin doesn't work with PermissionsBukkit. I really like this plugin and it's perfect for my server yet I can't use it. -_-
     
  9. Offline

    Archelaus

    Sucks to be you I guess.

    Github works fine, we've been using it for months.

    See the first reply.

    Don't order us around like this. We make the to do lists, not you.

    I don't think it is right now. I'll look into updating it fully for you.
     
  10. Offline

    Sahee

    Okay sorry :D
     
  11. Offline

    pacmanjones

    If it would help you I could post my damage and class config file (relavent snippet) for you.
     
  12. Offline

    Zyntax

  13. Offline

    Archelaus

    Sure, go ahead. Thanks


    Remove SkillSpeed
     
  14. Offline

    hiro24

    no need to be rude about it, I was just clarifying what he was asking that could have been answered 10 replies ago. :p eh, no harm, no foul.
     
  15. Offline

    pacmanjones

    Here's the config.yml
    leveling:
    power: 1.5
    maxExperience: 100000
    maxLevel: 30
    expLoss: 0.25
    max-tracked-blocks: 2000
    block-tracking-duration: 900000
    resetExpOnClassChange: true
    swapMasteryCost: true
    partyBonus: 0.1
    properties:
    iConomy: true
    swapcost: 5500
    debug: false
    useDamageSystem: true
    color: WHITE
    default:
    allowhatsplugin: false
    level: 1
    bed:
    healInterval: 30
    bedHeal: true
    healPercent: 5
    mappartyui:
    id: 0
    enabled: true
    packetinterval: 20

    Here's the damages.yml:
    creature-damage:
    Zombie: 8
    Spider: 6
    Skeleton: 6
    Creeper: 19
    Giant: 100
    Monster: 3
    PigZombie: 100
    Ghast: 20
    Slime: 12

    Here's the class I was using when I encountered the problem:
    Rogue:
    default: false
    summon-max: 0
    description: Stealth
    permitted-armor:
    - LEATHER
    permitted-weapon:
    - WOOD
    - DIAMOND_SWORD
    - GOLD_SWORD
    permitted-skills:
    Sneak:
    level: 10
    mana: 20
    cooldown: 0
    experience-sources:
    - KILLING
    - MINING
    - PVP
    - CRAFTING
    - LOGGING
    - SKILL
    expmodifier: 1.5
    permission-skills:
    ChestShop:
    level: 15
    usage: Chest Shop Creation
    permissions:
    - ChestShop.shop.create.*
    base-max-health: 40.0
    max-health-per-level: 0.3
    item-damage:
    Wood_Sword: 4
    Stone_Sword: 6
    Iron_Sword: 9
    Diamond_Sword: 10
    Gold_Sword: 11

    I'm sorry I didn't post the configs in a spoiler, I would if I knew how. In case you forgot, the problem was that even though zombie damage was set to 8 in the config, I was getting 13 damage with each one of its hit as a level 1 rogue.
     
  16. Offline

    Voodoschnecke

    No comment. Maybe u should do what u tell people to do.
    I was told to be nice
    I was told to learn read

    Maybe this will help you to discuss problems, that players like me ask in one post and not over few pages.
     
  17. Offline

    oglop

    This will lag all servers with more than 10 ppl online until it will support databases ;)
    my own experience!

    anyway interesting idea, but I don't like wow .. neither cubic wow :)
     
  18. Offline

    NinjaGrinch

    I take it you won't be supporting any form of SuperPerms?
     
  19. Offline

    Kainzo

    Nope, we will have a separate dev build out with these.
    Read above, its planned
    Hi, we run 100+ players on Herocraft and have 20/20 TPS. Perhaps you should test before crying wolf.
    I dont understand the issue here, if you dont want to use a skill, just dont grant it. Otherwise, leave unnecessary and rude comments on 4chan
    I havent seen a pull request yet to fix this ;)
    We dont use github to allow you to download skills - try the download zip again.

    Seems like an issue with desyncing.
    You must actually create the location, etc
    This is a thing that requires Citizens as well to be fully compatible
    If you dont like a skill, don't use it. Blackjack was designed by myself and is exactly how it was intended.
    Thanks Sleaker has implemented the changes manually.
    Not realy sure what you are referring to but sounds interesting.[
    Thanks for volunteering to test for us since our Quality Assurance isn't good enough for you :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 14, 2016
  20. Offline

    Tagz

    Curious, in the config, what does Power: 1.0 effect?
     
  21. Offline

    Zarius

    Prior to 1060 in the ENTITY_DAMAGE event the entity doing the damage was the player and to detect the use of ranged weapons I used a combination of determining what's in the players hand (a bow) and the distance from the mob (otherwise you cannot distinguish between ranged attacks and whacking them on the head with a bow).

    In 1060 the damage is done by the projectile and you now have the new projectile.getShooter() function which points to the player (or skeleton/ghast/dispenser) and we can now accurately customise drops dependant on the projectile used and the shooter of that projectile (note - OtherBlocks 2.0 is still in testing phase).
     
    dyrnwyn likes this.
  22. Offline

    Phantom Index

    Can't.. Wear... Pumpkin.. on head.

    I tried adding the node for it, but that doesn't work either.
     
  23. Offline

    Jokaru

    anybody help? Heroes v1.2.3. Permissions v3.1.6. CB1000. spout dont use. Server memory 8G
    Errors starts after 10-20 minutes after i run the server.
    Code:
    2011-08-23 13:11:16 [SEVERE] Could not pass event PLAYER_INTERACT to Heroes
    java.lang.NullPointerException
        at com.herocraftonline.dev.heroes.persistence.HeroManager.loadClass(HeroManager.java:216)
        at com.herocraftonline.dev.heroes.persistence.HeroManager.loadHero(HeroManager.java:117)
        at com.herocraftonline.dev.heroes.persistence.HeroManager.getHero(HeroManager.java:97)
        at com.herocraftonline.dev.heroes.skill.skills.SkillBlackjack$SkillPlayerListener.onPlayerInteract(SkillBlackjack.java:162)
        at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:210)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:553)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-23 13:11:16 [SEVERE] Could not pass event CUSTOM_EVENT to Heroes
    java.lang.NullPointerException
        at com.herocraftonline.dev.heroes.persistence.HeroManager.loadClass(HeroManager.java:216)
        at com.herocraftonline.dev.heroes.persistence.HeroManager.loadHero(HeroManager.java:117)
        at com.herocraftonline.dev.heroes.persistence.HeroManager.getHero(HeroManager.java:97)
        at com.herocraftonline.dev.heroes.HPermissionsListener.relearnSkills(HPermissionsListener.java:62)
        at com.herocraftonline.dev.heroes.HPermissionsListener.relearnSkills(HPermissionsListener.java:46)
        at com.herocraftonline.dev.heroes.HPermissionsListener.onCustomEvent(HPermissionsListener.java:30)
        at org.bukkit.plugin.java.JavaPluginLoader$87.execute(JavaPluginLoader.java:855)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at com.nijiko.permissions.ModularControl.storageReload(ModularControl.java:125)
        at com.nijiko.permissions.ModularControl.access$000(ModularControl.java:23)
        at com.nijiko.permissions.ModularControl$RefreshTask.run(ModularControl.java:41)
        at org.bukkit.craftbukkit.scheduler.CraftWorker.run(CraftWorker.java:34)
        at java.lang.Thread.run(Unknown Source)
    2011-08-23 13:11:19 [SEVERE] Could not pass event PLAYER_ITEM_HELD to Heroes
    java.lang.NullPointerException
        at com.herocraftonline.dev.heroes.persistence.HeroManager.loadClass(HeroManager.java:216)
        at com.herocraftonline.dev.heroes.persistence.HeroManager.loadHero(HeroManager.java:117)
        at com.herocraftonline.dev.heroes.persistence.HeroManager.getHero(HeroManager.java:97)
        at com.herocraftonline.dev.heroes.inventory.InventoryChecker.checkInventory(InventoryChecker.java:27)
        at com.herocraftonline.dev.heroes.HPlayerListener.onItemHeldChange(HPlayerListener.java:40)
        at org.bukkit.plugin.java.JavaPluginLoader$17.execute(JavaPluginLoader.java:356)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:645)
        at net.minecraft.server.Packet16BlockItemSwitch.a(SourceFile:24)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-23 13:11:20 [SEVERE] Could not pass event PLAYER_ITEM_HELD to Heroes
    java.lang.NullPointerException
        at com.herocraftonline.dev.heroes.persistence.HeroManager.loadClass(HeroManager.java:216)
        at com.herocraftonline.dev.heroes.persistence.HeroManager.loadHero(HeroManager.java:117)
        at com.herocraftonline.dev.heroes.persistence.HeroManager.getHero(HeroManager.java:97)
        at com.herocraftonline.dev.heroes.inventory.InventoryChecker.checkInventory(InventoryChecker.java:27)
        at com.herocraftonline.dev.heroes.HPlayerListener.onItemHeldChange(HPlayerListener.java:40)
        at org.bukkit.plugin.java.JavaPluginLoader$17.execute(JavaPluginLoader.java:356)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:645)
        at net.minecraft.server.Packet16BlockItemSwitch.a(SourceFile:24)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-23 13:11:20 [SEVERE] Could not pass event PLAYER_INTERACT to Heroes
    java.lang.NullPointerException
        at com.herocraftonline.dev.heroes.persistence.HeroManager.loadClass(HeroManager.java:216)
        at com.herocraftonline.dev.heroes.persistence.HeroManager.loadHero(HeroManager.java:117)
        at com.herocraftonline.dev.heroes.persistence.HeroManager.getHero(HeroManager.java:97)
        at com.herocraftonline.dev.heroes.HPlayerListener.onPlayerInteract(HPlayerListener.java:57)
        at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
        at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:63)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:458)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-23 13:11:21 [WARNING] Task of 'Heroes' generated an exception
    java.lang.NullPointerException
        at com.herocraftonline.dev.heroes.persistence.HeroManager.loadClass(HeroManager.java:216)
        at com.herocraftonline.dev.heroes.persistence.HeroManager.loadHero(HeroManager.java:117)
        at com.herocraftonline.dev.heroes.persistence.HeroManager.getHero(HeroManager.java:97)
        at com.herocraftonline.dev.heroes.inventory.InventoryChecker.checkInventory(InventoryChecker.java:27)
        at com.herocraftonline.dev.heroes.inventory.InventoryChecker.checkInventory(InventoryChecker.java:111)
        at com.herocraftonline.dev.heroes.HPlayerListener$1.run(HPlayerListener.java:86)
        at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-08-23 13:11:21 [SEVERE] Could not pass event PLAYER_INTERACT to Heroes
    java.lang.NullPointerException
        at com.herocraftonline.dev.heroes.persistence.HeroManager.loadClass(HeroManager.java:216)
        at com.herocraftonline.dev.heroes.persistence.HeroManager.loadHero(HeroManager.java:117)
        at com.herocraftonline.dev.heroes.persistence.HeroManager.getHero(HeroManager.java:97)
        at com.herocraftonline.dev.heroes.HPlayerListener.onPlayerInteract(HPlayerListener.java:57)
        at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
        at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:63)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:458)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    my config
    Code:
    leveling:
        power: 1.0
        maxExperience: 100000
        maxLevel: 50
        expLoss: 0.1
        max-tracked-blocks: 2000
        block-tracking-duration: 900000
        resetExpOnClassChange: true
        swapMasteryCost: false
        partyBonus: 0.2
    properties:
        iConomy: false
        swapcost: 1000
        debug: false
        useDamageSystem: false
        color: GOLD
    bed:
        bedHeal: true
        healInterval: 30
        healPercent: 5
    default:
        level: 1
        allowhatsplugin: false
    mappartyui:
        id: 1
        enabled: true
        packetinterval: 20
    
    my classes
    Code:
    classes:
        Neutral:
            default: true
            summon-max: 0
            description: Neutral, starter class
            permitted-armor:
            - '*'
            permitted-weapon:
            - '*'
            experience-sources:
            - KILLING
            base-max-health: 20
            max-health-per-level: 0.1
            expmodifier: 1.0
        Warrior:
            default: false
            summon-max: 0
            description: Skilled in Defense Combat and Heavy Armor
            permitted-armor:
            - LEATHER
            - IRON
            - CHAINMAIL
            permitted-weapon:
            - WOOD
            - STONE
            - IRON
            - GOLD
            permitted-skills:
                Taunt:
                    level: 5
                    mana: 75
                    cooldown: 30000
                Shield:
                    level: 10
                    mana: 20
                    cooldown: 30000
                Charge:
                    level: 20
                    mana: 50
                    cooldown: 500000
                Forcepush:
                    level: 40
                    mana: 50
                    cooldown: 60000
            experience-sources:
            - KILLING
            - MINING
            - PVP
            - CRAFTING
            - SKILL
            expmodifier: 1.5
            base-max-health: 20.0
            max-health-per-level: 0.2
        Paladin:
            default: false
            parent: Warrior
            summon-max: 0
            description: Divine Knight
            permitted-armor:
            - LEATHER
            - IRON
            - GOLD
            - DIAMOND
            - CHAINMAIL
            permitted-weapon:
            - WOOD
            - GOLD
            - STONE
            - IRON
            - DIAMOND
            permitted-skills:
                Layhands:
                    level: 10
                    mana: 100
                    cooldown: 30000
                    exp: 5
                Invuln:
                    level: 30
                    mana: 75
                    cooldown: 500000
                Revive:
                    level: 50
                    mana: 75
                    cooldown: 60000
                Dispel:
                    level: 10
                    mana: 15
                    cooldown: 2000
                Shield:
                    level: 1
                    mana: 10
                    cooldown: 30000
                Taunt:
                    level: 5
                    mana: 50
                    cooldown: 30000
                Charge:
                    level: 20
                    mana: 25
                    cooldown: 500000
                Forcepush:
                    level: 25
                    mana: 25
                    cooldown: 60000
            experience-sources:
            - KILLING
            - PVP
            - SKILL
            expmodifier: 1.0
            base-max-health: 20.0
            max-health-per-level: 0.4
        Shadowknight:
            default: false
            parent: Warrior
            summon-max: 0
            description: Dark Knight
            permitted-armor:
            - LEATHER
            - IRON
            - CHAINMAIL
            - GOLD
            permitted-weapon:
            - WOOD
            - GOLD
            - STONE
            - IRON
            permitted-skills:
                Hellgate:
                    level: 50
                    mana: 100
                    cooldown: 60000
                Taunt:
                    level: 1
                    mana: 20
                    cooldown: 3000
                Fireball:
                    level: 5
                    mana: 10
                    cooldown: 2000
                    exp: 1
                Manaburn:
                    level: 10
                    mana: 50
                    cooldown: 3000
                Blink:
                    level: 20
                    mana: 15
                    cooldown: 3000
                Drainsoul:
                    level: 10
                    mana: 50
                    cooldown: 3000
                Smite:
                    level: 30
                    mana: 40
                    cooldown: 3000
            experience-sources:
            - KILLING
            - PVP
            - SKILL
            expmodifier: 1.0
            base-max-health: 20.0
            max-health-per-level: 0.2
    
    My Plugins:
    AuthMe, AutoMessage, Backup, BigBrother, BorderGuard, CommandBook, CopyCat, DailyBonus, FalseBookBlock, FalseBookCart, FalseBookChat, FalseBookCore, FalseBookExtra, FalseBookIC, GravelClay, HeroicDeath, iConomy, iConomyChestShop, LyTreeHelper, milkAdmin, MinecraftViewer, MultiHome, MyWarp, nSpleef, obuShutTheHellUp, Permissions, PermissionsSql, PortalStick, PvPReward, RawcriticsOreObfuscationPlugin, Reservations, SimpleRestart, VoxelSniper, WorldEdit, WorldGuard, dynmap, iChat, LWC, Factions, MobArena, NoCheat, properTime
     
  24. Offline

    lonewolf1221

    Hello, first off thank you for this awesome plugin :D

    now to my plea for help lol

    Ok well its just not working right, i guess i made a mistake some where but my issue is the classes they just dont do what they are meant to

    as far as i can tell the rest of the plugin works fine, but only some of the skills actually take the mana they are supposed to and none of them use the cooldown time and all but one of them doesn't read the level the are required to be before they can unlock the skills.

    Here is my Clases.yml

    Code:
    classes:
        Refugee:
            default: true
            summon-max: 0
            description: The refugees have survived the awful events at the end of the war between RedRockCity and tehlrog empire and are now trying to establish their lives again.
            permitted-armor:
            - LEATHER
            permitted-weapon:
            - WOOD
            - STONE
            - IRON_AXE
            - IRON_PICKAXE
            - IRON_SHOVEL
            - IRON_HOE
            - BOW
            permitted-skills:
                Gills:
                    level: 1
                    Mana: 10
                    Cooldown: 300
                Telekinesis:
                    level: 5
                    Mana: 20
                    Cooldown: 150
                One:
                    Level: 10
                    Mana: 12
                    CoolDown: 60
                Superheat:
                    Level: 25
                    Mana: 40
                    Cooldown: 75
                XMuteOre:
                    Level: 40
                    Mana: 50
                    Cooldown: 200
            experience-sources:
            - KILLING
            - MINING
            - CRAFTING
            - LOGGING
            - SKILL
            - PVP
            permission-skills:
            base-max-health: 20
            max-health-per-level: 0.2
            expmodifier: 1.1
            item-damage:
                air: 1
        Priest:
            default: false
            summon-max: 0
            description: Through devotion they are granted some of the powers of their god
            permitted-armor:
            - LEATHER
            permitted-weapon:
            - WOOD
            - STONE
            - IRON_AXE
            - IRON_PICKAXE
            - IRON_SHOVEL
            - IRON_HOE
            - BOW
            - DIAMOND_SHOVEL
            - DIAMOND_HOE
            - GOLD
            permitted-skills:
                Telekinesis:
                    Level: 5
                    Mana: 20
                    Cooldown: 150
                One:
                    Level: 10
                    Mana: 12
                    CoolDown: 60
                Superheat:
                    Level: 25
                    Mana: 40
                    Cooldown: 75
                XMuteOre:
                    Level: 40
                    Mana: 50
                    Cooldown: 200
                SafefallOther:
                    Level: 7
                    Mana: 10
                    Cooldown: 70
                Flameshield:
                    Level: 20
                    Mana: 20
                    Cooldown: 200
                Invuln:
                    Level: 50
                    Mana: 50
                    Cooldown: 600
                ManaShield:
                    Level: 30
                    Mana: 1
                    Cooldown: 120
                Pray:
                    Level: 2
                    Mana: 20
                    Cooldown: 30
                Layhands:
                    Level: 28
                    Mana: 5
                    Cooldown: 200
                Dispel:
                    Level: 12
                    Mana: 17
                    Cooldown: 30
                Smite:
                    Level: 42
                    Mana: 25
                    Cooldown: 300
                GroupHeal:
                    Level: 36
                    Mana: 30
                    Cooldown: 75
            experience-sources:
            - MINING
            - CRAFTING
            - LOGGING
            - SKILL
            permission-skills:
            base-max-health: 25
            max-health-per-level: 0.5
            expmodifier: 1.25
            item-damage:
                air: 1
        Fighter:
            default: false
            summon-max: 0
            description: The fighers love a good scrap, with their exepriance in combat comes a more robuust nature and skills on the battle field others cant match
            permitted-armor:
            - LEATHER
            - IRON
            - CHAINMAIL
            permitted-weapon:
            - WOOD
            - STONE
            - IRON
            - BOW
            - DIAMOND
            permitted-skills:
                Telekinesis:
                    level: 5
                    Mana: 20
                    Cooldown: 150
                One:
                    Level: 10
                    Mana: 12
                    CoolDown: 60
                Superheat:
                    Level: 25
                    Mana: 40
                    Cooldown: 75
                XMuteOre:
                    Level: 40
                    Mana: 50
                    Cooldown: 200
                Bladegrasp:
                    Level: 15
                    Mana: 10
                    Cooldown: 30
                Charge:
                    Level: 4
                    Mana: 5
                    cooldown: 10
                Bandage:
                    Level: 7
                    Mana: 10
                    cooldown: 15
                Taunt:
                    Level: 2
                    Mana: 1
                    Cooldown: 7
                Reflect:
                    Level: 37
                    Mana: 20
                    Cooldown: 20
                Bleed:
                    Level: 19
                    Mana: 12
                    Cooldown: 45
            experience-sources:
            - KILLING
            - SKILL
            - PVP
            permission-skills:
            base-max-health: 40
            max-health-per-level: 0.75
            expmodifier: 1.25
            item-damage:
                air: 1
        Magi:
            default: false
            summon-max: 0
            description: The magi has knowlage and powers over the vital force of the universe!
            permitted-armor:
            - LEATHER
            permitted-weapon:
            - WOOD
            - STONE
            - IRON_AXE
            - IRON_PICKAXE
            - IRON_SHOVEL
            - IRON_HOE
            - BOW
            - DIAMOND_SHOVEL
            - DIAMOND_HOE
            - DIAMOND_AXE
            - DIAMOND_PICKAXE
            permitted-skills:
                Gills:
                    level: 1
                    Mana: 10
                    Cooldown: 300
                Telekinesis:
                    level: 5
                    Mana: 20
                    Cooldown: 150
                Superheat:
                    Level: 25
                    Mana: 40
                    Cooldown: 75
                XMuteOre:
                    Level: 40
                    Mana: 50
                    Cooldown: 200
                Fireball:
                    Level: 26
                    Mana: 15
                    Cooldown: 30
                Pulse:
                    Level: 48
                    Mana: 20
                    Cooldown: 150
                Root:
                    Level: 8
                    Mana: 15
                    Cooldown: 30
                Manaburn:
                    Level: 27
                    Mana: 50
                    Cooldown: 100
                Icebolt:
                    Level: 13
                    Mana: 5
                    Cooldown: 5
                Bolt:
                    Level: 41
                    Mana: 30
                    Cooldown: 40
                ManaShield: Level:17 Mana:1 Cooldown:60
            experience-sources:
            - KILLING
            - CRAFTING
            - SKILL
            - PVP
            permission-skills:
            base-max-health: 20
            max-health-per-level: 0.4
            expmodifier: 1.1
            item-damage:
                air: 1
        Scout:
            default: false
            summon-max: 5
            description: Stealthy soldier trained to gather information
            permitted-armor:
            - LEATHER
            - CHAINMAIL_BRESTPLATE
            permitted-weapon:
            - WOOD
            - STONE
            - IRON_AXE
            - IRON_PICKAXE
            - IRON_SHOVEL
            - IRON_HOE
            - BOW
            - DIAMOND_SHOVEL
            - DIAMOND_HOE
            - DIAMOND_AXE
            - DIAMOND_PICKAXE
            permitted-skills:
                Telekinesis:
                    level: 5
                    Mana: 20
                    Cooldown: 150
                Superheat:
                    Level: 25
                    Mana: 40
                    Cooldown: 75
                XMuteOre:
                    Level: 40
                    Mana: 50
                    Cooldown: 200
                Blackjack:
                    Level: 3
                    Mana: 5
                    Cooldown: 20
                LickWounds:
                    Level: 7
                    Mana: 5
                    Cooldown: 17
                Smoke:
                    Level: 13
                    Mana: 20
                    cooldown: 60
                Safefall:
                    Level: 21
                    Mana: 12
                    Cooldown: 40
                Jump:
                    Level: 4
                    Mana: 15
                    Cooldown: 20
                Wolf:
                    Level: 5
                    Mana: 70
                    Cooldown: 500
                Confuse:
                    Level: 23
                    Mana: 15
                    Cooldown: 30
                Bandage:
                    Level: 12
                    Mana: 10
                    Cooldown: 20
                Backstab:
                    Level: 3
                    Mana: 10
                    Cooldown: 20
            experience-sources:
            - KILLING
            - CRAFTING
            - SKILL
            - PVP
            permission-skills:
            base-max-health: 20
            max-health-per-level: 0.2
            expmodifier: 1.1
            item-damage:
                air: 1
    
    Thank you for reading this, any help would be welcome, I'm sure its something i did but I'm not sure what lol.
     
  25. Offline

    fghjconner

    @Jokaru The plugin is only compatible with build 1060.

    @lonewolf1221 I believe the setting names are case sensitive.
     
    Jokaru likes this.
  26. Offline

    Jokaru

    THX friend
     
  27. Offline

    Craftiii4

    Is it possible for the name of the class to become a prefix?
     
  28. Offline

    embty

    Only Permission 3.1+ ? :( no 2.x no bukkit permissions?
    Since it has been announced that permissions is dead..
    Edit; Permissions PEX would work perhaps ? :D
     
  29. Offline

    Deva5tat0r

    After you renamed One to Speed, I downloaded the new heroes zip and I can't even find Speed in the skill folder. Did you forget to put Speed in the skill list? I really miss that skill.
     
  30. Offline

    oglop

    so, please can you tell me HW specs of your server machine?
     
  31. Offline

    Kainzo

    It is the leveling curve.
    Whos?
    PEX does not work and P2 doesnt have the ability to use it.
    "Speed" is officially deprecated - if another dev wants to make a public version, by all means.
    @Rigby90 ;) its his code and its currently not working correctly to allow other blocks on player's heads slot.
     
Thread Status:
Not open for further replies.

Share This Page