Stránka 1 z 1

/jobs

Napsal: 10 dub 2012, 20:19
od Neopry
Ahoj, chtel sem se zeptat pokud to jde jestly bych mohl vytvorit VIP praci .. uz sem to zkousel ale bez ucinku jakoze jobs nesli vubec a mel sem to dobre... tak jestly byste poradily

JOBS :

Kód: Vybrat vše

# Jobs configuration.
Jobs:
  Drevorubec:
    fullname: Drevorubec
    shortname: D
    ChatColour: GREEN
    chat-display: full
    leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    income-progression-equation: baseincome*((1.05)^(joblevel-1))
    experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    Break:
      LOG:
        income: 5.0
        experience: 5.0
    Place:
      SAPLING:
        income: 1.0
        experience: 1.0
      WOOD:
        income: 2.0
        experience: 2.0
    Kill:
      Player:
        income: 7.5
        experience: 7.5
    custom-kill:
      Woodcutter:
        income: 10.0
        experience: 10.0
    permissions:
      aaaaaatest.node:
        value: true
        level: 0
      aaaaaatest.node2:
        value: true
        level: 10
  Hornik:
    fullname: Hornik
    shortname: H
    ChatColour: DARK_GRAY
    chat-display: full
    leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    income-progression-equation: baseincome*((1.05)^(joblevel-1))
    experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    Break:
      STONE:
        income: 0.5
        experience: 0.5
      COAL_ORE:
        income: 0.5
        experience: 1.0
      REDSTONE_ORE:
        income: 1.0
        experience: 2.0
      IRON_ORE:
        income: 2.0
        experience: 3.0
      GOLD_ORE:
        income: 4.0
        experience: 5.0
      LAPIS_ORE:
        income: 5.0
        experience: 4.0
      DIAMOND_ORE:
        income: 5.0
        experience: 6.0
      OBSIDIAN:
        income: 5.0
        experience: 8.0
      MOSSY_COBBLESTONE:
        income: 4.0
        experience: 6.0
  Epic:
    fullname: Epic
    shortname: Ep
    ChatColour: PURPLE
    chat-display: full
    leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    income-progression-equation: baseincome*((1.05)^(joblevel-1))
    experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    Place:
      COBBLESTONE:
        income: 5.0
        experience: 5.0
      WOOD:
        income: 5.0
        experience: 5.0
      OBSIDIAN: 5.0
        income: 5.0
        experience: 5.0
      STONE:
        income: 5.0
        experience: 5.0
      WOOL:
        income: 5.0
        experience: 5.0
      FENCE:
        income: 5.0
        experience: 5.0
      GLOWSTONE:
        income: 5.0
        experience: 5.0
      SAND:
        income: 5.0
        experience: 5.0
      SANDSTONE:
        income: 5.0
        experience: 5.0
      GLASS:
        income: 5.0
        experience: 5.0
      BRICK:
        income: 5.0
        experience: 5.0
      DIRT:
        income: 5.0
        experience: 5.0
      LAPIS_BLOCK:
        income: 5.0
        experience: 5.0
      DOUBLE_STEP:
        income: 5.0
        experience: 5.0
      STEP:
        income: 5.0
        experience: 5.0
      BOOKSHELF:
        income: 5.0
        experience: 5.0
      WOOD_STAIRS:
        income: 5.0
        experience: 5.0
      COBBLESTONE_STAIRS:
        income: 5.0
        experience: 5.0
      MOSSY_COBBLESTONE:
        income: 5.0
        experience: 5.0
      DIAMOND_BLOCK:
        income: 5.0
        experience: 5.0
      GOLD_BLOCK:
        income: 5.0
        experience: 5.0
      GRAVEL:
        income: 5.0
        experience: 5.0
      CLAY:
        income: 5.0
        experience: 5.0
      SAPLING:
        income: 5.0
        experience: 5.0
  Stavitel:
    fullname: Stavitel
    shortname: S
    ChatColour: WHITE
    chat-display: full
    leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    income-progression-equation: baseincome*((1.05)^(joblevel-1))
    experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    Place:
      COBBLESTONE:
        income: 0.5
        experience: 1.0
      WOOD:
        income: 1.0
        experience: 1.0
      FENCE:
        income: 1.5
        experience: 2.0
      WOOL:
        income: 1.5
        experience: 1.5
      STONE:
        income: 2.2
        experience: 2.0
      GLOWSTONE:
        income: 3.0
        experience: 3.0
      SANDSTONE:
        income: 2.0
        experience: 2.0
      GLASS:
        income: 3.0
        experience: 3.0
      BRICK:
        income: 1.0
        experience: 4.0
      LAPIS_BLOCK:
        income: 2.0
        experience: 5.0
      DOUBLE_STEP:
        income: 2.0
        experience: 2.0
      STEP:
        income: 1.0
        experience: 3.0
      BOOKSHELF:
        income: 1.0
        experience: 3.0
      WOOD_STAIRS:
        income: 2.0
        experience: 2.0
      COBBLESTONE_STAIRS:
        income: 2.0
        experience: 2.0
      MOSSY_COBBLESTONE:
        income: 1.0
        experience: 1.0
      DIAMOND_BLOCK:
        income: 2.0
        experience: 5.0
      GOLD_BLOCK:
        income: 2.0
        experience: 5.0
  Kopac:
    fullname: Kopac
    shortname: K
    ChatColour: GOLD
    chat-display: full
    leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    income-progression-equation: baseincome*((1.05)^(joblevel-1))
    experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    Break:
      DIRT:
        income: 0.5
        experience: 0.0
      GRASS:
        income: 0.0
        experience: 0.0
      GRAVEL:
        income: 1.0
        experience: 1.0
      SAND:
        income: 0.0
        experience: 0.0
      CLAY:
        income: 0.5
        experience: 4.0
  Kovar:
    fullname: Kovar
    shortname: Ko
    ChatColour: BLUE
    chat-display: full
    leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    income-progression-equation: baseincome*((1.05)^(joblevel-1))
    experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    Craft:
      WOOD_SWORD:
        income: 1.0
        experience: 1.0
      IRON_SWORD:
        income: 2.0
        experience: 2.0
      GOLD_SWORD:
        income: 3.0
        experience: 2.0
      DIAMOND_SWORD:
        income: 4.0
        experience: 4.0
      IRON_HELMET:
        income: 2.0
        experience: 4.0
      IRON_CHESTPLATE:
        income: 2.0
        experience: 4.0
      IRON_LEGGINGS:
        income: 2.0
        experience: 4.0
      IRON_BOOTS:
        income: 2.0
        experience: 4.0
      IRON_PICKAXE:
        income: 2.0
        experience: 4.0
      IRON_AXE:
        income: 2.0
        experience: 4.0
      MINECART:
        income: 2.0
        experience: 4.0
      BUCKET:
        income: 2.0
        experience: 4.0
  Hunter:
    fullname: Hunter
    shortname: H
    ChatColour: RED
    chat-display: full
    leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    income-progression-equation: baseincome*((1.05)^(joblevel-1))
    experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    Kill:
      Chicken:
        income: 0.1
        experience: 1.0
      Cow:
        income: 0.5
        experience: 1.0
      Pig:
        income: 0.5
        experience: 1.0
      Sheep:
        income: 0.5
        experience: 1.0
      Wolf:
        income: 6.0
        experience: 6.0
      Creeper:
        income: 15.0
        experience: 12.0
      Skeleton:
        income: 12.0
        experience: 12.0
      Spider:
        income: 9.0
        experience: 10.0
      Zombie:
        income: 7.0
        experience: 7.0
      Player:
        income: 7.0
        experience: 7.0
    custom-kill:
      Woodcutter:
        income: 10.0
        experience: 10.0
      Miner:
        income: 10.0
        experience: 10.0
      Digger:
        income: 10.0
        experience: 10.0
      Farmer:
        income: 10.0
        experience: 10.0
      Builder:
        income: 10.0
        experience: 10.0
      Hunter:
        income: 20.0
        experience: 20.0
  Rybar:
    fullname: Rybar
    shortname: Ry
    ChatColour: AQUA
    chat-display: full
    leveling-progression-equation: 100*((1.13+(0.01*(numjobs-1)))^(joblevel-1))
    income-progression-equation: baseincome*((1.05)^(joblevel-1))
    experience-progression-equation: baseexperience*((1.05)^(joblevel-1))
    Fish:
      RAW_FISH:
        income: 4.0
        experience: 4.0

Re: /jobs

Napsal: 10 dub 2012, 20:38
od nejento
No, jestli ti stačí mít ty práce, co jsou tam automaticky, tak jen přiděl permissiony:

Kód: Vybrat vše

- jobs.join.NázevPráce

Pokud chceš ECHT vlastní, tak do jobConfig.yml si přidej novou práci se stejným začátkem a pak jen nastavuj:

Kód: Vybrat vše

    Break:
      LOG:
        income: 5.0
        experience: 5.0

a další.

Jestli se ti to nepovede podívej se do server.log. On většinou sám dokáže ukázat, kde je chyba.

Re: /jobs

Napsal: 10 dub 2012, 20:43
od Neopry
ok diky

Re: /jobs

Napsal: 10 dub 2012, 20:47
od nejento
Kdyby nešlo dej sem jobsConfig.yml

P.S.: Já si takhle přidal celkem 6 prací navíc :D

Re: /jobs

Napsal: 10 dub 2012, 21:30
od Neopry
DObrý už to mám ale nwm jak to zaridit aby to mohly JEN VIP a ne obyc hraci ... jak mam nastavit permissions ?

Re: /jobs

Napsal: 10 dub 2012, 21:35
od BlackLight
Pro non-vip nastav

Kód: Vybrat vše

- -jobs.join.NázevPráce


A pro vip

Kód: Vybrat vše

- jobs.join.NázevPráce