public void Initialize(IChatModule module) { //Show gods in chat by adding the godPrefix to their name m_indicategod = module.Config.GetBoolean("indicate_god", true); m_godPrefix = module.Config.GetString("godPrefix", ""); //Send incoming users a message m_useWelcomeMessage = module.Config.GetBoolean("useWelcomeMessage", true); m_welcomeMessage = module.Config.GetString("welcomeMessage", ""); //Tell all users about an incoming or outgoing agent m_announceNewAgents = module.Config.GetBoolean("announceNewAgents", true); m_announceClosedAgents = module.Config.GetBoolean("announceClosingAgents", true); m_useAuth = module.Config.GetBoolean("use_Auth", true); chatModule = module; module.RegisterChatPlugin("Chat", this); module.RegisterChatPlugin("all", this); // load web settings overrides (if any) //IGenericsConnector generics = Framework.Utilities.DataManager.RequestPlugin<IGenericsConnector> (); //if (generics != null) //{ // var settings = generics.GetGeneric<Universe.Modules.Web.GridSettings> (UUID.Zero, "GridSettings", "Settings"); // if (settings != null) // WelcomeMessage = settings.WelcomeMessage; //} }
public void Initialize(IChatModule module) { //Show gods in chat by adding the godPrefix to their name m_indicategod = module.Config.GetBoolean("indicate_god", true); m_godPrefix = module.Config.GetString("godPrefix", ""); //Send incoming users a message m_useWelcomeMessage = module.Config.GetBoolean("useWelcomeMessage", true); m_welcomeMessage = module.Config.GetString("welcomeMessage", ""); //Tell all users about an incoming or outgoing agent m_announceNewAgents = module.Config.GetBoolean("announceNewAgents", true); m_announceClosedAgents = module.Config.GetBoolean("announceClosingAgents", true); m_useAuth = module.Config.GetBoolean("use_Auth", true); chatModule = module; module.RegisterChatPlugin("Chat", this); module.RegisterChatPlugin("all", this); }
public void Initialize(IChatModule module) { module.RegisterChatPlugin("calc", this); }
public void Initialize(IChatModule module) { //We register all so that we can hook up to all chat when they enable us module.RegisterChatPlugin("all", this); }
public void Initialize (IChatModule module) { //Show gods in chat by adding the godPrefix to their name m_indicategod = module.Config.GetBoolean ("indicate_god", true); m_godPrefix = module.Config.GetString ("godPrefix", ""); //Send incoming users a message m_useWelcomeMessage = module.Config.GetBoolean ("useWelcomeMessage", true); m_welcomeMessage = module.Config.GetString ("welcomeMessage", ""); //Tell all users about an incoming or outgoing agent m_announceNewAgents = module.Config.GetBoolean ("announceNewAgents", true); m_announceClosedAgents = module.Config.GetBoolean ("announceClosingAgents", true); m_useAuth = module.Config.GetBoolean ("use_Auth", true); chatModule = module; module.RegisterChatPlugin ("Chat", this); module.RegisterChatPlugin ("all", this); // load web settings overrides (if any) //IGenericsConnector generics = Framework.Utilities.DataManager.RequestPlugin<IGenericsConnector> (); //if (generics != null) //{ // var settings = generics.GetGeneric<Universe.Modules.Web.GridSettings> (UUID.Zero, "GridSettings", "Settings"); // if (settings != null) // WelcomeMessage = settings.WelcomeMessage; //} }
public void Initialize(IChatModule module) { m_indicategod = module.Config.GetBoolean("indicate_god", true); m_godPrefix = module.Config.GetString("godPrefix", ""); m_useWelcomeMessage = module.Config.GetBoolean("useWelcomeMessage", true); m_welcomeMessage = module.Config.GetString("welcomeMessage", ""); m_announceNewAgents = module.Config.GetBoolean("announceNewAgents", true); m_announceClosedAgents = module.Config.GetBoolean("announceClosingAgents", true); m_useAuth = module.Config.GetBoolean("use_Auth", true); chatModule = module; module.RegisterChatPlugin("Chat", this); module.RegisterChatPlugin("all", this); }