Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- name: 'Testowe zadanie Cezru'
- description:
- - '&7Testowe zadanie'
- max_concurrent_instances: -1
- max_concurrent_instances_queue: false
- min_players: 1
- max_players: 1
- max_completions: -1
- allow_stop: true
- time_limit: 0
- cooldown: DISABLED
- cooldown_for_leader_only: false
- actionbar: '&a{quest} &7- Postęp: &a{detailed_progression}'
- send_status_message: true
- send_objective_update_message: true
- permission: ''
- complete_for_leader_only: false
- saving: SERVER_EPHEMERIAL
- world_whitelist: []
- world_blacklist: []
- gps_enable: true
- dynmap_marker_location: null
- gui:
- item_available:
- type: DIAMOND_SWORD
- name: '&a{name} &a- DOSTĘPNY'
- lore:
- - '&7{description}'
- item_progress:
- type: DIAMOND_SWORD
- name: '&6{name} &6- AKTUALNIE WYKONYWANY'
- lore:
- - '&7{description}'
- - '{detailed_progression}'
- item_cooldown:
- type: DIAMOND_SWORD
- name: '&8{name}'
- lore:
- - '&7{description}'
- item_completed:
- type: DIAMOND_SWORD
- name: '&8{name} &8- UKOŃCZONY'
- lore:
- - '&7{description}'
- item_unavailable:
- type: DIAMOND_SWORD
- name: '&8{name} &8- NIEDOSTĘPNY'
- lore:
- - '&7{description}'
- start_conditions:
- conditions:
- 1:
- type: MONEY
- amount: '{gvariable:quest_example_moneyneeded}'
- take_after_completion: true
- for_leader_only: false
- 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}$ !'
- required_valid: 1
- required_not_valid: 0
- branches:
- 1_start:
- name: 'Początek'
- starts_directly: true
- starts_at: 1_START
- objects:
- 1_START:
- # settings
- type: SERVER_ACTION_LIST
- actions:
- - 'SOUND VILLAGER_IDLE'
- - 'MESSAGE &2[Zadanie] &7Cześć &a{player}&7, to jest testowe zadanie!'
- - 'WAIT 2'
- - 'SOUND VILLAGER_IDLE'
- - 'MESSAGE &2[Zadanie] &7Przedstaw się!'
- goto: OBJECT 2_NICKNAME
- 2_NICKNAME:
- # start
- wait: 3
- sound:
- type: VILLAGER_IDLE
- message: '&2[Zadanie] &7Napisz na czacie, jak mam się do Ciebie zwracać:'
- # name
- name: 'Przedstaw się'
- progress_name: 'Napisz swój nick'
- # settings
- type: PLAYER_CHAT_VARIABLE
- variable: nick
- min_length: 5
- max_length: 25
- disallowed_words:
- - 'umbrella'
- - 'wesh'
- cancel_event: true
- # end
- goto: OBJECT 3_SAVELOCATION
- # '3_SAVELOCATION' : save the player's current location in a variable
- 3_SAVELOCATION:
- # settings
- type: SERVER_VARIABLE_CHANGE
- variable: example_player_location
- operation: SET
- value: '{questcreator_player_location}' # this is a QuestCreator placeholder, it saves the location in the followed format : 'world,x,y,z,yaw,pitch'
- # end
- goto: OBJECT 4_COBBLESTONE
- # '4_COBBLESTONE' : place 10 cobblestones in a specific area
- 4_COBBLESTONE:
- # start
- sound:
- type:VILLAGER_IDLE
- message: '&2[Zadanie] &7Ok &a{variable:nick}&7, zapamiętaj gdzie się znajdujesz oraz postaw 10 bloków cobble''a.'
- # name
- name: 'Zbuduj coś'
- progress_name: 'Postaw bruk'
- # settings
- type: PLAYER_BLOCK_PLACE
- block_type: COBBLESTONE
- amount: 10
- # end
- post_message: '&2[Zadanie] &7Gratulacje &a{variable:nick} &7!'
- post_sound:
- type: VILLAGER_IDLE
- goto: OBJECT 5_CHOICE
- # '5_CHOICE' : give a choice to the player
- 5_CHOICE:
- # pre (wait 3 seconds)
- wait: 3
- message: '&2[Zadanie] &7Wybierz, co chcesz robić.'
- sound:
- type: VILLAGER_IDLE
- # name
- name: 'Wybierz opcję'
- progress_name: 'wybierz opcję'
- # settings
- type: DIVERGE
- repeat_delay: 30
- choices:
- 1:
- text: '&7Strażak.'
- goto: BRANCH 2_1_fire
- 2:
- text: '&7Budowniczy'
- goto: BRANCH 2_2_build
- 3:
- text: '&7Wygrana'
- goto: QUEST_SUCCESS
- 4:
- text: '&7Porażka'
- goto: QUEST_FAIL
- 2_1_fire:
- # Settings
- name: 'Destruction'
- starts_directly: false
- starts_at: 1_GIVE
- # Objects
- objects:
- # '1_GIVE' : give the player a flint and steel
- 1_GIVE:
- # settings
- type: SERVER_ITEMS_GIVE
- items:
- 1:
- type: FLINT_AND_STEEL
- enchants:
- - DURABILITY,5
- # end
- goto: OBJECT 2_FIRE
- # '2_FIRE' : put the cobblestones in fire
- 2_FIRE:
- # pre
- message: '&2[Zadanie] &7Podpal 5 bloków bruku&7.'
- sound:
- type: VILLAGER_IDLE
- # name
- name: 'Podpal bruk'
- progress_name: 'Podpal bruk'
- # settings
- type: PLAYER_BLOCK_FIRE
- block_type: COBBLESTONE
- amount: 5
- # end
- goto: OBJECT 3_GOBACK
- # '3_GOBACK' : the player must go back to its original location
- 3_GOBACK:
- # pre
- message: '&2[Zadanie] &7Wróć do lokalizacji, którą miałeś zapamiętać&7.'
- sound:
- type: VILLAGER_IDLE
- # name
- name: 'Powrót'
- progress_name: 'Wróc do poprzedniej lokalizacji'
- # settings
- type: PLAYER_WALK
- walk_type: WALK_TO
- location:
- base: '{variable:example_player_location}'
- # end
- goto: OBJECT 4_DROPMIC
- 4_DROPMIC:
- # name
- name: 'Wyrzuć zapalniczkę'
- progress_name: 'Wyrzuć zapalniczkę'
- # settings
- type: PLAYER_ITEM_DROP
- item:
- type: FLINT_AND_STEEL
- enchants:
- - DURABILITY,5
- remove_after_action: true
- # end
- post_message: '&2[Zadanie] &7Wyrzuć zapalniczkę!'
- post_sound:
- type: VILLAGER_IDLE
- goto: QUEST_SUCCESS
- # this branch will give tips to the player if needed
- # --------------------------------------------------
- # This branch is where the player builds a house (this one doesn't start automatically)
- # --------------------------------------------------
- 2_2_build:
- # Settings
- name: 'Budowa'
- starts_directly: false
- starts_at: 1_GIVE
- # Objects
- objects:
- # '1_GIVE' : give the player the wood he needs (5x 64 logs)
- 1_GIVE:
- # settings
- type: SERVER_ITEMS_GIVE
- items:
- 1:
- type: ACACIA_LOG
- amount: 64
- amount: 5
- # end
- goto: OBJECT 2_BUILD_GROUP
- # '2_BUILD_GROUP' : this is a group that contains all the building objects
- 2_BUILD_GROUP:
- # pre
- message: '&2[Zadanie] &7Zbuduj coś ładnego! Nie zapomnij o płytkach i innych blokach, więcej nie powiem!'
- sound:
- type: VILLAGER_IDLE
- # name
- name: 'Zrób coś innego'
- # settings
- type: GROUP
- group_type: ALL_OBJECTS
- group_objects:
- - '2_1_CRAFT'
- - '2_2_BUILD'
- - '2_3_BUILD'
- objects_required: 3
- execution_order: false
- # end
- goto: OBJECT 3_GOBACK
- # 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.
- 2_1_CRAFT:
- # name
- progress_name: 'Stwóz deski'
- # settings
- type: PLAYER_ITEM_CRAFT
- item:
- type: ACACIA_PLANKS
- amount: 64
- 2_2_BUILD:
- # name
- progress_name: 'Postaw deski'
- # settings
- type: PLAYER_BLOCK_PLACE
- block_type: ACACIA_PLANKS
- amount: 32
- 2_3_BUILD:
- # name
- progress_name: 'Postaw płytki'
- # settings
- type: PLAYER_BLOCK_PLACE
- block_type: ACACIA_SLAB
- amount: 10
- # '3_GOBACK' : the player must go back to its original location
- 3_GOBACK:
- # pre
- message: '&2[Zadanie] &7Wróć do lokalizacji, którą miałeś zapamiętać&7.'
- sound:
- type: VILLAGER_IDLE
- # name
- name: 'Powrót'
- progress_name: 'Wróc do poprzedniej lokalizacji'
- # settings
- type: PLAYER_WALK
- walk_type: WALK_TO
- location:
- base: '{variable:example_player_location}'
- # end
- goto: OBJECT 4_REFUND
- # '4_REFUND' : refund the money needed as a start condition
- 4_REFUND:
- # pre
- message: '&2[Zadanie] &7Skończyłeś zadanie! Zwróćę Ci koszty, które poniosłeś!'
- sound:
- type: VILLAGER_IDLE
- # settings
- type: SERVER_MONEY_CHANGE
- operation: ADD
- amount: '{gvariable:quest_example_moneyneeded}'
- # end
- goto: QUEST_SUCCESS
- # --------------------------------------------------
- # This is an alternate branch, in the forest
- # --------------------------------------------------
- 3_secret_forest:
- # Settings
- name: 'Something hidden in the forest'
- starts_directly: true
- starts_at: A_1
- # Objects
- objects:
- # 'A_1' : the trigger
- A_1:
- # pre
- wait: 15
- message: '&2[Zadanie] &7Możesz także znaleźć coś w lesie akacjowym.'
- sound:
- type: VILLAGER_IDLE
- # name
- name: 'Znajdź las akacjowy'
- # settings
- type: PLAYER_BLOCK_BREAK
- block_type: ACACIA_LOG
- amount: 1
- # goto
- goto: OBJECT A_2
- # 'A_2' : end
- A_2:
- # pre
- message: '&2[Zadanie] &aOdkryłeś co trzeba zrobić, brawo!'
- sound:
- type: VILLAGER_IDLE
- # name
- name: 'Stwórz crafting'
- progress_name: 'Stwórz crafting'
- # settings
- type: PLAYER_ITEM_CRAFT
- item:
- type: WORKBENCH
- amount: 1
- # post
- post_message: '&2[Zadanie] &aBrawo, nie dostajesz za to zupełnie nic!'
- post_sound:
- type: VILLAGER_IDLE
- goto: OBJECT A_3
- A_3:
- type: SERVER_CAMERA_MODE_TOGGLE
- progress_chance: '100'
- time_limit: '0'
- time_limit_fail_goto: 'VALUE'
- toggle: 'false'
- progress_conditions:
- goto_if_not_valid: 'VALUE'
- required_not_valid: '0'
- required_valid: '9999'
- conditions:
- # --------------------------------------------------
- # This is an alternate branch, in caves
- # --------------------------------------------------
- 3_secret_cave:
- # Settings (no name because this branch is a 'secret' one)
- starts_directly: true
- starts_at: A_1
- # Objects
- objects:
- # 'A_1' : trigger
- A_1:
- # settings
- type: PLAYER_BLOCK_BREAK
- block_type: IRON_ORE
- amount: 1
- # end
- goto: OBJECT A_2
- A_2:
- # settings
- type: PLAYER_BLOCK_BREAK
- block_type: IRON_ORE
- amount: 9
- progress_name: 'Wykop żelazo'
- # end
- goto: OBJECT A_3
- # 'A_2' : end
- A_3:
- # pre
- message: '&2[Zadanie] &aBrawo!'
- sound:
- type: ORB_PICKUP
- # settings
- type: SERVER_MONEY_CHANGE
- operation: ADD
- amount: 50
- # --------------------------------------------------
- # Success objects
- # Will be executed if the player succeeds the quest
- # (only SERVER objects will be accepted)
- # --------------------------------------------------
- success_objects:
- '1':
- type: SERVER_FIREWORK_SPAWN
- location:
- player_relative_base:
- horizontal_angle: 0.0
- vertical_offset: 1.0
- distance: 2.5
- random_player: false
- # --------------------------------------------------
- # Fail objects
- # Will be executed if the player fails the quest
- # (only SERVER objects will be accepted)
- # --------------------------------------------------
- fail_objects:
- '1':
- type: SERVER_PLAYER_DAMAGE
- amount: 0.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement