9
0
mirror of https://github.com/Auxilor/EcoQuests.git synced 2026-01-04 15:41:38 +00:00

Improved GUI

This commit is contained in:
Auxilor
2023-08-10 17:59:41 +01:00
parent ba3bc524ae
commit eecbe696a6
3 changed files with 9 additions and 3 deletions

View File

@@ -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()
)
}
}) {

View File

@@ -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%"
- ""

View File

@@ -1,4 +1,4 @@
name: "Resettable Quest"
name: "Daily Quest I"
description: "&fThis quest will reset in &a%time_until_reset%"