Add config option to use adventure replacer, add bracket {} support

This commit is contained in:
PiggyPiglet
2026-02-02 16:35:13 +08:00
parent 2dc5b93133
commit 1b1d2e61b9
3 changed files with 37 additions and 34 deletions

View File

@@ -54,6 +54,10 @@ public final class PlaceholderAPIConfig {
return plugin.getConfig().getBoolean("debug", false);
}
public boolean useAdventureReplacer() {
return plugin.getConfig().getBoolean("useAdventureProvidedReplacer", false);
}
public Optional<ExpansionSort> getExpansionSort() {
final String option = plugin.getConfig()