expsources

Aug 25, 2016
expsources
  • Overview
    Experience is how Heroes gain levels. Currently there are eleven different sources of gaining experience: SKILL, CRAFTING, MINING, KILLING, LOGGING, FARMING, FISHING, PVP, QUESTING, EXTERNAL, ENCHANTING .

    Skill experience is set per-skill in the skills configurations, and is usually not enabled, but can be enabled if you want specific skills to award or cost the player experience. PvP rewards are set under Killing as shown in the default configuration below.

    Enchanting is required for a player to enchant items, as it will be used to deduct the exp cost from the heroes.

    Questing & External require extra addons to be functional, they are not used internal to the Heroes plugin.

    The experiences.yml file controls which experience types award experience and how much they award. Killing goes by entity names, while the other options go by block and item names

    Default Configuration
    Code (Text):

    fishing: 5
    farming:
        crops: 1
        sugar_cane_block: 1
        melon: 2
        pumpkin: 2
        pumpkin_stem: .2
        melon_stem: .2
        vine: .2
        huge_mushroom_1: .1
        huge_mushroom_2: .1
        red_mushroom: 1
        brown_mushroom: 1
        long_grass: .1
    killing:
        chicken: 1
        cow: 1
        creeper: 23
        ghast: 50
        pig: 1
        pig_zombie: 40
        sheep: 1
        wolf: 6
        skeleton: 22
        cave_spider: 10
        spider: 18
        zombie: 15
        squid: 1
        slime: 15
        giant: 300
        player: 31
        blaze: 25
        magma_cube: 12
        ender_dragon: 500
        villager: 1
        snowman: 5
        mushroom_cow: 1
    mining:
        coal: 5
        cobblestone: 1
        clay: 15
        diamond_ore: 15
        dirt: 1
        glowstone: 5
        gold_ore: 3
        coal_ore: 6
        grass: 1
        gravel: 1
        iron_ore: 3
        lapis_ore: 7
        mossy_cobblestone: 2
        netherrack: 1
        obsidian: 20
        redstone_ore: 8
        glowing_redstone_ore: 8
        sand: 1
        sandstone: 1
        snow_block: 1
        soul_sand: 8
        stone: 1
    logging:
        log: 3
        cactus: 1
        sapling: .1
    crafting:
        Arrow: 1
        Bed: 1
        Boat: 1
        Book: 0
        Bookshelf: 5
        Bow: 3
        Bread: 0
        Brick: 10
        Bucket: 2
        Cake: 15
        Chest: 1
        Cobblestone_Stairs: 0
        Compass: 4
        Cookie: 2
        Detector_Rail: 5
        Diamond_Axe: 17
        Diamond_Boots: 15
        Diamond_Chestplate: 20
        Diamond_helmet: 15
        Diamond_Hoe: 8
        Diamond_Leggings: 18
        Diamond_Pickaxe: 12
        Diamond_Spade: 8
        Diamond_Sword: 10
        Dispenser: 3
        Fence: 0
        Fishing_Rod: 6
        Flint_and_steel: 1
        Furnace: 1
        Golden_Apple: 100
        Gold_Axe: 25
        Gold_Boots: 20
        Gold_Helmet: 20
        Gold_Hoe: 20
        Gold_Leggings: 30
        Gold_Pickaxe: 30
        Gold_Chestplate: 40
        Gold_Spade: 10
        Gold_Sword: 20
        Iron_Axe: 6
        Iron_Boots: 8
        Iron_Chestplate: 12
        Iron_Door: 3
        Iron_Helmet: 6
        Iron_Hoe: 4
        Iron_Leggings: 10
        Iron_Pickaxe: 6
        Iron_Spade: 4
        Iron_sword: 5
        Jukebox: 1
        Ladder: 0
        LEATHER_HELMET: 4
        Leather_leggings: 6
        LEATHER_CHESTPLATE: 8
        Leather_Boots: 4
        Lever: 0
        Minecart: 2
        Map: 10
        Note_Block: 1
        Painting: 1
        Paper: 0
        Powered_Rail: 10
        Rails: 1
        DIODE: 3
        REDSTONE_TORCH_OFF: 0
        REDSTONE_TORCH_ON: 0
        Sandstone: 0
        Sign: 2
        Stick: 0
        Stone_Button: 0
        Stone_Axe: 2
        Stone_Hoe: 1
        Stone_Pickaxe: 2
        Stone_Plate: 0
        Stone_Spade: 1
        Stone_sword: 2
        Storage_Minecart: 3
        PISTON_STICKY_BASE: 5
        Sugar: 0
        TNT: 5
        Torch: 0
        Trap_door: 1
        Wood_Axe: 1
        Wood_Door: 2
        Wood_Hoe: 1
        Wood_Pickaxe: 1
        Wood: 0
        Wood_Plate: 0
        Wood_Spade: 1
        Wood_Stairs: 0
        Wood_sword: 1
     
  • Loading...
  • Loading...