Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name: 'Nhiệm vụ 2'
- description:
- - '&7Nhiệm vụ số 2'
- max_concurrent_instances: -1
- max_concurrent_instances_queue: false
- min_players: 1
- max_players: 1
- allow_coop_leave_until_remaining_coop: 1
- max_completions: 1
- allow_stop: false
- time_limit: 0
- cooldown: DISABLED
- cooldown_for_leader_only: false
- actionbar: '&a{detailed_progression}'
- send_status_message: true
- send_objective_update_message: true
- permission: 'nhiemvu.2'
- complete_for_leader_only: false
- saving: SERVER_EPHEMERIAL
- world_whitelist: []
- world_blacklist: []
- gps_enable: true
- dynmap_marker_location: null
- gui:
- # item_available : when the quest is available
- item_available:
- type: DIAMOND_SWORD
- name: '&a{name} &a- AVAILABLE'
- lore:
- - '&7{description}'
- - '&bRight click to follow this quest'
- # item_progress : will be shown when the quest status is 'in progress'
- item_progress:
- type: DIAMOND_SWORD
- name: '&6{name} &6- IN PROGRESS'
- lore:
- - '&7{description}'
- - '{detailed_progression}'
- - '&bRight click to stop this quest'
- # item_cooldown : will be shown when the quest status is 'completed' and the player hasn't reached max_completions and the cooldown is not over
- item_cooldown:
- type: DIAMOND_SWORD
- name: '&8{name} &8- COOLDOWN'
- lore:
- - '&7{description}'
- - '&7You choose to call yourself {variable:example_nickname}. Noice.'
- - '&7&lYou have completed this quest {completions} time{plural}.'
- - '&7&l{cooldown} remaining before you can start this quest again.'
- # item_cooldown_pool : will be shown when the quest status is 'completed' and the player hasn't reached max_completions and the quest pool cooldown is not over
- item_cooldown_pool:
- type: DIAMOND_SWORD
- name: '&8{name} &8- COOLDOWN'
- lore:
- - '&7{description}'
- - '&7You choose to call yourself {variable:example_nickname}. Noice.'
- - '&7&lYou have completed this quest {completions} time{plural}.'
- - '&7&l{cooldown} remaining before you can start this quest again.'
- # item_completed : will be shown when the quest status is 'completed' and the player has reached max_completions
- item_completed:
- type: DIAMOND_SWORD
- name: '&8{name} &8- COMPLETED'
- lore:
- - '&7{description}'
- - '&7You choose to call yourself {variable:example_nickname}. Noice.'
- - '&7&lYou have completed this quest {completions} time{plural}.'
- # item_unavailable : will be shown when all preconditions aren't okay (model validity, follow check, max players, max instances, permissions, world, start conditions, ...)
- item_unavailable:
- type: DIAMOND_SWORD
- name: '&8{name} &8- UNAVAILABLE'
- lore:
- - '&7{description}'
- - '&cThis quest isn''t available for you.'
- - '&c{detailed_errors}'
- branches:
- quest_1:
- name: 'Nhiệm vụ 2'
- starts_directly: true
- starts_at: Quest_2_1
- objects:
- Quest_2_1:
- progress_name: 'Mua &fCuốc sắt&a ở chỗ &eTrương phi &avà giao cho &eCàn long'
- type: PLAYER_MMOITEMS_CITIZENS_NPC_INTERACT
- amount: '1'
- item_amount: '1'
- item_id: 'QUEST_ITEM_1'
- item_type: 'MISCELLANEOUS'
- must_have_in_hand: 'true'
- npc: '98'
- remove_after_action: 'true'
- goto: QUEST_SUCCESS
- success_objects:
- '1':
- type: SERVER_ACTION_LIST
- actions:
- - 'COMMAND AS_SERVER lp user {player} permission set nhiemvu.2 false'
- - 'COMMAND AS_SERVER lp user {player} permission set nhiemvu.3 true'
- # --------------------------------------------------
- # Fail objects
- # Will be executed if the player fails the quest
- # (only SERVER objects will be accepted)
- # --------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement