Package dev.aura.bungeechat.filter
Class ChatLockFilter
- java.lang.Object
-
- dev.aura.bungeechat.filter.ChatLockFilter
-
- All Implemented Interfaces:
dev.aura.bungeechat.api.filter.BungeeChatFilter,Comparable<dev.aura.bungeechat.api.filter.BungeeChatFilter>
public class ChatLockFilter extends Object implements dev.aura.bungeechat.api.filter.BungeeChatFilter
-
-
Constructor Summary
Constructors Constructor Description ChatLockFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringapplyFilter(dev.aura.bungeechat.api.account.BungeeChatAccount sender, String message)voiddisableGlobalChatLock()voiddisableLocalChatLock(String name)voidenableGlobalChatLock()voidenableLocalChatLock(String name)intgetPriority()booleanisGlobalChatLockEnabled()booleanisLocalChatLockEnabled(String name)
-
-
-
Method Detail
-
applyFilter
public String applyFilter(dev.aura.bungeechat.api.account.BungeeChatAccount sender, String message) throws dev.aura.bungeechat.api.filter.BlockMessageException
- Specified by:
applyFilterin interfacedev.aura.bungeechat.api.filter.BungeeChatFilter- Throws:
dev.aura.bungeechat.api.filter.BlockMessageException
-
getPriority
public int getPriority()
- Specified by:
getPriorityin interfacedev.aura.bungeechat.api.filter.BungeeChatFilter
-
enableGlobalChatLock
public void enableGlobalChatLock()
-
enableLocalChatLock
public void enableLocalChatLock(String name)
-
isGlobalChatLockEnabled
public boolean isGlobalChatLockEnabled()
-
isLocalChatLockEnabled
public boolean isLocalChatLockEnabled(String name)
-
disableGlobalChatLock
public void disableGlobalChatLock()
-
disableLocalChatLock
public void disableLocalChatLock(String name)
-
-