Class DiscordPlugin
- java.lang.Object
-
- net.runelite.client.plugins.Plugin
-
- net.runelite.client.plugins.discord.DiscordPlugin
-
- All Implemented Interfaces:
com.google.inject.Module
@PluginDescriptor(name="Discord", description="Show your status and activity in the Discord user panel", tags={"action","activity","external","integration","status"}) public class DiscordPlugin extends Plugin
-
-
Constructor Summary
Constructors Constructor Description DiscordPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkForValidStatus()
void
onConfigChanged(ConfigChanged event)
void
onDiscordJoinGame(DiscordJoinGame joinGame)
void
onDiscordJoinRequest(DiscordJoinRequest request)
void
onDiscordReady(DiscordReady event)
void
onDiscordUserInfo(net.runelite.client.plugins.discord.DiscordUserInfo event)
void
onGameStateChanged(net.runelite.api.events.GameStateChanged event)
void
onPartyChanged(PartyChanged event)
void
onStatChanged(net.runelite.api.events.StatChanged statChanged)
void
onUserJoin(net.runelite.http.api.ws.messages.party.UserJoin event)
void
onUserPart(net.runelite.http.api.ws.messages.party.UserPart event)
void
onUserSync(net.runelite.http.api.ws.messages.party.UserSync event)
void
onVarbitChanged(net.runelite.api.events.VarbitChanged event)
protected void
shutDown()
protected void
startUp()
-
Methods inherited from class net.runelite.client.plugins.Plugin
configure, getInjector, getName, resetConfiguration
-
-
-
-
Method Detail
-
startUp
protected void startUp() throws Exception
-
shutDown
protected void shutDown() throws Exception
-
onGameStateChanged
@Subscribe public void onGameStateChanged(net.runelite.api.events.GameStateChanged event)
-
onConfigChanged
@Subscribe public void onConfigChanged(ConfigChanged event)
-
onStatChanged
@Subscribe public void onStatChanged(net.runelite.api.events.StatChanged statChanged)
-
onVarbitChanged
@Subscribe public void onVarbitChanged(net.runelite.api.events.VarbitChanged event)
-
onDiscordReady
@Subscribe public void onDiscordReady(DiscordReady event)
-
onDiscordJoinRequest
@Subscribe public void onDiscordJoinRequest(DiscordJoinRequest request)
-
onDiscordJoinGame
@Subscribe public void onDiscordJoinGame(DiscordJoinGame joinGame)
-
onDiscordUserInfo
@Subscribe public void onDiscordUserInfo(net.runelite.client.plugins.discord.DiscordUserInfo event)
-
onUserJoin
@Subscribe public void onUserJoin(net.runelite.http.api.ws.messages.party.UserJoin event)
-
onUserSync
@Subscribe public void onUserSync(net.runelite.http.api.ws.messages.party.UserSync event)
-
onUserPart
@Subscribe public void onUserPart(net.runelite.http.api.ws.messages.party.UserPart event)
-
onPartyChanged
@Subscribe public void onPartyChanged(PartyChanged event)
-
checkForValidStatus
public void checkForValidStatus()
-
-