mirror of
https://github.com/Auxilor/EcoQuests.git
synced 2026-01-04 15:41:38 +00:00
Improved GUI
This commit is contained in:
@@ -61,7 +61,12 @@ class Quest(
|
||||
startConditions.getNotMetLines(player, EmptyProvidedHolder)
|
||||
)
|
||||
|
||||
setDisplayName(this@Quest.name)
|
||||
setDisplayName(
|
||||
addPlaceholdersInto(
|
||||
listOf(plugin.configYml.getString("quests.icon.name")),
|
||||
player
|
||||
).first()
|
||||
)
|
||||
}
|
||||
}) {
|
||||
|
||||
|
||||
@@ -138,7 +138,8 @@ tasks:
|
||||
|
||||
quests:
|
||||
icon:
|
||||
line-wrap: 32
|
||||
name: "&e%quest%" # The name of the icon
|
||||
line-wrap: 32 # Lore line-wrapping
|
||||
lore:
|
||||
- "%description%"
|
||||
- ""
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: "Resettable Quest"
|
||||
name: "Daily Quest I"
|
||||
|
||||
description: "&fThis quest will reset in &a%time_until_reset%"
|
||||
|
||||
Reference in New Issue
Block a user