Tasks
Provides guild tasks, guild tasks are completed by all guild members together Tasks are settled every Sunday at 23:00, reset every Monday at 01:00 Old guilds with existing tasks will not refresh even if the configuration below is modified Old guilds without existing tasks can use /plg refresh to generate tasks
yaml
# Guild tasks require prerequisite plugin PlayerTask
title: '&0Guild Tasks'
size: 54
# Whether to enable true to enable, false to disable
enable: true
# Whether to refresh In cluster server mysql mode, please set to true only on one main server to avoid duplicate refresh
refresh: true
# Whether to auto reward, true to enable, false to disable
# When enabled, rewards are settled immediately once a guild task is completed
autoReward: false
# GUI positions
index: 20,21,22,23,24,29,30,31,32,33
# plk task ids, these tasks will be added to guild weekly collective tasks
# Initialize 0 as not using, modify yourself if you want to use
# Only uses plk task objectives and progress system, reward system is handled by guild plugin itself
# Create tasks first, then create the guild. If the order is reversed, use /plg refresh. Guilds that already had tasks will not be refreshed
taskId:
- 0
- 0
- 0
- 0
- 0
# Each task's information displayed separately, taskId should correspond to above
guildTask:
# taskId
1:
# Material
material: PAPER
# Guild task name
name: '&aGuild Task * ${taskName}'
# Custom model data effective in 1.14+, 0 means not effective
custom-model-data: 0
# Guild task lore ${taskSchedule} is task progress
lore:
- ''
- '&f[ &cTask Objective &f]'
- ''
- '&c>> &a${taskSchedule}'
- ''
- '&f[ &cTask Rewards &f]'
- ''
- '&c>> &aGuild Funds -> 1000'
- '&c>> &aGuild Activity -> 1000'
- '&c>> &aGuild Ore -> 1000'
- ''
- '${status}'
reward:
# Guild funds
guildMoney: 1000
# Guild activity
guildProsperityDegree: 1000
# Guild ore
guildOre: 1000
2:
material: PAPER
name: '&aGuild Task * ${taskName}'
custom-model-data: 0
lore:
- ''
- '&f[ &cTask Objective &f]'
- ''
- '&c>> &a${taskSchedule}'
- ''
- '&f[ &cTask Rewards &f]'
- ''
- '&c>> &aGuild Funds -> 1000'
- '&c>> &aGuild Activity -> 1000'
- '&c>> &aGuild Ore -> 1000'
- ''
- '${status}'
reward:
guildMoney: 1000
guildProsperityDegree: 1000
guildOre: 1000
3:
material: PAPER
name: '&aGuild Task * ${taskName}'
custom-model-data: 0
lore:
- ''
- '&f[ &cTask Objective &f]'
- ''
- '&c>> &a${taskSchedule}'
- ''
- '&f[ &cTask Rewards &f]'
- ''
- '&c>> &aGuild Funds -> 1000'
- '&c>> &aGuild Activity -> 1000'
- '&c>> &aGuild Ore -> 1000'
- ''
- '${status}'
reward:
guildMoney: 1000
guildProsperityDegree: 1000
guildOre: 1000
4:
material: PAPER
name: '&aGuild Task * ${taskName}'
custom-model-data: 0
lore:
- ''
- '&f[ &cTask Objective &f]'
- ''
- '&c>> &a${taskSchedule}'
- ''
- '&f[ &cTask Rewards &f]'
- ''
- '&c>> &aGuild Funds -> 1000'
- '&c>> &aGuild Activity -> 1000'
- '&c>> &aGuild Ore -> 1000'
- ''
- '${status}'
reward:
guildMoney: 1000
guildProsperityDegree: 1000
guildOre: 1000
5:
material: PAPER
name: '&aGuild Task * ${taskName}'
custom-model-data: 0
lore:
- ''
- '&f[ &cTask Objective &f]'
- ''
- '&c>> &a${taskSchedule}'
- ''
- '&f[ &cTask Rewards &f]'
- ''
- '&c>> &aGuild Funds -> 1000'
- '&c>> &aGuild Activity -> 1000'
- '&c>> &aGuild Ore -> 1000'
- ''
- '${status}'
reward:
guildMoney: 1000
guildProsperityDegree: 1000
guildOre: 1000
# Reward distribution every Sunday at 23:00
rewardMsg: '&8[&a✔&8] &7Guild task ${taskName} settled, reward guild funds:&a${guildMoney}&7, guild activity:&a${guildProsperityDegree}&7, guild ore:&a${guildOre}'
# Task refresh every Monday at 01:00
refreshMsg: '&8[&a✔&8] &7This week's guild tasks refreshed, work hard for the guild!'
unfinished: '&8[&c✘&8] &7Task not completed'
pendingSettlement: '&8[&a✔&8] &aCompleted, waiting for settlement at ${time} on ${day}'
settled: '&8[&a✔&8] &aReward has been issued'
# Not recommended to change this value, only for testing rewards
# Guild task settlement day, 1-7
startDate: 7
# Guild task settlement time, 24-hour format
startTime: '23:00'
# Info button
info:
# Whether to enable display
enable: true
# Position
index: 4
# Display content
name: ' &8[&eTask Info&8]'
# Display item material
material: PAINTING
# Whether to have enchant effect
isEnchant: false
# Custom model data effective in 1.14+, 0 means not effective
custom-model-data: 0
# Display item lore
lore:
- '&8▪ &7Tasks settled every Sunday at &a23:00&7'
- '&8▪ &7Tasks refreshed next day at &a1:00&7'
- '&8▪ &7Tasks completed together by all guild members'
# Back button
back:
enable: true
index: 49
material: PLAYER_HEAD
headBase: 'eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjllYTFkODYyNDdmNGFmMzUxZWQxODY2YmNhNmEzMDQwYTA2YzY4MTc3Yzc4ZTQyMzE2YTEwOThlNjBmYjdkMyJ9fX0='
name: ' &8[&aBack&8]'
lore:
- '&f- &7Click to go back'
custom-model-data: 0
# Previous page
previousPage:
enable: true
index: 47
name: ' &8[&aPrevious Page&8]'
lore:
- '&8▪ &7Click to open previous page'
- '&8▪ &7Current page &a${pageNum}'
- '&8▪ &7Total pages &a${count}'
# Material
material: PAPER
custom-model-data: 0
# Next page
nextPage:
enable: true
index: 51
name: ' &8[&aNext Page&8]'
lore:
- '&8▪ &7Click to open next page'
- '&8▪ &7Current page &a${pageNum}'
- '&8▪ &7Total pages &a${count}'
# Material
material: PAPER
# Custom model data effective in 1.14+, 0 means not effective
custom-model-data: 0
# Separator panel
pane:
enable: true
index: 0,1,2,3,5,6,7,8,9,18,27,36,45,17,26,35,44,46,48,50,52,53
material: BLACK_STAINED_GLASS_PANE
name: ' &8[&7Separator Panel&8]'
lore:
- '&7Oh, don't poke me casually'
custom-model-data: 0