org.monstercraft.irc.util
Class Settings

java.lang.Object
  extended by org.bukkit.plugin.java.JavaPlugin
      extended by org.monstercraft.irc.IRC
          extended by org.monstercraft.irc.util.Settings
All Implemented Interfaces:
org.bukkit.command.CommandExecutor, org.bukkit.plugin.Plugin

public class Settings
extends IRC

This class contains all of the plugins settings.

Author:
fletch_to_99

Constructor Summary
Settings(IRC plugin)
          Creates an instance of the Settings class.
 
Method Summary
 void loadConfigs()
          This method loads the plugins configuration file.
 void loadMuteConfig()
          This method loads the muted users text file.
 void saveConfig()
          This method saves the plugins configuration file.
 void saveMuteConfig()
          This method saves the muted users text file.
 
Methods inherited from class org.monstercraft.irc.IRC
getCommandManager, getHandleManager, getHookManager, getSettings, onCommand, onDisable, onEnable
 
Methods inherited from class org.bukkit.plugin.java.JavaPlugin
getCommand, getConfig, getConfiguration, getDatabase, getDatabaseClasses, getDataFolder, getDefaultWorldGenerator, getDescription, getPluginLoader, getResource, getServer, isEnabled, isInitialized, isNaggable, onLoad, reloadConfig, setNaggable, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Settings

public Settings(IRC plugin)
Creates an instance of the Settings class.

Parameters:
plugin - The parent plugin.
Method Detail

saveConfig

public void saveConfig()
This method saves the plugins configuration file.

Specified by:
saveConfig in interface org.bukkit.plugin.Plugin
Overrides:
saveConfig in class org.bukkit.plugin.java.JavaPlugin

loadConfigs

public void loadConfigs()
This method loads the plugins configuration file.


loadMuteConfig

public void loadMuteConfig()
This method loads the muted users text file.


saveMuteConfig

public void saveMuteConfig()
This method saves the muted users text file.