Guilds
3.5.6.9-SNAPSHOT
Guilds
/
me.glaremasters.guilds.listeners
/
ChatListener
Chat
Listener
open
class
ChatListener
:
Listener
(
source
)
Created by Glare Date: 2/20/2021 Time: 5:45 PM
Types
Constructors
Functions
Properties
Constructors
Chat
Listener
Link copied to clipboard
open
fun
ChatListener
(
guilds
:
Guilds
)
Types
Chat
Type
Link copied to clipboard
enum
ChatType
Enum representing the different types of chat available in the game.
Functions
handle
Toggle
Link copied to clipboard
open
fun
handleToggle
(
player
:
Player
,
chatType
:
ChatListener.ChatType
)
Handle toggling the chat type for a player.
on
Chat
Highest
Link copied to clipboard
open
fun
onChatHighest
(
event
:
AsyncPlayerChatEvent
)
on
Chat
Lowest
Link copied to clipboard
open
fun
onChatLowest
(
event
:
AsyncPlayerChatEvent
)
on
Logout
Link copied to clipboard
open
fun
onLogout
(
event
:
PlayerQuitEvent
)
Properties
player
Chat
Map
Link copied to clipboard
val
playerChatMap
:
Map
<
UUID
,
ChatListener.ChatType
>