Package net.deechael.dynamichat.api
Interface TemporaryChannel
- All Superinterfaces:
Channel
The channel that is droppable
-
Method Summary
Modifier and TypeMethodDescriptionvoidMake a user have access to the channelvoiddrop()Drop the channel, all the users who are chatting in this channel will be moved into global channelbooleanTo check whether the channel is droppedvoidremoveUser(User user) Make a user not have access to the channelMethods inherited from interface net.deechael.dynamichat.api.Channel
broadcast, getDisplayName, getFormat, getName, getPermissionFormats, getUsers, isGlobal, setAvailableForAll
-
Method Details
-
drop
void drop()Drop the channel, all the users who are chatting in this channel will be moved into global channel -
isDropped
boolean isDropped()To check whether the channel is dropped- Returns:
- the status
-
addUser
Make a user have access to the channel- Parameters:
user- the user
-
removeUser
Make a user not have access to the channel- Parameters:
user- the user
-