Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.32 KB | None | 0 0
  1. name: 'Testowe zadanie Cezru'
  2. description:
  3. - '&7Testowe zadanie'
  4. max_concurrent_instances: -1
  5. max_concurrent_instances_queue: false
  6. min_players: 1
  7. max_players: 1
  8. max_completions: -1
  9. allow_stop: true
  10. time_limit: 0
  11. cooldown: DISABLED
  12. cooldown_for_leader_only: false
  13. actionbar: '&a{quest} &7- Postęp: &a{detailed_progression}'
  14. send_status_message: true
  15. send_objective_update_message: true
  16. permission: ''
  17. complete_for_leader_only: false
  18. saving: SERVER_EPHEMERIAL
  19. world_whitelist: []
  20. world_blacklist: []
  21. gps_enable: true
  22. dynmap_marker_location: null
  23. gui:
  24. item_available:
  25. type: DIAMOND_SWORD
  26. name: '&a{name} &a- DOSTĘPNY'
  27. lore:
  28. - '&7{description}'
  29. item_progress:
  30. type: DIAMOND_SWORD
  31. name: '&6{name} &6- AKTUALNIE WYKONYWANY'
  32. lore:
  33. - '&7{description}'
  34. - '{detailed_progression}'
  35. item_cooldown:
  36. type: DIAMOND_SWORD
  37. name: '&8{name}'
  38. lore:
  39. - '&7{description}'
  40. item_completed:
  41. type: DIAMOND_SWORD
  42. name: '&8{name} &8- UKOŃCZONY'
  43. lore:
  44. - '&7{description}'
  45. item_unavailable:
  46. type: DIAMOND_SWORD
  47. name: '&8{name} &8- NIEDOSTĘPNY'
  48. lore:
  49. - '&7{description}'
  50. start_conditions:
  51. conditions:
  52. 1:
  53. type: MONEY
  54. amount: '{gvariable:quest_example_moneyneeded}'
  55. take_after_completion: true
  56. for_leader_only: false
  57. error_message: '&2[ExampleQuest] &aUh, I''m sorry, but you don''t have enough money to start the example quest. You need {gvariable:quest_example_moneyneeded}$ !'
  58. required_valid: 1
  59. required_not_valid: 0
  60. branches:
  61. 1_start:
  62. name: 'Początek'
  63. starts_directly: true
  64. starts_at: 1_START
  65. objects:
  66. 1_START:
  67. # settings
  68. type: SERVER_ACTION_LIST
  69. actions:
  70. - 'SOUND VILLAGER_IDLE'
  71. - 'MESSAGE &2[Zadanie] &7Cześć &a{player}&7, to jest testowe zadanie!'
  72. - 'WAIT 2'
  73. - 'SOUND VILLAGER_IDLE'
  74. - 'MESSAGE &2[Zadanie] &7Przedstaw się!'
  75. goto: OBJECT 2_NICKNAME
  76.  
  77. 2_NICKNAME:
  78. # start
  79. wait: 3
  80. sound:
  81. type: VILLAGER_IDLE
  82. message: '&2[Zadanie] &7Napisz na czacie, jak mam się do Ciebie zwracać:'
  83. # name
  84. name: 'Przedstaw się'
  85. progress_name: 'Napisz swój nick'
  86. # settings
  87. type: PLAYER_CHAT_VARIABLE
  88. variable: nick
  89. min_length: 5
  90. max_length: 25
  91. disallowed_words:
  92. - 'umbrella'
  93. - 'wesh'
  94. cancel_event: true
  95. # end
  96. goto: OBJECT 3_SAVELOCATION
  97.  
  98. # '3_SAVELOCATION' : save the player's current location in a variable
  99. 3_SAVELOCATION:
  100. # settings
  101. type: SERVER_VARIABLE_CHANGE
  102. variable: example_player_location
  103. operation: SET
  104. value: '{questcreator_player_location}' # this is a QuestCreator placeholder, it saves the location in the followed format : 'world,x,y,z,yaw,pitch'
  105. # end
  106. goto: OBJECT 4_COBBLESTONE
  107.  
  108. # '4_COBBLESTONE' : place 10 cobblestones in a specific area
  109. 4_COBBLESTONE:
  110. # start
  111. sound:
  112. type:VILLAGER_IDLE
  113. message: '&2[Zadanie] &7Ok &a{variable:nick}&7, zapamiętaj gdzie się znajdujesz oraz postaw 10 bloków cobble''a.'
  114. # name
  115. name: 'Zbuduj coś'
  116. progress_name: 'Postaw bruk'
  117. # settings
  118. type: PLAYER_BLOCK_PLACE
  119. block_type: COBBLESTONE
  120. amount: 10
  121. # end
  122. post_message: '&2[Zadanie] &7Gratulacje &a{variable:nick} &7!'
  123. post_sound:
  124. type: VILLAGER_IDLE
  125. goto: OBJECT 5_CHOICE
  126.  
  127. # '5_CHOICE' : give a choice to the player
  128. 5_CHOICE:
  129. # pre (wait 3 seconds)
  130. wait: 3
  131. message: '&2[Zadanie] &7Wybierz, co chcesz robić.'
  132. sound:
  133. type: VILLAGER_IDLE
  134. # name
  135. name: 'Wybierz opcję'
  136. progress_name: 'wybierz opcję'
  137. # settings
  138. type: DIVERGE
  139. repeat_delay: 30
  140. choices:
  141. 1:
  142. text: '&7Strażak.'
  143. goto: BRANCH 2_1_fire
  144. 2:
  145. text: '&7Budowniczy'
  146. goto: BRANCH 2_2_build
  147. 3:
  148. text: '&7Wygrana'
  149. goto: QUEST_SUCCESS
  150. 4:
  151. text: '&7Porażka'
  152. goto: QUEST_FAIL
  153.  
  154. 2_1_fire:
  155. # Settings
  156. name: 'Destruction'
  157. starts_directly: false
  158. starts_at: 1_GIVE
  159. # Objects
  160. objects:
  161.  
  162. # '1_GIVE' : give the player a flint and steel
  163. 1_GIVE:
  164. # settings
  165. type: SERVER_ITEMS_GIVE
  166. items:
  167. 1:
  168. type: FLINT_AND_STEEL
  169. enchants:
  170. - DURABILITY,5
  171. # end
  172. goto: OBJECT 2_FIRE
  173.  
  174. # '2_FIRE' : put the cobblestones in fire
  175. 2_FIRE:
  176. # pre
  177. message: '&2[Zadanie] &7Podpal 5 bloków bruku&7.'
  178. sound:
  179. type: VILLAGER_IDLE
  180. # name
  181. name: 'Podpal bruk'
  182. progress_name: 'Podpal bruk'
  183. # settings
  184. type: PLAYER_BLOCK_FIRE
  185. block_type: COBBLESTONE
  186. amount: 5
  187. # end
  188. goto: OBJECT 3_GOBACK
  189.  
  190. # '3_GOBACK' : the player must go back to its original location
  191. 3_GOBACK:
  192. # pre
  193. message: '&2[Zadanie] &7Wróć do lokalizacji, którą miałeś zapamiętać&7.'
  194. sound:
  195. type: VILLAGER_IDLE
  196. # name
  197. name: 'Powrót'
  198. progress_name: 'Wróc do poprzedniej lokalizacji'
  199. # settings
  200. type: PLAYER_WALK
  201. walk_type: WALK_TO
  202. location:
  203. base: '{variable:example_player_location}'
  204. # end
  205. goto: OBJECT 4_DROPMIC
  206.  
  207.  
  208. 4_DROPMIC:
  209. # name
  210. name: 'Wyrzuć zapalniczkę'
  211. progress_name: 'Wyrzuć zapalniczkę'
  212. # settings
  213. type: PLAYER_ITEM_DROP
  214. item:
  215. type: FLINT_AND_STEEL
  216. enchants:
  217. - DURABILITY,5
  218. remove_after_action: true
  219. # end
  220. post_message: '&2[Zadanie] &7Wyrzuć zapalniczkę!'
  221. post_sound:
  222. type: VILLAGER_IDLE
  223. goto: QUEST_SUCCESS
  224.  
  225. # this branch will give tips to the player if needed
  226.  
  227. # --------------------------------------------------
  228. # This branch is where the player builds a house (this one doesn't start automatically)
  229. # --------------------------------------------------
  230. 2_2_build:
  231. # Settings
  232. name: 'Budowa'
  233. starts_directly: false
  234. starts_at: 1_GIVE
  235. # Objects
  236. objects:
  237.  
  238. # '1_GIVE' : give the player the wood he needs (5x 64 logs)
  239. 1_GIVE:
  240. # settings
  241. type: SERVER_ITEMS_GIVE
  242. items:
  243. 1:
  244. type: ACACIA_LOG
  245. amount: 64
  246. amount: 5
  247. # end
  248. goto: OBJECT 2_BUILD_GROUP
  249.  
  250. # '2_BUILD_GROUP' : this is a group that contains all the building objects
  251. 2_BUILD_GROUP:
  252. # pre
  253. message: '&2[Zadanie] &7Zbuduj coś ładnego! Nie zapomnij o płytkach i innych blokach, więcej nie powiem!'
  254. sound:
  255. type: VILLAGER_IDLE
  256. # name
  257. name: 'Zrób coś innego'
  258. # settings
  259. type: GROUP
  260. group_type: ALL_OBJECTS
  261. group_objects:
  262. - '2_1_CRAFT'
  263. - '2_2_BUILD'
  264. - '2_3_BUILD'
  265. objects_required: 3
  266. execution_order: false
  267. # end
  268. goto: OBJECT 3_GOBACK
  269.  
  270. # Those objects are the ones from the group, and they'll need to be all completed for the group to end. Order doesn't matter.
  271. 2_1_CRAFT:
  272. # name
  273. progress_name: 'Stwóz deski'
  274. # settings
  275. type: PLAYER_ITEM_CRAFT
  276. item:
  277. type: ACACIA_PLANKS
  278. amount: 64
  279. 2_2_BUILD:
  280. # name
  281. progress_name: 'Postaw deski'
  282. # settings
  283. type: PLAYER_BLOCK_PLACE
  284. block_type: ACACIA_PLANKS
  285. amount: 32
  286. 2_3_BUILD:
  287. # name
  288. progress_name: 'Postaw płytki'
  289. # settings
  290. type: PLAYER_BLOCK_PLACE
  291. block_type: ACACIA_SLAB
  292. amount: 10
  293.  
  294. # '3_GOBACK' : the player must go back to its original location
  295. 3_GOBACK:
  296. # pre
  297. message: '&2[Zadanie] &7Wróć do lokalizacji, którą miałeś zapamiętać&7.'
  298. sound:
  299. type: VILLAGER_IDLE
  300. # name
  301. name: 'Powrót'
  302. progress_name: 'Wróc do poprzedniej lokalizacji'
  303. # settings
  304. type: PLAYER_WALK
  305. walk_type: WALK_TO
  306. location:
  307. base: '{variable:example_player_location}'
  308. # end
  309. goto: OBJECT 4_REFUND
  310.  
  311. # '4_REFUND' : refund the money needed as a start condition
  312. 4_REFUND:
  313. # pre
  314. message: '&2[Zadanie] &7Skończyłeś zadanie! Zwróćę Ci koszty, które poniosłeś!'
  315. sound:
  316. type: VILLAGER_IDLE
  317. # settings
  318. type: SERVER_MONEY_CHANGE
  319. operation: ADD
  320. amount: '{gvariable:quest_example_moneyneeded}'
  321. # end
  322. goto: QUEST_SUCCESS
  323.  
  324. # --------------------------------------------------
  325. # This is an alternate branch, in the forest
  326. # --------------------------------------------------
  327. 3_secret_forest:
  328. # Settings
  329. name: 'Something hidden in the forest'
  330. starts_directly: true
  331. starts_at: A_1
  332. # Objects
  333. objects:
  334. # 'A_1' : the trigger
  335. A_1:
  336. # pre
  337. wait: 15
  338. message: '&2[Zadanie] &7Możesz także znaleźć coś w lesie akacjowym.'
  339. sound:
  340. type: VILLAGER_IDLE
  341. # name
  342. name: 'Znajdź las akacjowy'
  343. # settings
  344. type: PLAYER_BLOCK_BREAK
  345. block_type: ACACIA_LOG
  346. amount: 1
  347. # goto
  348. goto: OBJECT A_2
  349.  
  350. # 'A_2' : end
  351. A_2:
  352. # pre
  353. message: '&2[Zadanie] &aOdkryłeś co trzeba zrobić, brawo!'
  354. sound:
  355. type: VILLAGER_IDLE
  356. # name
  357. name: 'Stwórz crafting'
  358. progress_name: 'Stwórz crafting'
  359. # settings
  360. type: PLAYER_ITEM_CRAFT
  361. item:
  362. type: WORKBENCH
  363. amount: 1
  364. # post
  365. post_message: '&2[Zadanie] &aBrawo, nie dostajesz za to zupełnie nic!'
  366. post_sound:
  367. type: VILLAGER_IDLE
  368. goto: OBJECT A_3
  369. A_3:
  370. type: SERVER_CAMERA_MODE_TOGGLE
  371. progress_chance: '100'
  372. time_limit: '0'
  373. time_limit_fail_goto: 'VALUE'
  374. toggle: 'false'
  375. progress_conditions:
  376. goto_if_not_valid: 'VALUE'
  377. required_not_valid: '0'
  378. required_valid: '9999'
  379. conditions:
  380.  
  381.  
  382. # --------------------------------------------------
  383. # This is an alternate branch, in caves
  384. # --------------------------------------------------
  385. 3_secret_cave:
  386. # Settings (no name because this branch is a 'secret' one)
  387. starts_directly: true
  388. starts_at: A_1
  389. # Objects
  390. objects:
  391. # 'A_1' : trigger
  392. A_1:
  393. # settings
  394. type: PLAYER_BLOCK_BREAK
  395. block_type: IRON_ORE
  396. amount: 1
  397. # end
  398. goto: OBJECT A_2
  399. A_2:
  400. # settings
  401. type: PLAYER_BLOCK_BREAK
  402. block_type: IRON_ORE
  403. amount: 9
  404. progress_name: 'Wykop żelazo'
  405. # end
  406. goto: OBJECT A_3
  407.  
  408. # 'A_2' : end
  409. A_3:
  410. # pre
  411. message: '&2[Zadanie] &aBrawo!'
  412. sound:
  413. type: ORB_PICKUP
  414. # settings
  415. type: SERVER_MONEY_CHANGE
  416. operation: ADD
  417. amount: 50
  418.  
  419. # --------------------------------------------------
  420. # Success objects
  421. # Will be executed if the player succeeds the quest
  422. # (only SERVER objects will be accepted)
  423. # --------------------------------------------------
  424.  
  425. success_objects:
  426. '1':
  427. type: SERVER_FIREWORK_SPAWN
  428. location:
  429. player_relative_base:
  430. horizontal_angle: 0.0
  431. vertical_offset: 1.0
  432. distance: 2.5
  433. random_player: false
  434.  
  435. # --------------------------------------------------
  436. # Fail objects
  437. # Will be executed if the player fails the quest
  438. # (only SERVER objects will be accepted)
  439. # --------------------------------------------------
  440.  
  441. fail_objects:
  442. '1':
  443. type: SERVER_PLAYER_DAMAGE
  444. amount: 0.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement