package net.knarcraft.dynmapcitizens.settings; import org.bukkit.configuration.file.FileConfiguration; /** * All settings for the minstrel trait */ public class MinstrelSettings extends AbstractTraitSettings { private boolean displayMinstrelSongs; @Override public void load(FileConfiguration configuration) { super.load(configuration); displayMinstrelSongs = configuration.getBoolean(getTraitConfigRoot() + ".displayMinstrelSongs", true); } @Override protected String getTraitConfigRoot() { return "traits.minstrel"; } /** * Gets whether a minstrel's songs should be displayed in their description * * @return

True if minstrel songs should be displayed

*/ public boolean displayMinstrelSongs() { return displayMinstrelSongs; } }