Setup Challenge
It is very important that the challenge is configured correctly, otherwise it can trigger many problems.
The plugin has by default 1 challenge, you can download the Hypixel default quests and challenges from my Discord server

Creating a new file

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

Challenge ID

The challenge 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: support_two.yml

Settings

This part is essential for the challenge to be fired.
If the type is not recognized, the challenge will be skipped.
If the condition is 0 or less, the challenge will be skipped.
1
challenge:
2
#Settings for the challenge.
3
settings:
4
#Type of challenge. This is called when the player triggers the event.
5
#Available types: COLLECT, ATTACK, DEFEND
6
type: ATTACK
7
#The condition for complete this challenge.
8
#In this case, player need break 2 beds in-game.
9
condition: 1
Copied!

Placeholders

You can configure aesthetic options of the challenge.
These will be used when you complete a challenge, 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 challenge.
5
display-name: '&aOffensive'
6
#The message sent when challenge is completed (in-game)
7
completed:
8
- ''
9
- '&a{CHALLENGE_NAME} Completed!'
10
- ' &8+&33,360 Hypixel Experience'
11
- ''
12
- '&7You can complete &e{REMAINING} &7more challenges today.'
13
- ''
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 challenge in the menu.
2
menu:
3
#The material showed in the menu.
4
material: EMPTY_MAP
5
#If material above is PLAYER_HEAD you can
6
#set custom texture here.
7
value: ''
8
#The amount the item showed in the menu.
9
amount: 1
10
#The position to set the item. (0 - 44)
11
slot: 41
12
#The name displayed in the menu.
13
display-name: '&aOffensive'
14
#The description displayed in the menu.
15
#Placeholders: {REMAINING}
16
lore:
17
- '&7Destroy 2 beds in a single game.'
18
- ''
19
- '&7Reward: &8+&33,360 &7Hypixel Experience'
20
- ''
21
- '&8You can complete the same challenge'
22
- '&8multiple times per day, but only'
23
- '&8once per game.'
24
- ''
25
- '&7Challenges remaining today: &e{REMAINING}'
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
rewards:
5
#You should add the following rewards type here:
6
#BEDWARS_EXP
7
#BEDWARS_COINS
8
#Format: [TYPE];[AMOUNT]
9
#- BEDWARS_EXP;250
10
#- BEDWARS_COINS;100
Copied!

Commands

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

Challenge setup finished

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

Challenge Example

offensive.yml
1
challenge:
2
#Settings for the challenge.
3
settings:
4
#Type of challenge. This is called when the player triggers the event.
5
#Available types: COLLECT, ATTACK, DEFEND
6
type: ATTACK
7
#The condition for complete this challenge.
8
#In this case, player need break 2 beds in-game.
9
condition: 1
10
11
#Placeholders for messages in-game
12
placeholders:
13
#Displayed when a player starts, attempts to start
14
#and completes these challenge.
15
display-name: '&aOffensive'
16
#The message sent when challenge is completed (in-game)
17
completed:
18
- ''
19
- '&a{CHALLENGE_NAME} Completed!'
20
- ' &8+&33,360 Hypixel Experience'
21
- ''
22
- '&7You can complete &e{REMAINING} &7more challenges today.'
23
- ''
24
25
#Settings for this challenge in the menu.
26
menu:
27
#The material showed in the menu.
28
material: EMPTY_MAP
29
#If any material above is PLAYER_HEAD you can
30
#set custom texture here.
31
value: ''
32
#The amount the item showed in the menu.
33
amount: 1
34
#The position to set the item. (0 - 44)
35
slot: 41
36
#The name displayed in the menu.
37
display-name: '&aOffensive'
38
#The description displayed in the menu.
39
#Placeholders: {REMAINING}
40
lore:
41
- '&7Destroy 2 beds in a single game.'
42
- ''
43
- '&7Reward: &8+&33,360 &7Hypixel Experience'
44
- ''
45
- '&8You can complete the same challenge'
46
- '&8multiple times per day, but only'
47
- '&8once per game.'
48
- ''
49
- '&7Challenges remaining today: &a{REMAINING}'
50
51
#Rewards build-in BedWars1058-Quests
52
#If you do not want to put prizes just put "[]".
53
#rewards: [] or commands: []
54
rewards:
55
#You should add the following rewards type here:
56
#BEDWARS_EXP
57
#BEDWARS_COINS
58
#Format: [TYPE];[AMOUNT]
59
#- BEDWARS_EXP;250
60
#- BEDWARS_COINS;100
61
#Commands executed on challenge completed.
62
#Placeholders:
63
# {PLAYER} return player name.
64
# {PLAYER_UUID} return player UUID.
65
commands:
66
- levels addexp {PLAYER} 3360
67
# - /bw level giveXp {PLAYER}
68
Copied!
Last modified 5mo ago