Setup Quest
It's as easy as winning a Bed Wars game.
It is very important that the quest is configured correctly, otherwise it can trigger many problems.
The plugin has by default 1 quest, you can download the Hypixel default quests and challenges from my Discord server

Creating a new file

The quests are file-based, create a new file in /plugins/BedWars1058/Quests/quests with ".yml" extension and name it whatever you like. Use short and simple names.

Quest ID

The quest will be identified by the name of the file.
You can use any name, but I recommend you to use simple and short names.
Example: second_win.yml

Settings

This part is essential for the quest to be fired.
If the type is not recognized, the quest will be skipped.
If the condition is 0 or less, the quest will be skipped.
1
quest:
2
#Settings for the quest.
3
settings:
4
#Type of quest. This is called when the player triggers the event.
5
#Available types: PLAYER_WIN, PLAYER_BED_BREAK, PLAYER_PLAY_GAME, PLAYER_KILL
6
#PLAYER_FINAL_KILL & PLAYER_BUY_ITEMAL_KILL
7
type: PLAYER_WIN
8
#The condition for complete this quest.
9
#In this case, player need play two games for complete quest.
10
condition: 1
11
#Waiting time to complete this quest again.
12
#Avaible schedules: DAILY & WEEKLY
13
#Daily lasts until start of next day and Weekly 7 days
14
schedule: DAILY
Copied!

Placeholders

You can configure aesthetic options of the quest.
These will be used when you complete a quest, open the menu, and so on...
1
#Placeholders for messages in-game
2
placeholders:
3
#Displayed when a player starts, attempts to start
4
#and completes these quest.
5
display-name: 'Daily Quest: First Win of the Day'
6
#Displayed when a player starts, attempts to start
7
#and completes these quest.
8
short-description: 'Win a game of Bed Wars'
9
#The message sent when quest is completed (in-game)
10
completed:
11
- ''
12
- '&a{QUEST_NAME} Completed!'
13
- ' &8+&33,500 &7Hypixel Experience'
14
- ' &8+&b250 &7Bed Wars Experience'
15
- ''
Copied!
Options related to the item displayed in the menu.
Be careful in this section. In case something is wrong, the menu will not open or the material will be STONE.
1
#Settings for this quest in the menu.
2
menu:
3
#The material showed in the menu.
4
material:
5
#Quest is not started.
6
quest-not-started: PAPER
7
#Quest is started.
8
quest-started: PAPER
9
#Quest is completed.
10
quest-completed: EMPTY_MAP
11
#If any material above is PLAYER_HEAD you can
12
#set custom texture here.
13
value: ''
14
#The amount the item showed in the menu.
15
amount: 1
16
#The position to set the item. (0 - 44)
17
slot: 11
18
#The name displayed in the menu.
19
display-name: '&aDaily Quest: First Win of the Day'
20
#The descriptions displayed in the menu.
21
#Placeholders: {QUEST_PROGRESS}, {QUEST_STATE}
22
lore:
23
#Quest has not been started
24
quest-not-started:
25
- '&7Win a game of Bed Wars'
26
- '&r '
27
- '&7Rewards:'
28
- '&8+&33,500 Hypixel Experience'
29
- '&8+&b250 Bed Wars Experience'
30
- '&r '
31
- '&8&oDaily Quests can be completed'
32
- '&8&oonce every day.'
33
- '&r '
34
- '{QUEST_STATE}'
35
#Quest has been started.
36
quest-started:
37
- '&7Win a game of Bed Wars'
38
- '&b(&6{PROGRESS}&b/&6{MAX_PROGRESS}&b)'
39
- '&r '
40
- '&7Rewards:'
41
- '&8+&33,500 Hypixel Experience'
42
- '&8+&b250 Bed Wars Experience'
43
- '&r '
44
- '&8&oDaily Quests can be completed'
45
- '&8&oonce every day.'
46
- '&r '
47
- '{QUEST_STATE}'
48
#Quest has been completed
49
quest-completed:
50
- '&7Win a game of Bed Wars'
51
- '&r '
52
- '&7Rewards:'
53
- '&8+&33,500 Hypixel Experience'
54
- '&8+&b250 Bed Wars Experience'
55
- '&r '
56
- '&8&oDaily Quests can be completed'
57
- '&8&oonce every day.'
58
- '&r '
59
- '{QUEST_STATE}'
Copied!

Rewards

Options related to Bed Wars rewards.
There are two types of rewards BEDWARS_EXP and BEDWARS_COINS.
The amount of the reward is splitted by ";"
1
#Rewards build-in BedWars1058-Quests
2
#If you do not want to put prizes just put "[]".
3
#rewards: [] or commands: []
4
5
#You should add the following rewards type here:
6
#BEDWARS_EXP
7
#BEDWARS_COINS
8
#Format: [TYPE]:[AMOUNT]
9
rewards:
10
- BEDWARS_EXP;250
Copied!

Commands

Command-related option when a player completes a quest.
Only add which commands you want to be executed when completing the quest.
Don't put "/" at the beginning of the command
1
#Commands executed on quest completed.
2
#Placeholders:
3
# {PLAYER} return player name.
4
# {PLAYER_UUID} return player UUID.
5
commands:
6
- levels addexp {PLAYER} 3500
Copied!

Quest setup finished

If everything is correct in the file then the quest will be registered and will appear in the menu without problems.