Advertisement
Guest User

Untitled

a guest
Nov 14th, 2018
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.52 KB | None | 0 0
  1. # first off all make sure you use the latest build of the module (https://github.com/BerndiVader/MythicMobsQuestsModule/tree/master), plus that it's used by quests. If you are unsure, navigate to `plugins/Quests/modules` and delete any mythicmobs quests modules inside. re-download the module from the link above and copy it into the modules folder.
  2.  
  3. # Start your server. Make sure there is no exception thrown by the quests-plugin or the quests-module while loading.
  4.  
  5. # If all is ok, setup this examplequest. (the example is based onto your quest)
  6.  
  7. # Step 1: create the questitem and import it into MythicMobs:
  8.     `/give @p dirt 1 0 {"MythicQuestItem":"seithoil"}`
  9.  
  10. #This command creates an item with a custom tag called MythicQuestItem and the value "seithoil" based on the mythicitem name. This is necessary because we want to identify the item later by that tag.
  11.  
  12. # Now selected that item and import that item into mythicmobs with this command
  13.     `/mm i import seithoil ExampleItems.yml`
  14.  
  15. # We use the same name for the mythicitem as we used for the tag befor. Now we have that item with the MythicQuestItem tag imported into mythicmobs you can edit that item inside mythicmobs aslong as you dont modify the meta node. Here is a pastebin how it schould look like:
  16.  
  17. # Step 2: Create the mobs.
  18.  
  19. darkogre:
  20.   Mobtype: sheep
  21.   Display: 'a darkogre mob'
  22.   Health: 2
  23. cursedarcher:
  24.   Mobtype: pig
  25.   Display: 'a cursedarcher mob'
  26.   Health: 3
  27. dwellerspider:
  28.   Mobtype: cow
  29.   Display: 'a dwellerspider mob'
  30.   Health: 4
  31.  
  32. # Step 3: We need a questevent to give the mythicitem to the quester:
  33. # the questevent goes into the events.yml inside the quests folder.
  34.  
  35. events:
  36.   GiveMythicItemCmd:
  37.     message: Bring me the MythicQuestItem
  38.     commands:
  39.    - mm i give -s <player> seithoil
  40.  
  41. # Step 4: The quest itself:
  42.  
  43. quests:
  44.   custom1:
  45.     name: Something is Wrong
  46.     npc-giver-id: 0
  47.     ask-message: The World Tree is dying... I can feel it in the earth! It was those
  48.       monsters that did this - please get rid of them! Maybe they will have something
  49.       on them that will shed light on this problem. They normally collect around
  50.     gui-display: name-DIAMOND_SWORD:amount-1
  51.     finish-message: I have another favor to ask of you!
  52.     stages:
  53.       ordered:
  54.         '1':
  55.           custom-objectives:
  56.             custom1:
  57.               name: Kill MythicMobs Objective
  58.               count: 3
  59.               data:
  60.                 Mob Level: '0'
  61.                 TargetConditions: NONE
  62.                 Mob Faction: ANY
  63.                 Objective Name: Kill Dark Ogre
  64.                 Internal Mobnames: darkogre
  65.                 Notifier enabled: 'true'
  66.                 Conditions: NONE
  67.                 Notifier msg: You have killed %c% of %s%!
  68.         '2':
  69.           custom-objectives:
  70.             custom1:
  71.               name: Kill MythicMobs Objective
  72.               count: 3
  73.               data:
  74.                 Mob Level: '0'
  75.                 TargetConditions: NONE
  76.                 Mob Faction: ANY
  77.                 Objective Name: Kill Cursed Archer
  78.                 Internal Mobnames: cursedarcher
  79.                 Notifier enabled: 'true'
  80.                 Conditions: NONE
  81.                 Notifier msg: You have killed %c% of %s%!
  82.         '3':
  83.           custom-objectives:
  84.             custom1:
  85.               name: Kill MythicMobs Objective
  86.               count: 3
  87.               data:
  88.                 Mob Level: '0'
  89.                 TargetConditions: NONE
  90.                 Mob Faction: ANY
  91.                 Objective Name: Kill Dweller Spider
  92.                 Internal Mobnames: dwellerspider
  93.                 Notifier enabled: 'true'
  94.                 Conditions: NONE
  95.                 Notifier msg: You have killed %c% of %s%!
  96.           finish-event: GiveMythicItemCmd
  97. # here we use the event to give the mythicitem to the player so that the player can continue with the last stage.
  98.         '4':
  99.           custom-objectives:
  100.             custom1:
  101.               name: MythicItem NPC Deliver Objective
  102.               count: -999
  103.               data:
  104.                 NPC IDs: '0'
  105.                 RemoveItem: 'true'
  106.                 TargetConditions: NONE
  107.                 Lore: NONE
  108.                 HoldItem: 'true'
  109.                 Amount: 1to64
  110.                 Material: ANY
  111.                 NameEnds: NONE
  112.                 TimeLimit: '-1'
  113.                 Conditions: NONE
  114.                 MythicItem: seithoil
  115. # the 4th stage is finished if the player brought the questitem to the quester and rightclicked the quester while holding the questitem.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement