Allow non-relational show

This commit is contained in:
DroppingAnvil 2020-06-16 11:59:45 -05:00
parent 7f922fef28
commit 11ea9bc1aa
2 changed files with 2 additions and 1 deletions

View File

@ -88,7 +88,7 @@ public class CmdShow extends FCommand {
Faction finalFaction = faction;
instance.getServer().getScheduler().runTaskAsynchronously(instance, () -> {
for (String raw : finalShow) {
String parsed = TagUtil.parsePlain(finalFaction, context.fPlayer, raw); // use relations
String parsed = instance.getConfig().getBoolean("relational-show", true) ? TagUtil.parsePlain(finalFaction, context.fPlayer, raw) : TagUtil.parsePlain(finalFaction, raw); // use relations
if (parsed == null) {
continue; // Due to minimal f show.
}

View File

@ -294,6 +294,7 @@ show:
- '&4* &cBans: &f{faction-bancount}'
- '&8&m----------------------------------------'
# For a /f show that does not display fancy messages that are essentially empty, use minimal-show
relational-show: true
minimal-show: false
# Factions that should be exempt from /f show, case sensitive, useful for a