Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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.
- # Start your server. Make sure there is no exception thrown by the quests-plugin or the quests-module while loading.
- # If all is ok, setup this examplequest. (the example is based onto your quest)
- # Step 1: create the questitem and import it into MythicMobs:
- `/give @p dirt 1 0 {"MythicQuestItem":"seithoil"}`
- #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.
- # Now selected that item and import that item into mythicmobs with this command
- `/mm i import seithoil ExampleItems.yml`
- # 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:
- # Step 2: Create the mobs.
- darkogre:
- Mobtype: sheep
- Display: 'a darkogre mob'
- Health: 2
- cursedarcher:
- Mobtype: pig
- Display: 'a cursedarcher mob'
- Health: 3
- dwellerspider:
- Mobtype: cow
- Display: 'a dwellerspider mob'
- Health: 4
- # Step 3: We need a questevent to give the mythicitem to the quester:
- # the questevent goes into the events.yml inside the quests folder.
- events:
- GiveMythicItemCmd:
- message: Bring me the MythicQuestItem
- commands:
- - mm i give -s <player> seithoil
- # Step 4: The quest itself:
- quests:
- custom1:
- name: Something is Wrong
- npc-giver-id: 0
- ask-message: The World Tree is dying... I can feel it in the earth! It was those
- monsters that did this - please get rid of them! Maybe they will have something
- on them that will shed light on this problem. They normally collect around
- gui-display: name-DIAMOND_SWORD:amount-1
- finish-message: I have another favor to ask of you!
- stages:
- ordered:
- '1':
- custom-objectives:
- custom1:
- name: Kill MythicMobs Objective
- count: 3
- data:
- Mob Level: '0'
- TargetConditions: NONE
- Mob Faction: ANY
- Objective Name: Kill Dark Ogre
- Internal Mobnames: darkogre
- Notifier enabled: 'true'
- Conditions: NONE
- Notifier msg: You have killed %c% of %s%!
- '2':
- custom-objectives:
- custom1:
- name: Kill MythicMobs Objective
- count: 3
- data:
- Mob Level: '0'
- TargetConditions: NONE
- Mob Faction: ANY
- Objective Name: Kill Cursed Archer
- Internal Mobnames: cursedarcher
- Notifier enabled: 'true'
- Conditions: NONE
- Notifier msg: You have killed %c% of %s%!
- '3':
- custom-objectives:
- custom1:
- name: Kill MythicMobs Objective
- count: 3
- data:
- Mob Level: '0'
- TargetConditions: NONE
- Mob Faction: ANY
- Objective Name: Kill Dweller Spider
- Internal Mobnames: dwellerspider
- Notifier enabled: 'true'
- Conditions: NONE
- Notifier msg: You have killed %c% of %s%!
- finish-event: GiveMythicItemCmd
- # here we use the event to give the mythicitem to the player so that the player can continue with the last stage.
- '4':
- custom-objectives:
- custom1:
- name: MythicItem NPC Deliver Objective
- count: -999
- data:
- NPC IDs: '0'
- RemoveItem: 'true'
- TargetConditions: NONE
- Lore: NONE
- HoldItem: 'true'
- Amount: 1to64
- Material: ANY
- NameEnds: NONE
- TimeLimit: '-1'
- Conditions: NONE
- MythicItem: seithoil
- # 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