Configuration
Config.yml
You can edit the schedular and messages here.
Schedular
Warning! Schedular is in seconds. 1000 milliseconds = 20 ticks = 1 second
On every schedular period, plugin will try to start a new quest. If theres a already running quest it will wait next period.
schedular: 10
Quests.yml
This section can appy to all quest types.
Type
type: BREAK_BLOCK
Its a String. This presents quest's type. Click here for all of quest types.
Timeout
timeout: 60
Its in seconds. After timeout
seconds quest will end
Rewards
rewards
Its a section. Keys of section is index. Values are commands to execute for indexed player. For given example, SpecialCommandForWinnerOfMilkQuest
will be executed for winner. And, give apple
will be executed for second player.
rewards:
'1':
- "broadcast The first player who completed quest is %player%"
- "broadcast He just milked %value% cow"
- "SpecialCommandForWinnerOfMilkQuest %player%"
'2':
- "broadcast The second player who completed quest is %player%"
- "broadcast He just milked %value% cow"
- "broadcast And his prize is an Apple!!"
- "give %player% apple"
Notifybar
notifybar
Its a section. For minecraft version 1.8 it presents an Actionbar. For newer versions it presents a Bossbar.
An example of Bossbar.
notifybar:
message: "§cIts a bossbar"
color: GREEN #https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarColor.html
style: SEGMENTED_10 #https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarStyle.html
flags: #its optional
- PLAY_BOSS_MUSIC #https://hub.spigotmc.org/javadocs/spigot/org/bukkit/boss/BarFlag.html
An example of Actionbar.
notifybar:
message: "§cIts an actionbar"
Firework
firework
its a section. Its optional. When the quest is completed firework will spawn at first 3 player.
firework:
color: RED #https://hub.spigotmc.org/javadocs/spigot/org/bukkit/ChatColor.html
flicker: true
trail: false
fade: WHITE #https://hub.spigotmc.org/javadocs/spigot/org/bukkit/ChatColor.html
Quests Types
EXPERIENCE
ASKYBLOCK_ISLAND_LEVEL
BENTOBOX_ISLAND_LEVEL
BREAK_BLOCK PLACE_BLOCK
MILK_ENTITY SHEAR_ENTITY
SLAY_ENTITY TAME_ENTITY
INTERACT_ENTITY
FISH
CRAFT_ITEM
CONSUME_ITEM
BREAK_ITEM
REGEX_BREAK_BLOCK
REGEX_PLACE_BLOCK
REGEX_CRAFT_ITEM
REGEX_CHAT
REGEX_SLAY_ENTITY
REGEX_TAME_ENTITY
REGEX_FISH
REGEX_CRAFT_ITEM
REGEX_CONSUME_ITEM
REGEX_BREAK_ITEM
VOTIFIER
GHAST
PINATA_PARTY
Last updated