Skip to content
This repository was archived by the owner on May 9, 2021. It is now read-only.

Development | Events

Dkrieger edited this page Jan 7, 2019 · 2 revisions

Use events to integrate your plugins, this are simple bukkit and bungeecord events.

Event prefix

  • BungeeCord | Proxied (ProxiedNetworkPlayerUpdateEvent)
  • Bukkit | Bukkit (BukkitNetworkPlayerUpdateEvent)

Available events (Bukkit and Proxy)

Name Thrown Description
DKBansMessageReceiveEvent When this server a plugin message from the DKBans channel receives. Receive information from other servers.
DKBansNetworkPlayerBanEvent When a player gets banned (Chat or Network) Get information about a new ban from a player.
DKBansNetworkPlayerColorSetEvent When someone takes a color from a player (player.getColor();) Set the color for a player.
DKBansNetworkPlayerKickEvent When a player gets kicked from the server Get information about a new kick from a player.
DKBansNetworkPlayerLoginEvent When a player logged in to your entwork You can also use this on bukkit, this will be called over the network.
DKBansNetworkPlayerLogoutEvent When a player logged out from your entwork You can also use this on bukkit, this will be called over the network.
DKBansNetworkPlayerReportEvent When a player gets reported Get information about a new report or from the reported player.
DKBansNetworkPlayerReportsAcceptEvent When reports for a player are accepted from a team member. Get information about the reports and reporters.
DKBansNetworkPlayerReportsDenyEvent When reports for a player are denied from a team member. Get information about the reports and reporters.
DKBansNetworkPlayerReportsProccessEvent When a team member takes a report and checks this player. Get information about the reports and the team member
DKBansNetworkPlayerUnbanEvent When a player gets unbanned. Get inforamtion about the unban an the player.
DKBansNetworkPlayerWarnEvent When a player gets warned Get inforamtion about the warn an the player.
DKBansNetworkPlayerUpdateEvent When a player gets synchronized on the network. Get information about the updated player, there is also a update cause.
DKBansNetworkPlayerOnlineUpdateEvent When a online player gets synchronized on the network. Get information about the updated online player.
DKBansNetworkPlayerOfflinePermissionCheckEvent When a permission from a offline player gets checked. Give this player access to a permission or not.

Clone this wiki locally