Stránka 1 z 1

Quests volačo som pokazil

Napsal: 11 led 2014, 21:48
od adam1999
93.91.250.135:27237

Ahoj mam taky problém s pluginom Quests že vždy ked kliknem na NPC zobrazia sa my všetky questy a nedaju sa vybrať ani nič a neda sa do nich ani pripojiť ale predtym to išlo len ja som vytvaral nové questy Ale nenašiel som tam žiadnu chybu. Tu su tie Questy

Kód: Vybrat vše

quests:
  Miner:
    name: Tazba
    npc-giver-id: 12
    ask-message: <yellow>Ahoj!!Prosim ta pomoz my zburat <purple>64<yellow> blokov <purple>kamena<yellow>, musis burat <purple>1 drevennym krompacom<yellow> Za pomoc dostanes odmenu!!!Viac info /quest
    finish-message: <yellow>Velmi dobre!!!!Dostal si svoju odmenu 8 000.
    redo-delay: 1800000
    parties: 0
    requirements:
      items:
      - id-270:amount-1
      remove-items:
      - false
      fail-requirement-message: <red>Musis mat pri sebe <purple>Drevenny krompac<red>.
    stages:
      ordered:
        '1':
          break-block-ids:
          - 1
          break-block-amounts:
          - 64
    rewards:
      money: 9000
      quest-points: 1
  Hunter:
    name: Mob Hunter
    npc-giver-id: 12
    ask-message: <yellow>zabijaj mobou!Viac info /quest.
    finish-message: <yellow>Vinikajuce. Dostal si <purple>Diamond Sword<yellow> a <purple>100 XP<yellow>.
    parties: 2
    requirements:
      quests:
      - Tazba
      fail-requirement-message: <red>Pre prijatie dalsiej ulohy musis dokoncit ulohu <purple>Tazbu<red> first.
    stages:
      ordered:
        '1':
          death-event: DeathFail
          mobs-to-kill:
          - Pig
          mob-amounts:
          - 20
          finish-event: GoodJob
        '2':
          death-event: DeathFail
          mobs-to-kill:
          - Zombie
          mob-amounts:
          - 15
          finish-event: GoodJob
        '3':
          death-event: DeathFail
          mobs-to-kill:
          - Skeleton
          mob-amounts:
          - 21
    rewards:
      items:
      exp: 100
      quest-points: 1
  Rybarcenie:
    name: Catch Fish
    npc-giver-id: 12
    ask-message: <yellow>Ulov 10 rýb!Viac info /quest
    finish-message: <yellow>Excellent. Here is some <green>experience<yellow>.
    parties: 2
    requirements:
      quests:
      - Mob Hunter
      fail-requirement-message: <red>Complete <purple>Stone Miner<red> first.
    stages:
      ordered:
        '1':
          start-event: FishingStart
          death-event: DeathFail
          chat-events:
          - RodEvent
          chat-event-triggers:
          - rod
          fish-to-catch: 10
    rewards:
      exp: 250
  Skill:
    name: Smoliar
    npc-giver-id: 12
    ask-message: <yellow>Zabi 1 ghasta!Viac info /quest.
    finish-message: <yellow>Vinikajuce zlepšuješ sa!!. Dostal si <purple>150 XP a 15 000<yellow> a <purple>100 XP<yellow>.
    parties: 2
    requirements:
      quests:
      - Catch Fish
      fail-requirement-message: <red>Pre prijatie dalsiej ulohy musis dokoncit ulohu <purple>Catch fish<red>.
    stages:
      ordered:
        '1':
          death-event: DeathFail
          mobs-to-kill:
          - Ghast
          mob-amounts:
          - 1
    rewards:
      items:
      money: 15000
      exp: 150
      quest-points: 1
  Bannik:
    name: Banner
    npc-giver-id: 12
    ask-message: <yellow>Moc ma bolia kolena pomoz my zburat  <purple>8<yellow> blokov <purple>Obsidiantu<yellow>,Za pomoc dostanes odmenu!!!Viac info /quest
    finish-message: <yellow>Velmi dobre!!!!Dostal si svoju odmenu 8 000.
    redo-delay: 1800000
    parties: 0
    requirements:
      quests:
      - Smoliar
      fail-requirement-message: <red>Musis splnit ulohu<purple>Smoliar<red>.
    stages:
      ordered:
        '1':
          break-block-ids:
          - 49
          break-block-amounts:
          - 8
    rewards:
      money: 25000
      exp: 200
      quest-points: 1
  Koniec:
    name: Ukoncenie
    npc-giver-id: 12
    ask-message: <yellow>Oh ahoj som na odchode prosím ta spln my moju prozbu a pozabijaj mobov!Viac info /quest.
    finish-message: <yellow>Vinikajuce. Dostal si <purple>Diamond Sword<yellow> a <purple>100 XP<yellow>.
    parties: 2
    requirements:
      quests:
      - Banner
      fail-requirement-message: <red>Pre prijatie dalsiej ulohy musis dokoncit ulohu <purple>Banner<red> first.
    stages:
      ordered:
        '1':
          death-event: DeathFail
          mobs-to-kill:
          - Horse
          mob-amounts:
          - 25
          finish-event: Vyborne
        '2':
          death-event: DeathFail
          mobs-to-kill:
          - Slime
          mob-amounts:
          - 15
          finish-event: GoodJob
        '3':
          death-event: DeathFail
          mobs-to-kill:
          - Villager
          mob-amounts:
          - 20
    rewards:
      items:
      money: 50000
      exp: 300
      quest-points: 1
     

Re: Quests volačo som pokazil

Napsal: 12 led 2014, 12:37
od nejento
protože všechny questy jsou udělané na jedno NPC.
npc-giver-id: 12
Tím NPC je NPC číslo 12. Ten má podle configu přiděleno více než jeden quest a tak ti to dává na výběr
Spoiler: zobrazit

Kód: Vybrat vše

quests:
  Miner:
    name: Tazba
    npc-giver-id: 12
    ask-message: '<yellow>Ahoj!!Prosim ta pomoz my zburat <purple>64<yellow> blokov <purple>kamena<yellow>, musis burat <purple>1 drevennym krompacom<yellow> Za pomoc dostanes odmenu!!!Viac info /quest'
    finish-message: '<yellow>Velmi dobre!!!!Dostal si svoju odmenu 8 000.'
    redo-delay: 1800000
    parties: 0
    requirements:
      items:
      - id-270:amount-1
      remove-items:
      - false
      fail-requirement-message: '<red>Musis mat pri sebe <purple>Drevenny krompac<red>.'
    stages:
      ordered:
        '1':
          break-block-ids:
          - 1
          break-block-amounts:
          - 64
    rewards:
      money: 9000
      quest-points: 1
  Hunter:
    name: Mob Hunter
    npc-giver-id: 12
    ask-message: '<yellow>zabijaj mobou!Viac info /quest'
    finish-message: '<yellow>Vinikajuce. Dostal si <purple>Diamond Sword<yellow> a <purple>100 XP<yellow>.'
    parties: 2
    requirements:
      quests:
      - Tazba
      fail-requirement-message: '<red>Pre prijatie dalsiej ulohy musis dokoncit ulohu <purple>Tazbu<red> first.'
    stages:
      ordered:
        '1':
          death-event: DeathFail
          mobs-to-kill:
          - Pig
          mob-amounts:
          - 20
          finish-event: GoodJob
        '2':
          death-event: DeathFail
          mobs-to-kill:
          - Zombie
          mob-amounts:
          - 15
          finish-event: GoodJob
        '3':
          death-event: DeathFail
          mobs-to-kill:
          - Skeleton
          mob-amounts:
          - 21
    rewards:
      items:
      exp: 100
      quest-points: 1
  Rybarcenie:
    name: Catch Fish
    npc-giver-id: 12
    ask-message: '<yellow>Ulov 10 rýb!Viac info /quest'
    finish-message: '<yellow>Excellent. Here is some <green>experience<yellow>.'
    parties: 2
    requirements:
      quests:
      - Mob Hunter
      fail-requirement-message: '<red>Complete <purple>Stone Miner<red> first.'
    stages:
      ordered:
        '1':
          start-event: FishingStart
          death-event: DeathFail
          chat-events:
          - RodEvent
          chat-event-triggers:
          - rod
          fish-to-catch: 10
    rewards:
      exp: 250
  Skill:
    name: Smoliar
    npc-giver-id: 12
    ask-message: '<yellow>Zabi 1 ghasta!Viac info /quest.'
    finish-message: '<yellow>Vinikajuce zlepšuješ sa!!. Dostal si <purple>150 XP a 15 000<yellow> a <purple>100 XP<yellow>.'
    parties: 2
    requirements:
      quests:
      - Catch Fish
      fail-requirement-message: '<red>Pre prijatie dalsiej ulohy musis dokoncit ulohu <purple>Catch fish<red>.'
    stages:
      ordered:
        '1':
          death-event: DeathFail
          mobs-to-kill:
          - Ghast
          mob-amounts:
          - 1
    rewards:
      items:
      money: 15000
      exp: 150
      quest-points: 1
  Bannik:
    name: Banner
    npc-giver-id: 12
    ask-message: '<yellow>Moc ma bolia kolena pomoz my zburat  <purple>8<yellow> blokov <purple>Obsidiantu<yellow>,Za pomoc dostanes odmenu!!!Viac info /quest'
    finish-message: '<yellow>Velmi dobre!!!!Dostal si svoju odmenu 8 000.'
    redo-delay: 1800000
    parties: 0
    requirements:
      quests:
      - Smoliar
      fail-requirement-message: '<red>Musis splnit ulohu<purple>Smoliar<red>.'
    stages:
      ordered:
        '1':
          break-block-ids:
          - 49
          break-block-amounts:
          - 8
    rewards:
      money: 25000
      exp: 200
      quest-points: 1
  Koniec:
    name: Ukoncenie
    npc-giver-id: 12
    ask-message: '<yellow>Oh ahoj som na odchode prosím ta spln my moju prozbu a pozabijaj mobov!Viac info /quest.'
    finish-message: '<yellow>Vinikajuce. Dostal si <purple>Diamond Sword<yellow> a <purple>100 XP<yellow>.'
    parties: 2
    requirements:
      quests:
      - Banner
      fail-requirement-message: '<red>Pre prijatie dalsiej ulohy musis dokoncit ulohu <purple>Banner<red> first.'
    stages:
      ordered:
        '1':
          death-event: DeathFail
          mobs-to-kill:
          - Horse
          mob-amounts:
          - 25
          finish-event: Vyborne
        '2':
          death-event: DeathFail
          mobs-to-kill:
          - Slime
          mob-amounts:
          - 15
          finish-event: GoodJob
        '3':
          death-event: DeathFail
          mobs-to-kill:
          - Villager
          mob-amounts:
          - 20
    rewards:
      items:
      money: 50000
      exp: 300
      quest-points: 1

Re: Quests volačo som pokazil

Napsal: 12 led 2014, 13:46
od adam1999
A dá sa to spraviť ani to dávalo po 1 quest? A nechodil to vsetky naraz?