Class AnnoyingData

  • All Implemented Interfaces:
    org.bukkit.configuration.Configuration, org.bukkit.configuration.ConfigurationSection

    public class AnnoyingData
    extends AnnoyingFile<AnnoyingData>
    Represents a file in the plugin's folder (in /data/)
    • Field Summary

      • Fields inherited from class org.bukkit.configuration.file.YamlConfiguration

        BLANK_CONFIG, COMMENT_PREFIX
      • Fields inherited from class org.bukkit.configuration.file.FileConfiguration

        SYSTEM_UTF, UTF_BIG, UTF8_OVERRIDE
      • Fields inherited from class org.bukkit.configuration.MemoryConfiguration

        defaults, options
      • Fields inherited from class org.bukkit.configuration.MemorySection

        map
    • Method Summary

      • Methods inherited from class org.bukkit.configuration.file.YamlConfiguration

        buildHeader, convertMapsToSections, loadConfiguration, loadConfiguration, loadConfiguration, loadFromString, options, parseHeader, saveToString
      • Methods inherited from class org.bukkit.configuration.file.FileConfiguration

        load, load, load, load, save, save
      • Methods inherited from class org.bukkit.configuration.MemoryConfiguration

        addDefault, addDefaults, addDefaults, getDefaults, getParent, setDefaults
      • Methods inherited from class org.bukkit.configuration.MemorySection

        contains, createPath, createPath, createSection, createSection, get, get, getBoolean, getBoolean, getBooleanList, getByteList, getCharacterList, getColor, getColor, getConfigurationSection, getCurrentPath, getDefault, getDefaultSection, getDouble, getDouble, getDoubleList, getFloatList, getInt, getInt, getIntegerList, getKeys, getList, getList, getLong, getLong, getLongList, getMapList, getName, getOfflinePlayer, getOfflinePlayer, getRoot, getShortList, getString, getString, getStringList, getValues, getVector, getVector, isBoolean, isColor, isConfigurationSection, isDouble, isInt, isItemStack, isList, isLong, isOfflinePlayer, isPrimitiveWrapper, isSet, isString, isVector, mapChildrenKeys, mapChildrenValues, set
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.bukkit.configuration.ConfigurationSection

        contains, createSection, createSection, get, get, getBoolean, getBoolean, getBooleanList, getByteList, getCharacterList, getColor, getColor, getConfigurationSection, getCurrentPath, getDefaultSection, getDouble, getDouble, getDoubleList, getFloatList, getInt, getInt, getIntegerList, getKeys, getList, getList, getLong, getLong, getLongList, getMapList, getName, getOfflinePlayer, getOfflinePlayer, getRoot, getShortList, getString, getString, getStringList, getValues, getVector, getVector, isBoolean, isColor, isConfigurationSection, isDouble, isInt, isItemStack, isList, isLong, isOfflinePlayer, isSet, isString, isVector, set
    • Constructor Detail

      • AnnoyingData

        public AnnoyingData​(@NotNull
                            @NotNull AnnoyingPlugin plugin,
                            @NotNull
                            @NotNull java.lang.String path)
        Constructs and loads a new AnnoyingData from the path with canBeEmpty set to true
        Parameters:
        plugin - AnnoyingFile.plugin
        path - the path to the file (relative to data folder in the plugin's folder)