Contents
Interface BanStorageProvider
- All Known Implementing Classes:
DiskBanStorageProvider
public interface BanStorageProvider
The ban list named in the server configuration, which the server reads when it starts.
A plugin that keeps the bans somewhere else registers its type with CODEC, so that a
server can name it in its configuration. To install one without a configuration key, call
AccessControlModule.setBanProvider(BanProvider)
instead, which wins over what the configuration names.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodecMapCodec<BanStorageProvider> The codec used to parse and serialize different implementations ofBanStorageProvider. -
Method Summary
-
Field Details
-
CODEC
The codec used to parse and serialize different implementations ofBanStorageProvider.
-
-
Method Details
-
getBanProvider
- Returns:
- the ban list to use, which the module reads once it is in place
-