Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.72 KB | None | 0 0
  1. name: 'Nhiệm vụ 2'
  2. description:
  3. - '&7Nhiệm vụ số 2'
  4. max_concurrent_instances: -1
  5. max_concurrent_instances_queue: false
  6. min_players: 1
  7. max_players: 1
  8. allow_coop_leave_until_remaining_coop: 1
  9. max_completions: 1
  10. allow_stop: false
  11. time_limit: 0
  12. cooldown: DISABLED
  13. cooldown_for_leader_only: false
  14. actionbar: '&a{detailed_progression}'
  15. send_status_message: true
  16. send_objective_update_message: true
  17. permission: 'nhiemvu.2'
  18. complete_for_leader_only: false
  19. saving: SERVER_EPHEMERIAL
  20. world_whitelist: []
  21. world_blacklist: []
  22. gps_enable: true
  23. dynmap_marker_location: null
  24. gui:
  25. # item_available : when the quest is available
  26. item_available:
  27. type: DIAMOND_SWORD
  28. name: '&a{name} &a- AVAILABLE'
  29. lore:
  30. - '&7{description}'
  31. - '&bRight click to follow this quest'
  32. # item_progress : will be shown when the quest status is 'in progress'
  33. item_progress:
  34. type: DIAMOND_SWORD
  35. name: '&6{name} &6- IN PROGRESS'
  36. lore:
  37. - '&7{description}'
  38. - '{detailed_progression}'
  39. - '&bRight click to stop this quest'
  40. # 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
  41. item_cooldown:
  42. type: DIAMOND_SWORD
  43. name: '&8{name} &8- COOLDOWN'
  44. lore:
  45. - '&7{description}'
  46. - '&7You choose to call yourself {variable:example_nickname}. Noice.'
  47. - '&7&lYou have completed this quest {completions} time{plural}.'
  48. - '&7&l{cooldown} remaining before you can start this quest again.'
  49. # 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
  50. item_cooldown_pool:
  51. type: DIAMOND_SWORD
  52. name: '&8{name} &8- COOLDOWN'
  53. lore:
  54. - '&7{description}'
  55. - '&7You choose to call yourself {variable:example_nickname}. Noice.'
  56. - '&7&lYou have completed this quest {completions} time{plural}.'
  57. - '&7&l{cooldown} remaining before you can start this quest again.'
  58. # item_completed : will be shown when the quest status is 'completed' and the player has reached max_completions
  59. item_completed:
  60. type: DIAMOND_SWORD
  61. name: '&8{name} &8- COMPLETED'
  62. lore:
  63. - '&7{description}'
  64. - '&7You choose to call yourself {variable:example_nickname}. Noice.'
  65. - '&7&lYou have completed this quest {completions} time{plural}.'
  66. # item_unavailable : will be shown when all preconditions aren't okay (model validity, follow check, max players, max instances, permissions, world, start conditions, ...)
  67. item_unavailable:
  68. type: DIAMOND_SWORD
  69. name: '&8{name} &8- UNAVAILABLE'
  70. lore:
  71. - '&7{description}'
  72. - '&cThis quest isn''t available for you.'
  73. - '&c{detailed_errors}'
  74.  
  75. branches:
  76. quest_1:
  77. name: 'Nhiệm vụ 2'
  78. starts_directly: true
  79. starts_at: Quest_2_1
  80. objects:
  81. Quest_2_1:
  82. progress_name: 'Mua &fCuốc sắt&a ở chỗ &eTrương phi &avà giao cho &eCàn long'
  83. type: PLAYER_MMOITEMS_CITIZENS_NPC_INTERACT
  84. amount: '1'
  85. item_amount: '1'
  86. item_id: 'QUEST_ITEM_1'
  87. item_type: 'MISCELLANEOUS'
  88. must_have_in_hand: 'true'
  89. npc: '98'
  90. remove_after_action: 'true'
  91. goto: QUEST_SUCCESS
  92. success_objects:
  93. '1':
  94. type: SERVER_ACTION_LIST
  95. actions:
  96. - 'COMMAND AS_SERVER lp user {player} permission set nhiemvu.2 false'
  97. - 'COMMAND AS_SERVER lp user {player} permission set nhiemvu.3 true'
  98. # --------------------------------------------------
  99. # Fail objects
  100. # Will be executed if the player fails the quest
  101. # (only SERVER objects will be accepted)
  102. # --------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement