Class ChatFilterPlugin
- java.lang.Object
-
- net.runelite.client.plugins.Plugin
-
- net.runelite.client.plugins.chatfilter.ChatFilterPlugin
-
- All Implemented Interfaces:
com.google.inject.Module
@PluginDescriptor(name="Chat Filter", description="Censor user configurable words or patterns from chat", enabledByDefault=false) public class ChatFilterPlugin extends Plugin
-
-
Constructor Summary
Constructors Constructor Description ChatFilterPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonChatMessage(ChatMessage chatMessage)voidonConfigChanged(ConfigChanged event)voidonGameStateChanged(GameStateChanged gameStateChanged)voidonOverheadTextChanged(OverheadTextChanged event)voidonScriptCallbackEvent(ScriptCallbackEvent event)protected voidshutDown()protected voidstartUp()-
Methods inherited from class net.runelite.client.plugins.Plugin
configure, equals, getInjector, getName, hashCode, resetConfiguration
-
-
-
-
Method Detail
-
startUp
protected void startUp() throws Exception
-
shutDown
protected void shutDown() throws Exception
-
onGameStateChanged
@Subscribe public void onGameStateChanged(GameStateChanged gameStateChanged)
-
onScriptCallbackEvent
@Subscribe public void onScriptCallbackEvent(ScriptCallbackEvent event)
-
onOverheadTextChanged
@Subscribe public void onOverheadTextChanged(OverheadTextChanged event)
-
onChatMessage
@Subscribe(priority=-2.0f) public void onChatMessage(ChatMessage chatMessage)
-
onConfigChanged
@Subscribe public void onConfigChanged(ConfigChanged event)
-
-