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

    SmolderingEgo

    @RedrumJackle use notepad++ . make sure you NEVER use the tab key. if you do the file will not work.
     
  3. Offline

    Zocomen

    Hey! I need some help please.
    Here is my classes.yml file.
    Ive tryed to use it with yaml praser and it gave me this:
    ERROR:

    while scanning for the next token
    found character '\t' that cannot start any token
    in "<unicode string>", line 126, column 30:
    cooldown: 120
    ^
    Any ideas why? Im new to the yaml praser so can't read that.
    Code:
    classes:
        Vagrant:
            default: true
            summon-max: 0
            description: The Sentinel, Beginner!
            permitted-armor:
            - LEATHER
            permitted-weapon:
            - WOOD
            - STONE
            permitted-skills:
            experience-sources: []
            expmodifier: 0
            permission-skills:
            base-max-health: 20.0
            max-health-per-level: 0.0
        Warrior:
            default: false
            summon-max: 0
            description: Skilled in Defense Combat and Heavy Armor
            permitted-armor:
            - LEATHER
            - IRON
            permitted-weapon:
            - WOOD
            - STONE
            - DIAMOND
            permitted-skills:
                Taunt:
                    level: 5
                    mana: 75
                    cooldown: 10
                Blackjack:
                    level: 10
                    mana: 20
                    cooldown: 120
                Manaburn:
                    level: 20
                    mana: 30
                    cooldown: 120
                Bleed:
                    level: 12
                    mana: 20
                    cooldown: 60
                Pulse:
                    level: 15
                    mana: 50
                    cooldown: 300
                Bladegrasp:
                    level: 25
                    mana: 70
                    cooldown: 25
                Forcepush:
                    level: 14
                    mana: 50
                    cooldown: 45
                Charge:
                    level: 6
                    mana: 40
                    cooldown: 20
                Shield:
                    level: 35
                    mana: 80
                    cooldown: 120
            experience-sources:
            - KILLING
            - PVP
            - CRAFTING
            - SKILL
            expmodifier: 1.5
            base-max-health: 300.0
            max-health-per-level: 1.0
        Paladin:
            default: false
            parent: Warrior
            summon-max: 0
            description: Divine Knight. Uses the holy power of Notch.
            permitted-armor:
            - DIAMOND
            - CHAINMAIL
            - GOLD
            permitted-weapon:
            - WOOD
            - GOLD
            - STONE
            permitted-skills:
                Layhands:
                    level: 10
                    mana: 100
                    cooldown: 30000
                Invuln:
                    level: 40
                    mana: 100
                    cooldown: 180
                Revive:
                    level: 50
                    mana: 100
                    cooldown: 600
                Fireball:
                    level: 1
                    mana: 5
                    cooldown: 2000
                Dispel:
                    level: 1
                    mana: 5
                    cooldown: 2000
                Pray:
                    level: 5
                    mana: 5
                    cooldown: 10
                Safefall:
                    level: 10
                    mana: 50
                    cooldown: 300
                SafefallOther:
                    level: 20
                    mana: 70
                    cooldown: 600
                Shield:
                    level: 12
                    mana: 45
                    cooldown: 30
                Reflect:
                    level: 22
                    mana: 50
                    cooldown: 120
                GroupHeal:
                    level: 25
                    mana: 40
                    cooldown: 20
                Syphon:
                    level: 15
                    mana: 50
                    cooldown: 180
                Bandage:
                    level: 2
                    mana: 10
                    cooldown: 10
                Smite:
                    level: 5
                    mana: 20
                    cooldown: 5
                Replenish:
                    level: 10
                    mana: 1
                    cooldown: 300
                ManaShield:
                    level: 20
                    mana: 70
                    cooldown: 30
                Flameshield:
                    level: 40
                    mana: 20
                    cooldown: 20
            experience-sources:
            - KILLING
            - PVP
            - SKILL
            expmodifier: 1.0
            base-max-health: 200.0
            max-health-per-level: 1.0
        Hunter:
            default: false
            parent: Warrior
            summon-max: 1
            description: Hunter is the masters of beasts. Using bow and arrows to inflict damage to enemies!
            permitted-armor:
            - LEATHER
            - CHAINMAIL
            - GOLD
            permitted-weapon:
            - Wood
            - STONE
            - BOW
            permitted-skills:
                Wolf:
                    level: 1
                    mana: 100
                    cooldown: 300
                Invuln:
                    level: 40
                    mana: 100
                    cooldown: 500000
                Revive:
                    level: 50
                    mana: 100
                    cooldown: 600
                Taunt:
                    level: 1
                    mana: 20
                    cooldown: 25
                Dispel:
                    level: 5
                    mana: 5
                    cooldown: 30
                SummonArrow:
                    level: 10
                    mana: 50
                    cooldown: 600
                Root:
                    level: 20
                    mana: 20
                    cooldown: 60
                LickWounds:
                    level: 8
                    mana: 50
                    cooldown: 120
                Track:
                    level: 40
                    mana: 40
                    cooldown: 300
            experience-sources:
            - KILLING
            - PVP
            - SKILL
            expmodifier: 1.0
            base-max-health: 200.0
            max-health-per-level: 1.0
        Rogue:
            default: false
            parent: Warrior
            summon-max: 0
            description: Theifs, Murdurers! Masters of blade and knifes!
            permitted-armor:
            - LEATHER
            - CHAINMAIL
            permitted-weapon:
            - Wood
            - STONE
            - IRON
            - DIAMOND_AXE
            - DIAMOND_SWORD
            permitted-skills:
                Blackjack:
                    level: 5
                    mana: 20
                    cooldown: 20
                Smoke:
                    level: 20
                    mana: 40
                    cooldown: 120
                Revive:
                    level: 50
                    mana: 100
                    cooldown: 600
                Bleed:
                    level: 2
                    mana: 20
                    cooldown: 10
                Dispel:
                    level: 5
                    mana: 5
                    cooldown: 30
                Telekinesis:
                    level: 20
                    mana: 50
                    cooldown: 600
                Harmtouch:
                    level: 15
                    mana: 20
                    cooldown: 30
                LickWounds:
                    level: 8
                    mana: 50
                    cooldown: 120
                Pulse:
                    level: 12
                    mana: 50
                    cooldown: 60
                Jump:
                    level: 7
                    mana: 20
                    cooldown: 60
                Superheat:
                    level: 10
                    mana: 30
                    cooldown: 30
                Confuse:
                    level: 15
                    mana: 35
                    cooldown: 40
                Track:
                    level: 40
                    mana: 40
                    cooldown: 300
            experience-sources:
            - KILLING
            - PVP
            - SKILL
            expmodifier: 1.0
            base-max-health: 200.0
            max-health-per-level: 1.0
        Mage:
            default: false
            parent: Warrior
            summon-max: 0
            description: Specialist on magical spells and tricks!
            permitted-armor:
            - LEATHER
            - CHAINMAIL
            - GOLD
            permitted-weapon:
            - Wood
            - STONE
            - GOLD
            permitted-skills:
                Battery:
                    level: 10
                    mana: 50
                    cooldown: 60
                Fireball:
                    level: 1
                    mana: 5
                    cooldown: 2
                Revive:
                    level: 50
                    mana: 100
                    cooldown: 600
                Hellgate:
                    level: 40
                    mana: 100
                    cooldown: 3600
                Dispel:
                    level: 5
                    mana: 5
                    cooldown: 30
                Telekinesis:
                    level: 20
                    mana: 50
                    cooldown: 600
                Harmtouch:
                    level: 15
                    mana: 20
                    cooldown: 30
                Shield:
                    level:12
                    mana: 50
                    cooldown: 30
                GroupTeleport:
                    level: 20
                    mana: 100
                    cooldown: 60
                Flameshield:
                    level: 10
                    mana: 50
                    cooldown: 60
                Port:
                    level: 15
                    mana: 100
                    cooldown: 60
                Manaburn:
                    level: 10
                    mana: 35
                    cooldown: 40
                Bolt:
                    level: 14
                    mana: 10
                    cooldown: 5
                Icebolt:
                    level: 6
                    mana: 5
                    cooldown: 4
                Summonfood:
                    level: 10
                    mana: 50
                    cooldown: 300
                ManaShield:
                    level: 14
                    mana: 40
                    cooldown: 60
                Blink:
                    level: 3
                    mana: 20
                    cooldown: 20
                Replenish:
                    level: 20
                    mana: 1
                    cooldown: 300
                ManaFreeze:
                    level: 15
                    mana: 35
                    cooldown: 30
                Teleport:
                    level: 5
                    mana: 50
                    cooldown: 120
                Reflect:
                    level: 25
                    mana: 50
                    cooldown: 45
            experience-sources:
            - KILLING
            - PVP
            - SKILL
            expmodifier: 1.0
            base-max-health: 200.0
            max-health-per-level: 1.0
    Sure it is a noob question. Sorry :(
     
  4. Offline

    SmolderingEgo

    @Zocomen go down to line 126 in the file and you should see the word cooldown. delete all of the spaces before cooldown and re-space it out. More then likely you pasted that line and a tab is there


    Hint* if you use notepad++ it will tell you what line your on to the left, might be one or 2 off of 126. look for the closest cooldown
     
  5. There's an option in Notepad++ to make it so that the tab key produces spaces.
     
  6. Offline

    Truecorruptor

    im just wndering if in the item-damge category if 'fist' counts as a thing becasue i would like to raise the fist damge of a class

    And also im having some troubles with the superheat ability, what happens is someone uses it and it ends right away although i have the duration set high here is the skills.yml (only superheat)

    Code:
    Superheat:
        duration: 100000
        apply-text: '%hero%''s pick has become superheated!'
        use-text: '%hero% used %skill%!'
        expire-text: '%hero%''s pick has cooled down!'
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  7. Offline

    SmolderingEgo

  8. Offline

    Hex

    Im having problem with the damage file, apparently creepers 1 hit KO the people on the server even though when I set it to 7 dmg and my players health are like full (30).
     
  9. Offline

    Kainzo

    Not having this issue - remove creeper damage altogether and see what happens.
     
  10. Offline

    Hex

    Does the health system correspond with the hearts on Minecraft?
     
  11. Offline

    SmolderingEgo

    @Hex sort of, the hearts are an approx % of health. type /health for your exact health.
     
  12. Offline

    Hex

    Is there a way to make it so that you can have the health function easier to check? Like maybe bind it to a item or something, or like have it show like Mana Regeneration does.
     
  13. Offline

    Kainzo

    Please note - on #29 (latest Recommended build) you may have to delete your SKILLS folder and redownload the jars.
    We'll update the post later.
     
  14. Updated changelog - #30 = latest build... make sure to read the changes.
     
  15. Offline

    Doktrpeppr

    I don't know whats wrong, but it seems to disable it whenever I start it up, so I went on the YAML parser and got this error, the same one I got on my bukkit server: ERROR:
    while parsing a block mapping in "<unicode string>", line 2, column 5: Wanderer: ^ expected <block end>, but found '<block mapping start>' in "<unicode string>", line 527, column 8: max-health-per-level: 0.0 ^
    Could someone please help?
     
  16. Offline

    dak393

    link the yml file (on pastebin or here) so I can take a look at it :)
     
  17. Offline

    Doktrpeppr

    Well I don't really know how to link the file... kinda new. Could you help? I did the "Upload a file" and found the hero skills folder, but no files :(

    Nvm went on pastebin. I think this is what you wanted http://pastebin.com/5j859fdv

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  18. Offline

    DThielke

    Download build #31 for a fixed swapMasteryCost setting. Players were previously not being charged anything to change classes if this flag was true.
     
  19. Offline

    bothersome

    Could you make water buckets and milk buckets restore health and/or mana?

    Food does very little to help with high health. Is there a way to adjust the amount healed by food?
     
  20. Offline

    Mr_Mellow

    Will there be a wiki or anything like that made for this plugin?
     
  21. Offline

    Doktrpeppr

    was that in a reply to my post?
     
  22. Offline

    Nevad

    Why I cannot use a pumpkin.
    sorr for my english
     
  23. Offline

    Sukz

    What exactly is the new party UI supposed to look like?

    All I get is a gray map, which I assume is incorrect.
     
  24. Offline

    TheAlexLP

    Whats wrong with this?

    Here the Error:
    Code:
    2011-07-27 10:05:05 [SEVERE] [Heroes] Critical error encountered while loading. Disabling...
    2011-07-27 10:05:05 [SEVERE] Error occurred while disabling Heroes v0.0.1-b30 (Is it up to date?): null
    java.lang.NullPointerException
        at com.herocraftonline.dev.heroes.persistence.HeroManager.loadClass(HeroManager.java:207)
        at com.herocraftonline.dev.heroes.persistence.HeroManager.loadHero(HeroManager.java:112)
        at com.herocraftonline.dev.heroes.persistence.HeroManager.getHero(HeroManager.java:92)
        at com.herocraftonline.dev.heroes.persistence.HeroManager.saveHero(HeroManager.java:162)
        at com.herocraftonline.dev.heroes.Heroes.onDisable(Heroes.java:211)
    and here my classes.yml
    Code:
    classes:
        Vagrant:
            default: true
            summon-max: 0
            description: The vagrant, starter PATH
            permitted-armor:
            - LEATHER
            permitted-weapon:
            - WOOD
            permitted-skills:
            experience-sources: []
            expmodifier: 0
            permission-skills:
            base-max-health: 20.0
            max-health-per-level: 0.0
        Krieger:
            default: false
            parent: Vagrant
            summon-max: 0
            description: Der Krieger benutzt hauptsächlich Nahkampfwaffen und kennt sich gut mit Rüstung aus.
            permitted-armor:
            - LEATHER
            - CHAINMAIL
            - IRON_CHESTPLATE
            permitted-weapon:
            - WOOD
            - STONE
            - IRON_SWORD
            permitted-skills:
                Zu Berserker:
                    level: 50
                    usage: /hero choose Berserker
                    permissions:
                    - heroes.classes.Berserker
                Zu Kreuzritter:
                    level: 50
                    usage: /hero choose Kreuzritter
                    permissions:
                    - heroes.classes.Kreuzritter
                ManaShield:
                    level: 5
                    mana: 100
                    cooldown: 30
                Fireball:
                    level: 10
                    mana: 20
                    cooldown: 3000
                Reflect:
                    level: 20
                    mana: 50
                    cooldown: 400
            experience-sources:
            - KILLING
            - MINING
            - PVP
            - CRAFTING
            - LOGGING
            - SKILL
            expmodifier: 5
            base-max-health: 20.0
            max-health-per-level: 2
        Berserker:
            default: false
            parent: Krieger
            summon-max: 0
            description: Der Berserker hat stärkere Waffen, aber dafür weniger Skills.
            permitted-armor:
            - LEATHER
            - DIAMOND
            - CHAINMAIL
            - GOLD
            permitted-weapon:
            - WOOD
            - GOLD
            - STONE
            - IRON
            permitted-skills:
                Zu Titan:
                    level: 50
                    usage: /hero choose Titan
                    permissions:
                    - heroes.classes.Titan
                ManaShield:
                    level: 0
                    mana: 100
                    cooldown: 30
                Fireball:
                    level: 0
                    mana: 20
                    cooldown: 3000
                Reflect:
                    level: 0
                    mana: 50
                    cooldown: 400
                Shield:
                    level: 45
                    mana: 50
                    cooldown: 400
            experience-sources:
            - KILLING
            - MINING
            - PVP
            - CRAFTING
            - LOGGING
            - SKILL
            expmodifier: 4
            base-max-health: 120.0
            max-health-per-level: 3
        Titan:
            default: false
            parent: Berserker
            summon-max: 0
            description: Besser als Berseker
            permitted-armor:
            - LEATHER
            - DIAMOND
            - IRON
            - CHAINMAIL
            - GOLD
            permitted-weapon:
            - WOOD
            - GOLD
            - STONE
            - IRON
            - DIAMOND
            permitted-skills:
                ManaShield:
                    level: 0
                    mana: 100
                    cooldown: 30
                Fireball:
                    level: 0
                    mana: 20
                    cooldown: 3000
                Reflect:
                    level: 0
                    mana: 50
                    cooldown: 400
                Shield:
                    level: 0
                    mana: 50
                    cooldown: 400
                Forcepunch:
                    level: 30
                    mana: 5
                    cooldown: 400
            experience-sources:
            - KILLING
            - MINING
            - PVP
            - CRAFTING
            - LOGGING
            - SKILL
            expmodifier: 2.0
            base-max-health: 270.0
            max-health-per-level: 4
        Kreuzritter:
            default: false
            parent: Krieger
            summon-max: 0
            description: Der Kreuzritter hat viele nützliche Skills aber schwächere Waffen.
            permitted-armor:
            - LEATHER
            - IRON
            permitted-weapon:
            - WOOD
            - STONE
            - IRON_PICKAXE
            - IRON_SPADE
            permitted-skills:
                Zu Hicglander:
                    level: 50
                    usage: /hero choose Highlander
                    permissions:
                    - heroes.classes.Highlander
                ManaShield:
                    level: 0
                    mana: 100
                    cooldown: 30
                Fireball:
                    level: 0
                    mana: 20
                    cooldown: 3000
                Reflect:
                    level: 0
                    mana: 50
                    cooldown: 400
                Wolf:
                    level: 30
                    mana: 50
                    cooldown: 400
                Smoke:
                    level: 40
                    mana: 50
                    cooldown: 400
                LickWounds:
                    level: 45
                    mana: 50
                    cooldown: 400
            experience-sources:
            - KILLING
            - MINING
            - PVP
            - CRAFTING
            - LOGGING
            - SKILL
            expmodifier: 4
            base-max-health: 220.0
            max-health-per-level: 2
        Highlander:
            default: false
            parent: Berserker
            summon-max: 0
            description: Besser als Berseker
            permitted-armor:
            - LEATHER
            - DIAMOND
            - IRON
            - CHAINMAIL
            - GOLD
            permitted-weapon:
            - WOOD
            - GOLD
            - STONE
            - IRON_PICKAXE
            - IRON_SPADE
            - DIAMOND_PICKAXE
            - DIAMOND_SPADE
            permitted-skills:
                ManaShield:
                    level: 0
                    mana: 100
                    cooldown: 30
                Fireball:
                    level: 0
                    mana: 20
                    cooldown: 3000
                Reflect:
                    level: 0
                    mana: 50
                    cooldown: 400
                Wolf:
                    level: 0
                    mana: 50
                    cooldown: 400
                Smoke:
                    level: 0
                    mana: 50
                    cooldown: 400
                LickWounds:
                    level: o
                    mana: 50
                    cooldown: 400
                Taunt:
                    level: 20
                    mana: 50
                    cooldown: 400
                Blink:
                    level: 40
                    mana: 50
                    cooldown: 400
            experience-sources:
            - KILLING
            - MINING
            - PVP
            - CRAFTING
            - LOGGING
            - SKILL
            expmodifier: 2.5
            base-max-health: 320.0
            max-health-per-level: 2
        Magier:
            default: false
            parent: Vagrant
            summon-max: 0
            description: Der Magier kämpft eher mit Zaubersprüchen.(Meist im Fernkampf)
            permitted-armor:
            - LEATHER
            - CHAINMAIL
            - IRON_CHESTPLATE
            permitted-weapon:
            - WOOD
            - STONE
            - IRON_PICKAXE
            permitted-skills:
                Zu Erzmagier:
                    level: 50
                    usage: /hero choose Erzmagier
                    permissions:
                    - heroes.classes.Erzmagier
                Zu Nekromant:
                    level: 50
                    usage: /hero choose Nekromant
                    permissions:
                    - heroes.classes.Nekromant
                ManaShield:
                    level: 5
                    mana: 100
                    cooldown: 30
                Fireball:
                    level: 10
                    mana: 10
                    cooldown: 3
                Reflect:
                    level: 20
                    mana: 50
                    cooldown: 400
                Safefall:
                    level: 40
                    mana: 50
                    cooldown: 400
            experience-sources:
            - KILLING
            - MINING
            - PVP
            - CRAFTING
            - LOGGING
            - SKILL
            expmodifier: 5
            base-max-health: 70.0
            max-health-per-level: 1
        Erzmagier:
            default: false
            parent: Magier
            summon-max: 0
            description: Der Ezmagier beruht sich eher auf seine starken Skills.
            permitted-armor:
            - LEATHER
            - CHAINMAIL
            permitted-weapon:
            - WOOD
            - STONE
            - IRON_PICKAXE
            permitted-skills:
                Zu Spiritmaster:
                    level: 50
                    usage: /hero choose Spiritmaster
                    permissions:
                    - heroes.classes.Spiritmaster
                ManaShield:
                    level: 0
                    mana: 100
                    cooldown: 30
                Fireball:
                    level: 0
                    mana: 5
                    cooldown: 3
                Reflect:
                    level: 0
                    mana: 50
                    cooldown: 400
                Safefall:
                    level: 0
                    mana: 50
                    cooldown: 400
                Bolt:
                    level: 30
                    mana: 50
                    cooldown: 400
                Blaze:
                    level: 40
                    mana: 50
                    cooldown: 400
            experience-sources:
            - KILLING
            - MINING
            - PVP
            - CRAFTING
            - LOGGING
            - SKILL
            expmodifier: 4
            base-max-health: 120.0
            max-health-per-level: 1.5
        Spiritmaster:
            default: false
            parent: Erzmagier
            summon-max: 0
            description: Der Spiritmaster ist stärker als der Erzmagier.
            permitted-armor:
            - LEATHER
            - CHAINMAIL
            - IRON
            permitted-weapon:
            - WOOD
            - GOLD
            - STONE
            - IRON_PICKAXE
            - IRON_SPADE
            - DIAMOND_PICKAXE
            - DIAMOND_SPADE
            permitted-skills:
                ManaShield:
                    level: 0
                    mana: 0
                    cooldown: 30
                Fireball:
                    level: 0
                    mana: 0
                    cooldown: 0
                Reflect:
                    level: 0
                    mana: 50
                    cooldown: 4
                Safefall:
                    level: 0
                    mana: 50
                    cooldown: 4
                Bolt:
                    level: 0
                    mana: 50
                    cooldown: 4
                Blaze:
                    level: 0
                    mana: 50
                    cooldown: 4
                Absorb:
                    level: 30
                    mana: 50
                    cooldown: 4
                Icebolt:
                    level: 40
                    mana: 50
                    cooldown: 4
            experience-sources:
            - KILLING
            - MINING
            - PVP
            - CRAFTING
            - LOGGING
            - SKILL
            expmodifier: 2.5
            base-max-health: 195.0
            max-health-per-level: 2
        Nekromant:
            default: false
            parent: Magier
            summon-max: 0
            description: Der Nekromant hat weniger Skills bezieht aber auch eher darauf seine Monster kämpfen zulassen.
            permitted-armor:
            - LEATHER
            - CHAINMAIL
            permitted-weapon:
            - WOOD
            - STONE
            - IRON_PICKAXE
            - IRON_SPADE
            - IRON_SWORD
            permitted-skills:
                Zu Beschwörer:
                    level: 50
                    usage: /hero choose Beschwörer
                    permissions:
                    - heroes.classes.Beschwörer
                ManaShield:
                    level: 0
                    mana: 100
                    cooldown: 30
                Fireball:
                    level: 0
                    mana: 20
                    cooldown: 3000
                Reflect:
                    level: 0
                    mana: 50
                    cooldown: 400
                Safefall:
                    level: 0
                    mana: 50
                    cooldown: 400
                Wolf:
                    level: 40
                    mana: 50
                    cooldown: 400
            experience-sources:
            - KILLING
            - MINING
            - PVP
            - CRAFTING
            - LOGGING
            - SKILL
            expmodifier: 4
            base-max-health: 120.0
            max-health-per-level: 1.5
        Beschwörer:
            default: false
            parent: Nekromant
            summon-max: 0
            description: Der Beschwörer ist stärker als der Nekromant
            permitted-armor:
            - LEATHER
            - CHAINMAIL
            - IRON
            permitted-weapon:
            - WOOD
            - GOLD
            - STONE
            - IRON_PICKAXE
            - IRON_SPADE
            - DIAMOND_PICKAXE
            - DIAMOND_SPADE
            permitted-skills:
                ManaShield:
                    level: 0
                    mana: 100
                    cooldown: 3
                Fireball:
                    level: 0
                    mana: 20
                    cooldown: 3
                Reflect:
                    level: 0
                    mana: 50
                    cooldown: 4
                Safefall:
                    level: 0
                    mana: 50
                    cooldown: 4
                Wolf:
                    level: 0
                    mana: 50
                    cooldown: 4
                SafefallOther:
                    level: 25
                    mana: 50
                    cooldown: 4
                UnholyRitual:
                    level: 40
                    mana: 50
                    cooldown: 4
            experience-sources:
            - KILLING
            - MINING
            - PVP
            - CRAFTING
            - LOGGING
            - SKILL
            expmodifier: 2.5
            base-max-health: 195.0
            max-health-per-level: 0.5
        Jäger:
            default: false
            parent: Vagrant
            summon-max: 0
            description: Der Jäger bezieht sich nur auf seinen Pfeil und Bogen.
            permitted-armor:
            - LEATHER
            permitted-weapon:
            - WOOD
            - STONE
            - BOW
            permitted-skills:
                Zu Fallensteller:
                    level: 50
                    usage: /hero choose Fallesnsteller
                    permissions:
                    - heroes.classes.Fallensteller
                Zu Dieb:
                    level: 50
                    usage: /hero choose Dieb
                    permissions:
                    - heroes.classes.Dieb
                Blink:
                    level: 5
                    mana: 100
                    cooldown: 30
                Fireball:
                    level: 10
                    mana: 20
                    cooldown: 3000
                Absorb:
                    level: 20
                    mana: 50
                    cooldown: 400
                Firearrow:
                    level: 40
                    mana: 50
                    cooldown: 400
            experience-sources:
            - KILLING
            - MINING
            - PVP
            - CRAFTING
            - LOGGING
            - SKILL
            expmodifier: 5
            base-max-health: 20.0
            max-health-per-level: 1.5
        Fallensteller:
            default: false
            parent: Jäger
            summon-max: 0
            description: Der Fallensteller bezieht sich eher auf seinen Pfeil und seinen Bogen.
            permitted-armor:
            - LEATHER
            - CHAINMAIL
            permitted-weapon:
            - WOOD
            - STONE
            - IRON_SPADE
            - IRON_PICKAXE
            - BOW
            permitted-skills:
                Zu Groswildjäger:
                    level: 50
                    usage: /hero choose Grosswildjäger
                    permissions:
                    - heroes.classes.Grosswildjäger
                Blink:
                    level: 0
                    mana: 10
                    cooldown: 3
                Fireball:
                    level: 0
                    mana: 6
                    cooldown: 3000
                Absorb:
                    level: 0
                    mana: 5
                    cooldown: 400
                Firearrow:
                    level: 0
                    mana: 5
                    cooldown: 400
                Safefall:
                    level: 10
                    mana: 50
                    cooldown: 400
                Jump:
                    level: 30
                    mana: 50
                    cooldown: 400
                Smoke:
                    level: 40
                    mana: 50
                    cooldown: 400
            experience-sources:
            - KILLING
            - MINING
            - PVP
            - CRAFTING
            - LOGGING
            - SKILL
            expmodifier: 4
            base-max-health: 95.0
            max-health-per-level: 2.5
        Grosswildjäger:
            default: false
            parent: Fallensteller
            summon-max: 0
            description: Der Grosswildjäger ist stärker als der Fallensteller.
            permitted-armor:
            - LEATHER
            - CHAINMAIL
            permitted-weapon:
            - WOOD
            - GOLD
            - STONE
            - IRON_PICKAXE
            - IRON_SPADE
            - DIAMOND_PICKAXE
            - DIAMOND_SPADE
            - BOW
            permitted-skills:
                Blink:
                    level: 0
                    mana: 0
                    cooldown: 0
                Fireball:
                    level: 0
                    mana: 0
                    cooldown: 0
                Absorb:
                    level: 0
                    mana: 0
                    cooldown: 0
                Firearrow:
                    level: 0
                    mana: 0
                    cooldown: 0
                Safefall:
                    level: 0
                    mana: 0
                    cooldown: 0
                Jump:
                    level: 0
                    mana: 0
                    cooldown: 0
                Smoke:
                    level: 0
                    mana: 0
                    cooldown: 0
                Barrage:
                    level: 20
                    mana: 0
                    cooldown: 0
                Pulse:
                    level: 30
                    mana: 50
                    cooldown: 0
                Shield:
                    level: 40
                    mana: 0
                    cooldown: 0
            experience-sources:
            - KILLING
            - MINING
            - PVP
            - CRAFTING
            - LOGGING
            - SKILL
            expmodifier: 2.5
            base-max-health: 220.0
            max-health-per-level: 2
        Dieb:
            default: false
            parent: Jäger
            summon-max: 0
            description: Der Dieb bezieht sich eher auf seine Unfairen skills.
            permitted-armor:
            - LEATHER
            - CHAINMAIL
            permitted-weapon:
            - WOOD
            - STONE
            - IRON_PICKAXE
            - IRON_AXE
            - BOW
            permitted-skills:
                Zu Schurke:
                    level: 50
                    usage: /hero choose Schurke
                    permissions:
                    - heroes.classes.Schurke
                Blink:
                    level: 0
                    mana: 100
                    cooldown: 30
                Fireball:
                    level: 0
                    mana: 20
                    cooldown: 3000
                Absorb:
                    level: 0
                    mana: 50
                    cooldown: 400
                Firearrow:
                    level: 0
                    mana: 50
                    cooldown: 400
                Safefall:
                    level: 20
                    mana: 50
                    cooldown: 400
                Smoke:
                    level: 30
                    mana: 50
                    cooldown: 400
            experience-sources:
            - KILLING
            - PVP
            - SKILL
            expmodifier: 4
            base-max-health: 95.0
            max-health-per-level: 0.5
        Schurke:
            default: false
            parent: Dieb
            summon-max: 0
            description: Der Grosswildjäger ist stärker als der Fallensteller.
            permitted-armor:
            - LEATHER
            - CHAINMAIL
            permitted-weapon:
            - WOOD
            - GOLD
            - STONE
            - IRON_PICKAXE
            - IRON_SPADE
            - DIAMOND_PICKAXE
            - DIAMOND_SPADE
            - BOW
            permitted-skills:
                Blink:
                    level: 0
                    mana: 100
                    cooldown: 30
                Fireball:
                    level: 0
                    mana: 20
                    cooldown: 3000
                Absorb:
                    level: 0
                    mana: 50
                    cooldown: 400
                Firearrow:
                    level: 0
                    mana: 50
                    cooldown: 400
                Safefall:
                    level: 0
                    mana: 50
                    cooldown: 400
                Smoke:
                    level: 0
                    mana: 50
                    cooldown: 400
                Invuln:
                    level: 30
                    mana: 50
                    cooldown: 400
                Bladegrasp:
                    level: 35
                    mana: 50
                    cooldown: 400
                Hellgate:
                    level: 50
                    mana: 50
                    cooldown: 400
            experience-sources:
            - KILLING
            - PVP
            - SKILL
            expmodifier: 2.5
            base-max-health: 120.0
            max-health-per-level: 0.5
    
    CB 1000
    Permissions: -

    I hope you can help me.
    and Sorry for my bad english.

    Alex
     
  25. Offline

    dak393

    Here this should fix the 2 errors you got (issues with spacing all classes need to be the same number of spaces out same with skills and settings) You may need to fix all the permitted armor and weapons as well as it looks like the first one of each is out of place but here is the link :)
    Edit fixed file (works now :) )
     
  26. Offline

    pacmanjones

    Is there any way to change the damage some skills do easily? [I want fireball to do more damage (right now it doesn't really do that much)]
     
  27. Offline

    ledhead900

    open up the skills.yml and edit that to your likeing you can check out my uploaded heroes pack for examples if u feel like it its just a page back.
     
  28. Offline

    Legionarius

    Roger that, ghost rider. As a temporary measure we had just modified our minecraft script to watch for 3 or more successive read timeouts, force kill if necessary, and restart the server. I let crojobs worry about most of my woes until I can get to them myself in earnest :)

    I have total control over my box. Your comment about "allocating more ram to player connections" completely baffles me. In my experience minecraft is built to gobble up ram in earnest - not hard allocating any amount along the way for any one thing.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  29. Offline

    eduard607

    veryvery nice plugin but can you make more skills pls (;
     
  30. Offline

    Kainzo

    No
     
    eduard607 and jonDatz like this.
  31. Offline

    Legionarius

    Still only plan to let "licensed" plugin devs get their hands on the skills toolkit? Would love to have an excuse to fire up eclipse again. Alas all my time now is spent in VS10 and SQLdeveloper for work. Also, how's the .py character editor coming?
     
Thread Status:
Not open for further replies.

Share This Page