Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addAttachment(Plugin) - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Adds a permission attachment for the specified plugin to this command sender.
- addAttachment(Plugin, int) - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Adds a permission attachment to this sender for the specified plugin with the given priority.
- addAttachment(Plugin, String, boolean) - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Adds a permission attachment to the command sender.
- addAttachment(Plugin, String, boolean, int) - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Adds a permission attachment to this command sender.
- addBan(BaseCommandSender, String, String, Date) - Static method in class me.github.simonplays15.betterbansystem.core.ban.BanHandler
-
Adds a ban entry for a target player.
- addGroups(String...) - Method in class me.github.simonplays15.betterbansystem.core.player.BungeeCordCommandSender
-
Adds the specified groups to the command sender.
- addIpBan(BaseCommandSender, String, String, Date) - Static method in class me.github.simonplays15.betterbansystem.core.ban.BanHandler
-
Adds an IP ban entry.
- addMute(BaseCommandSender, String, String, Date) - Static method in class me.github.simonplays15.betterbansystem.core.mute.MuteHandler
-
Adds a mute for a target player.
- addWarn(BaseCommandSender, String, String) - Static method in class me.github.simonplays15.betterbansystem.core.warn.WarnHandler
-
Adds a warning for a target player with a given reason.
- addWarn(Warn) - Method in interface me.github.simonplays15.betterbansystem.core.warn.IWarnEntry
-
Adds a warning to the warn entry.
- addWarn(Warn) - Method in record class me.github.simonplays15.betterbansystem.core.warn.WarnEntry
-
Adds a warning to the warn entry.
- AutoModAction - Class in me.github.simonplays15.betterbansystem.core.automod
-
Represents an auto moderation action.
- AutoModAction(String) - Constructor for class me.github.simonplays15.betterbansystem.core.automod.AutoModAction
-
Constructs a new AutoModAction object by parsing the given action string.
- AutoModActionParameters - Enum Class in me.github.simonplays15.betterbansystem.core.automod
-
Enum representing the parameters for an AutoMod action.
- AutoModActionType - Enum Class in me.github.simonplays15.betterbansystem.core.automod
-
The AutoModActionType enum represents the types of actions that can be taken by an auto-moderation system.
B
- b() - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Constructs a new instance of Yaml with the specified options.
- BanCommand - Class in me.github.simonplays15.betterbansystem.core.command.commands
-
The BanCommand class represents a command for banning a player in the system.
- BanCommand() - Constructor for class me.github.simonplays15.betterbansystem.core.command.commands.BanCommand
-
Instantiates a new Ban command
- BanEntry - Record Class in me.github.simonplays15.betterbansystem.core.ban
-
BanEntry represents a single ban entry in a ban system.
- BanEntry(UUID, String, String, Date, Object, String) - Constructor for record class me.github.simonplays15.betterbansystem.core.ban.BanEntry
-
Creates an instance of a
BanEntry
record class. - BanEntry.IBanEntryAdapter - Class in me.github.simonplays15.betterbansystem.core.ban
-
The IBanEntryAdapter class is a TypeAdapter for serializing and deserializing IBanEntry objects using Gson.
- BanHandler - Class in me.github.simonplays15.betterbansystem.core.ban
-
The BanHandler class provides methods for banning and unbanning players and IP addresses.
- BanHandler() - Constructor for class me.github.simonplays15.betterbansystem.core.ban.BanHandler
-
The BanHandler class provides methods for handling bans and IP bans.
- BanListCommand - Class in me.github.simonplays15.betterbansystem.core.command.commands
-
The BanListCommand class extends BaseCommand and represents a command to list banned players or IPs.
- BanListCommand() - Constructor for class me.github.simonplays15.betterbansystem.core.command.commands.BanListCommand
-
Represents a command that retrieves and displays the ban list.
- BanManager - Class in me.github.simonplays15.betterbansystem.core.ban
-
BanManager class is responsible for managing bans and checking for expired ban entries.
- BanManager() - Constructor for class me.github.simonplays15.betterbansystem.core.ban.BanManager
-
BanManager is responsible for managing bans and checking for expired ban entries.
- BaseCommand - Class in me.github.simonplays15.betterbansystem.core.command
-
The BaseCommand class represents a base command that can be executed by a command sender.
- BaseCommand(String) - Constructor for class me.github.simonplays15.betterbansystem.core.command.BaseCommand
-
Represents a base command.
- BaseCommandHandler - Class in me.github.simonplays15.betterbansystem.core.command
-
The BaseCommandHandler class is responsible for handling commands in a command-based system.
- BaseCommandHandler() - Constructor for class me.github.simonplays15.betterbansystem.core.command.BaseCommandHandler
-
The BaseCommandHandler class represents a command handler for managing and executing commands.
- BaseCommandSender - Class in me.github.simonplays15.betterbansystem.core.player
-
The BaseCommandSender class is an abstract class that represents a command sender.
- BaseCommandSender() - Constructor for class me.github.simonplays15.betterbansystem.core.player.BaseCommandSender
-
The BaseCommandSender class is an abstract class that represents a command sender.
- BaseConfig - Class in me.github.simonplays15.betterbansystem.api.files
-
The `BaseConfig` class is a configuration utility that provides methods to read and write configuration data using YAML format.
- BaseConfig() - Constructor for class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
BaseConfig class is used for managing configurations.
- BasePluginDescription - Class in me.github.simonplays15.betterbansystem.api.files
-
The BasePluginDescription class represents the description of a plugin.
- BasePluginDescription(InputStream) - Constructor for class me.github.simonplays15.betterbansystem.api.files.BasePluginDescription
-
Constructs a new instance of the BasePluginDescription class with the given InputStream.
- BasePluginDescription(Reader) - Constructor for class me.github.simonplays15.betterbansystem.api.files.BasePluginDescription
-
Class: BasePluginDescription Represents a plugin description.
- BetterBanSystem - Class in me.github.simonplays15.betterbansystem.core
-
Represents the BetterBanSystem class.
- BetterBanSystem(File) - Constructor for class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Initializes the BetterBanSystem.
- BLOCK - Enum constant in enum class me.github.simonplays15.betterbansystem.core.command.CommandSenderType
-
Represents the BLOCK command sender type.
- buildHoverableMessage(String, String) - Static method in class me.github.simonplays15.betterbansystem.core.chat.HoverMessageUtil
-
Deprecated.
- BUNGEECORD - Enum constant in enum class me.github.simonplays15.betterbansystem.core.permissions.PermissionsHandlerType
-
The BUNGEECORD variable represents the BungeeCord permissions handler type.
- BungeeCordCommandSender - Class in me.github.simonplays15.betterbansystem.core.player
-
The BungeeCordCommandSender class extends the BaseCommandSender class and represents a BungeeCord command sender.
- BungeeCordCommandSender(Object) - Constructor for class me.github.simonplays15.betterbansystem.core.player.BungeeCordCommandSender
-
BungeeCordCommandSender represents a command sender in the BungeeCord API.
- BungeeCordCommandSender(CommandSender) - Constructor for class me.github.simonplays15.betterbansystem.core.player.BungeeCordCommandSender
-
The BungeeCordCommandSender class represents a command sender in the BungeeCord API.
- BungeeCordDefaultHandler - Class in me.github.simonplays15.betterbansystem.core.permissions
-
BungeeCordDefaultHandler is a class that extends PermissionsManager and represents the default permissions handler for BungeeCord platforms.
- BungeeCordDefaultHandler() - Constructor for class me.github.simonplays15.betterbansystem.core.permissions.BungeeCordDefaultHandler
-
BungeeCordDefaultHandler is a class that extends PermissionsManager and represents the default permissions handler for BungeeCord platforms.
- BungeeCore - Class in me.github.simonplays15.betterbansystem.bungeecord
-
The BungeeCore class represents the core plugin for BetterBanSystem on BungeeCord.
- BungeeCore() - Constructor for class me.github.simonplays15.betterbansystem.bungeecord.BungeeCore
C
- CachedMongoDBDatabase - Class in me.github.simonplays15.betterbansystem.core.database.mongodb
-
A subclass of MongoDBDatabase that implements caching for enhanced performance.
- CachedMongoDBDatabase() - Constructor for class me.github.simonplays15.betterbansystem.core.database.mongodb.CachedMongoDBDatabase
- CachedMySQLDatabase - Class in me.github.simonplays15.betterbansystem.core.database.mysql
-
A cached implementation of MySQLDatabase that provides caching for database queries.
- CachedMySQLDatabase() - Constructor for class me.github.simonplays15.betterbansystem.core.database.mysql.CachedMySQLDatabase
- CachedSQLiteDatabase - Class in me.github.simonplays15.betterbansystem.core.database.sqlite
-
This class extends the SQLiteDatabase class and provides caching capabilities for select queries.
- CachedSQLiteDatabase() - Constructor for class me.github.simonplays15.betterbansystem.core.database.sqlite.CachedSQLiteDatabase
- ChatColor - Class in me.github.simonplays15.betterbansystem.core.chat
-
The ChatColor class provides utility methods for manipulating colors and formatting in chat messages.
- ChatColor() - Constructor for class me.github.simonplays15.betterbansystem.core.chat.ChatColor
- ChatEvents - Class in me.github.simonplays15.betterbansystem.bungeecord.event.events
-
Represents a class that handles chat events.
- ChatEvents() - Constructor for class me.github.simonplays15.betterbansystem.bungeecord.event.events.ChatEvents
- CLOUDNET - Enum constant in enum class me.github.simonplays15.betterbansystem.core.permissions.PermissionsHandlerType
-
CLOUDNET is a constant representing the "CLOUDNET" permissions handler type.
- CloudNetPermissionsHandler - Class in me.github.simonplays15.betterbansystem.core.permissions
-
The CloudNetPermissionsHandler class is a subclass of PermissionsManager that provides a permissions handler implementation for the CloudNet system.
- CloudNetPermissionsHandler() - Constructor for class me.github.simonplays15.betterbansystem.core.permissions.CloudNetPermissionsHandler
-
The CloudNetPermissionsHandler class is a subclass of PermissionsManager that provides a permissions handler implementation for the CloudNet system.
- CommandException - Exception in me.github.simonplays15.betterbansystem.api.exceptions
-
Exception that is thrown when a command encounters an error or exception.
- CommandException() - Constructor for exception me.github.simonplays15.betterbansystem.api.exceptions.CommandException
-
Exception that is thrown when a command encounters an error or exception.
- CommandException(String) - Constructor for exception me.github.simonplays15.betterbansystem.api.exceptions.CommandException
-
Exception that is thrown when a command encounters an error or exception.
- CommandException(String, Throwable) - Constructor for exception me.github.simonplays15.betterbansystem.api.exceptions.CommandException
-
Constructs a new CommandException with the specified detail message and cause.
- CommandHandler - Class in me.github.simonplays15.betterbansystem.bungeecord
-
CommandHandler is responsible for handling commands in the plugin.
- CommandHandler - Class in me.github.simonplays15.betterbansystem.spigot
-
The CommandHandler class handles the execution of commands and tab completions.
- CommandHandler() - Constructor for class me.github.simonplays15.betterbansystem.spigot.CommandHandler
-
The CommandHandler class handles the registration of commands and sets default command handlers for unregistered commands.
- CommandHandler(Plugin) - Constructor for class me.github.simonplays15.betterbansystem.bungeecord.CommandHandler
-
The CommandHandler class handles the registration of commands for the plugin.
- CommandRegisterException - Exception in me.github.simonplays15.betterbansystem.api.exceptions
-
Custom exception thrown when an error occurs while registering a command.
- CommandRegisterException() - Constructor for exception me.github.simonplays15.betterbansystem.api.exceptions.CommandRegisterException
-
This exception is thrown when an error occurs while registering a command.
- CommandRegisterException(String) - Constructor for exception me.github.simonplays15.betterbansystem.api.exceptions.CommandRegisterException
- CommandRegisterException(String, Throwable) - Constructor for exception me.github.simonplays15.betterbansystem.api.exceptions.CommandRegisterException
-
This exception is thrown when there is an error registering a command.
- CommandRegisterException(BaseCommand) - Constructor for exception me.github.simonplays15.betterbansystem.api.exceptions.CommandRegisterException
-
Exception thrown when a command fails to register.
- CommandSenderType - Enum Class in me.github.simonplays15.betterbansystem.core.command
-
Enumeration representing the type of command sender.
- commitTransaction() - Method in interface me.github.simonplays15.betterbansystem.core.database.IDatabase
-
Commits the current transaction.
- commitTransaction() - Method in class me.github.simonplays15.betterbansystem.core.database.mongodb.MongoDBDatabase
-
Commits the current transaction.
- commitTransaction() - Method in class me.github.simonplays15.betterbansystem.core.database.mysql.MySQLDatabase
-
Commits the current transaction by calling the 'commit()' method on the database connection.
- commitTransaction() - Method in class me.github.simonplays15.betterbansystem.core.database.sqlite.SQLiteDatabase
-
Commits the current transaction.
- config - Variable in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Represents the configuration settings for the BetterBanSystem.
- connect(String, String, String) - Method in class me.github.simonplays15.betterbansystem.core.database.mongodb.MongoDBDatabase
-
Connects to a specific database using the provided connection string, username, and password.
- connect(String, String, String) - Method in interface me.github.simonplays15.betterbansystem.core.database.IDatabase
-
Establishes a connection to the specified database using the provided connection string, username, and password.
- connect(String, String, String) - Method in class me.github.simonplays15.betterbansystem.core.database.mysql.MySQLDatabase
-
Establishes a connection to the database using the provided connection string, username, and password.
- connect(String, String, String) - Method in class me.github.simonplays15.betterbansystem.core.database.sqlite.SQLiteDatabase
-
Connects to the database using the given connection string, username, and password.
- CONSOLE - Enum constant in enum class me.github.simonplays15.betterbansystem.core.command.CommandSenderType
-
Represents the console as the command sender.
- contains(String) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Checks if the specified path exists in the configuration.
- created() - Method in record class me.github.simonplays15.betterbansystem.core.ban.BanEntry
-
Returns the value of the
created
record component. - created() - Method in interface me.github.simonplays15.betterbansystem.core.ban.IBanEntry
-
Returns the date when the ban entry was created.
- created() - Method in interface me.github.simonplays15.betterbansystem.core.ban.IIPBanEntry
-
Returns the date when the entry was created.
- created() - Method in record class me.github.simonplays15.betterbansystem.core.ban.IPBanEntry
-
Returns the value of the
created
record component. - created() - Method in interface me.github.simonplays15.betterbansystem.core.mute.IMuteEntry
-
Returns the date when the mute entry was created.
- created() - Method in record class me.github.simonplays15.betterbansystem.core.mute.MuteEntry
-
Returns the value of the
created
record component. - created() - Method in record class me.github.simonplays15.betterbansystem.core.warn.Warn
-
Returns the value of the
created
record component. - createDatabaseAndTables() - Method in interface me.github.simonplays15.betterbansystem.core.database.IDatabase
-
Creates a database and associated tables.
- createDatabaseAndTables() - Method in class me.github.simonplays15.betterbansystem.core.database.mongodb.MongoDBDatabase
-
Create the database and tables required for the application to function.
- createDatabaseAndTables() - Method in class me.github.simonplays15.betterbansystem.core.database.mysql.MySQLDatabase
-
Creates the database and tables required for the BetterBanSystem.
- createDatabaseAndTables() - Method in class me.github.simonplays15.betterbansystem.core.database.sqlite.SQLiteDatabase
-
Creates the necessary database tables if they don't already exist.
- createIndex(String, String, boolean) - Method in interface me.github.simonplays15.betterbansystem.core.database.IDatabase
-
Creates an index on a specified field in a collection.
- createIndex(String, String, boolean) - Method in class me.github.simonplays15.betterbansystem.core.database.mongodb.CachedMongoDBDatabase
-
Creates an index in the specified collection on the given field.
- createIndex(String, String, boolean) - Method in class me.github.simonplays15.betterbansystem.core.database.mongodb.MongoDBDatabase
-
Creates an index in the specified collection on the given field.
- createIndex(String, String, boolean) - Method in class me.github.simonplays15.betterbansystem.core.database.mysql.CachedMySQLDatabase
-
Creates an index on a specified field in a collection.
- createIndex(String, String, boolean) - Method in class me.github.simonplays15.betterbansystem.core.database.mysql.MySQLDatabase
-
Creates an index on a specified field in a collection.
- createIndex(String, String, boolean) - Method in class me.github.simonplays15.betterbansystem.core.database.sqlite.CachedSQLiteDatabase
-
Creates an index on a specified field in a given collection.
- createIndex(String, String, boolean) - Method in class me.github.simonplays15.betterbansystem.core.database.sqlite.SQLiteDatabase
-
Creates an index on a specified field in a collection.
- createNamedLogger(String) - Static method in class me.github.simonplays15.betterbansystem.core.logging.GlobalLogger
-
Creates a named logger.
- createNamedLogger(String, boolean, boolean) - Static method in class me.github.simonplays15.betterbansystem.core.logging.GlobalLogger
-
Creates a named logger instance or returns the existing global logger instance.
D
- Database - Class in me.github.simonplays15.betterbansystem.core.database
-
This abstract class represents a generic database.
- Database() - Constructor for class me.github.simonplays15.betterbansystem.core.database.Database
-
Instantiates a new Database.
- debug(Object...) - Method in class me.github.simonplays15.betterbansystem.core.logging.GlobalLogger
-
Debug method.
- DEBUG - Enum constant in enum class me.github.simonplays15.betterbansystem.core.logging.LogLevel
-
DEBUG represents the debug level for logging purposes.
- DEFAULT_PERMISSION_HANDLING - Enum constant in enum class me.github.simonplays15.betterbansystem.core.permissions.PermissionsHandlerType
- delete(String, String, Object) - Method in interface me.github.simonplays15.betterbansystem.core.database.IDatabase
-
Deletes a record from the specified table based on the primary key value.
- delete(String, String, Object) - Method in class me.github.simonplays15.betterbansystem.core.database.mongodb.CachedMongoDBDatabase
-
Deletes a record from the specified table based on the primary key value.
- delete(String, String, Object) - Method in class me.github.simonplays15.betterbansystem.core.database.mongodb.MongoDBDatabase
-
Deletes a record from the specified table based on the primary key value.
- delete(String, String, Object) - Method in class me.github.simonplays15.betterbansystem.core.database.mysql.CachedMySQLDatabase
-
Deletes a record from the specified table based on the primary key and its value.
- delete(String, String, Object) - Method in class me.github.simonplays15.betterbansystem.core.database.mysql.MySQLDatabase
-
Deletes a record from the specified table based on the given primary key and primary key value.
- delete(String, String, Object) - Method in class me.github.simonplays15.betterbansystem.core.database.sqlite.CachedSQLiteDatabase
-
Deletes a record from the specified table based on the primary key.
- delete(String, String, Object) - Method in class me.github.simonplays15.betterbansystem.core.database.sqlite.SQLiteDatabase
-
Deletes a record from the specified table using the given primary key and value.
- DELETE - Enum constant in enum class me.github.simonplays15.betterbansystem.core.automod.AutoModActionType
-
The DELETE variable represents the action of deleting a resource or data.
- DelWarnCommand - Class in me.github.simonplays15.betterbansystem.core.command.commands
-
The type Del warn command.
- DelWarnCommand() - Constructor for class me.github.simonplays15.betterbansystem.core.command.commands.DelWarnCommand
-
Instantiates a new Del warn command.
- destroyLogger() - Method in class me.github.simonplays15.betterbansystem.core.logging.GlobalLogger
-
Destroys the logger, closing all handlers and cleaning up resources.
- disconnect() - Method in interface me.github.simonplays15.betterbansystem.core.database.IDatabase
-
Disconnects from the database.
- disconnect() - Method in class me.github.simonplays15.betterbansystem.core.database.mongodb.MongoDBDatabase
-
Disconnects from the database.
- disconnect() - Method in class me.github.simonplays15.betterbansystem.core.database.mysql.MySQLDatabase
-
Disconnects from the database.
- disconnect() - Method in class me.github.simonplays15.betterbansystem.core.database.sqlite.SQLiteDatabase
-
Disconnects from the database by closing the connection.
- dispatchCommand(String) - Method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Dispatches a command for execution.
- DriverType - Enum Class in me.github.simonplays15.betterbansystem.core.database
-
Enum class representing different types of database drivers.
- DURATION - Enum constant in enum class me.github.simonplays15.betterbansystem.core.automod.AutoModActionParameters
-
Represents the duration of a particular action.
E
- equals(Object) - Method in class me.github.simonplays15.betterbansystem.core.automod.AutoModAction
-
Compares this AutoModAction instance with the specified object for equality.
- equals(Object) - Method in record class me.github.simonplays15.betterbansystem.core.ban.BanEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class me.github.simonplays15.betterbansystem.core.ban.IPBanEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class me.github.simonplays15.betterbansystem.core.command.BaseCommand
-
Compares this
BaseCommand
object with the specified object for equality. - equals(Object) - Method in record class me.github.simonplays15.betterbansystem.core.mute.MuteEntry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class me.github.simonplays15.betterbansystem.core.warn.Warn
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class me.github.simonplays15.betterbansystem.core.warn.WarnEntry
-
Indicates whether some other object is "equal to" this one.
- error(Object...) - Method in class me.github.simonplays15.betterbansystem.core.logging.GlobalLogger
-
Logs an error message.
- ERROR - Enum constant in enum class me.github.simonplays15.betterbansystem.core.logging.LogLevel
-
The ERROR variable represents the severity level for logging errors.
- EventManager - Class in me.github.simonplays15.betterbansystem.bungeecord.event
-
The EventManager class is responsible for managing event listeners for a Plugin.
- EventManager - Class in me.github.simonplays15.betterbansystem.spigot.event
-
The EventManager class handles the registration and management of events.
- EventManager(Plugin) - Constructor for class me.github.simonplays15.betterbansystem.bungeecord.event.EventManager
-
Constructs a new EventManager object for the given Plugin.
- EventManager(Plugin) - Constructor for class me.github.simonplays15.betterbansystem.spigot.event.EventManager
-
The EventManager class handles the registration and management of events.
- executeQuery(String) - Method in interface me.github.simonplays15.betterbansystem.core.database.IDatabase
-
Executes a SQL query and returns the result as a List of Maps.
- executeQuery(String) - Method in class me.github.simonplays15.betterbansystem.core.database.mongodb.MongoDBDatabase
-
Executes a query on the MongoDB database.
- executeQuery(String) - Method in class me.github.simonplays15.betterbansystem.core.database.mysql.MySQLDatabase
-
Executes a query and returns the result as a list of maps.
- executeQuery(String) - Method in class me.github.simonplays15.betterbansystem.core.database.sqlite.SQLiteDatabase
-
Executes the given SQL query and returns a list of maps containing the query results.
- expires() - Method in record class me.github.simonplays15.betterbansystem.core.ban.BanEntry
-
Returns the value of the
expires
record component. - expires() - Method in interface me.github.simonplays15.betterbansystem.core.ban.IBanEntry
-
Retrieves the expiration date of the ban entry.
- expires() - Method in interface me.github.simonplays15.betterbansystem.core.ban.IIPBanEntry
-
Returns the expiration date/time of the ban entry.
- expires() - Method in record class me.github.simonplays15.betterbansystem.core.ban.IPBanEntry
-
Returns the value of the
expires
record component. - expires() - Method in interface me.github.simonplays15.betterbansystem.core.mute.IMuteEntry
-
Retrieves the expiration information of the mute entry.
- expires() - Method in record class me.github.simonplays15.betterbansystem.core.mute.MuteEntry
-
Returns the value of the
expires
record component.
F
- fatal(Object...) - Method in class me.github.simonplays15.betterbansystem.core.logging.GlobalLogger
-
Logs a message at the FATAL level.
- FATAL - Enum constant in enum class me.github.simonplays15.betterbansystem.core.logging.LogLevel
-
The FATAL constant represents the highest level of logging.
- findBanEntry(String) - Static method in class me.github.simonplays15.betterbansystem.core.ban.BanHandler
-
Finds a ban entry for the given player name.
- findBanEntry(UUID) - Static method in class me.github.simonplays15.betterbansystem.core.ban.BanHandler
-
Finds a ban entry for the given UUID.
- findEntry(String) - Static method in record class me.github.simonplays15.betterbansystem.core.ban.IPBanEntry
-
Finds an IP ban entry given the IP address.
- findEntry(UUID) - Static method in record class me.github.simonplays15.betterbansystem.core.ban.BanEntry
-
Finds an entry in the list of all entries by UUID.
- findEntry(UUID) - Static method in record class me.github.simonplays15.betterbansystem.core.mute.MuteEntry
-
Finds an entry in the list of mute entries with the specified target UUID.
- findEntry(UUID) - Static method in record class me.github.simonplays15.betterbansystem.core.warn.WarnEntry
-
Finds the warning entry with the specified UUID.
- findIPBanEntry(String) - Static method in class me.github.simonplays15.betterbansystem.core.ban.BanHandler
-
Finds an IP ban entry given the IP address.
- findMuteEntry(String) - Static method in class me.github.simonplays15.betterbansystem.core.mute.MuteHandler
-
Finds the mute entry for the given player UUID.
- findMuteEntry(UUID) - Static method in class me.github.simonplays15.betterbansystem.core.mute.MuteHandler
-
This method finds a mute entry based on the provided UUID.
- formatBanMessage(IBanEntry) - Static method in class me.github.simonplays15.betterbansystem.core.chat.StringFormatter
-
Formats a ban message for a given ban entry.
- formatIpBanMessage(IIPBanEntry) - Static method in class me.github.simonplays15.betterbansystem.core.chat.StringFormatter
-
Formats an IP ban message using the given IIPBanEntry.
- formatKickMessage(String, String) - Static method in class me.github.simonplays15.betterbansystem.core.chat.StringFormatter
-
Formats a kick message by replacing placeholders in the kick message template with the sender and reason.
G
- get(String) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Retrieves the value associated with the specified key from the configuration.
- get(String, Object) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Retrieves the value associated with the specified key from the config map.
- getActionLimit() - Method in class me.github.simonplays15.betterbansystem.core.automod.AutoModAction
-
Returns the action limit for the AutoMod action.
- getAliases() - Method in class me.github.simonplays15.betterbansystem.core.command.BaseCommand
-
Returns the list of aliases associated with the command.
- getAllEntries() - Static method in record class me.github.simonplays15.betterbansystem.core.ban.BanEntry
-
Retrieves all ban entries from the database and/or file.
- getAllEntries() - Static method in record class me.github.simonplays15.betterbansystem.core.ban.IPBanEntry
-
Retrieves all IP ban entries.
- getAllEntries() - Static method in record class me.github.simonplays15.betterbansystem.core.mute.MuteEntry
-
Retrieves a list of all mute entries.
- getAllEntries() - Static method in record class me.github.simonplays15.betterbansystem.core.warn.WarnEntry
-
Retrieves all the warning entries.
- getAvailableManager() - Static method in class me.github.simonplays15.betterbansystem.core.permissions.PermissionsManager
-
Retrieves the available PermissionsManager instance based on the available types.
- getBase() - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Retrieves the base CommandSender associated with this object.
- getBoolean(String) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Retrieves the boolean value at the specified path in the configuration.
- getBoolean(String, boolean) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Retrieves the boolean value associated with the specified path from the configuration.
- getCommandHandler() - Method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Retrieves the command handler for managing commands in the command-based system.
- getCommandName() - Method in class me.github.simonplays15.betterbansystem.core.command.BaseCommand
-
Retrieves the name of the command.
- getCommands() - Method in class me.github.simonplays15.betterbansystem.api.files.BasePluginDescription
-
Retrieves the commands stored in a map.
- getCommands() - Method in class me.github.simonplays15.betterbansystem.core.command.BaseCommandHandler
-
Retrieves the commands registered in the BaseCommandHandler.
- getConfig() - Method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Retrieves the BaseConfig object associated with this BetterBanSystem instance.
- getConsole() - Static method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Retrieves the console object for the current runtime environment.
- getConsoleSender() - Static method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Retrieves the console sender for the current runtime environment.
- getDatabase() - Method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Retrieves the database associated with this BetterBanSystem instance.
- getDataFolder() - Method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Returns the data folder for the plugin.
- getDescription() - Method in class me.github.simonplays15.betterbansystem.api.files.BasePluginDescription
-
Retrieves the description of the plugin.
- getDescription() - Method in class me.github.simonplays15.betterbansystem.core.command.BaseCommand
-
Returns the description of the command.
- getDouble(String) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Retrieves a double value from the configuration using the given path.
- getDouble(String, double) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Returns the value associated with the given path as a double.
- getEffectivePermissions() - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Retrieves the effective permissions of the command sender.
- getGroups() - Method in class me.github.simonplays15.betterbansystem.core.player.BungeeCordCommandSender
-
Retrieves the groups associated with the command sender.
- getHandler(PermissionsHandlerType) - Static method in class me.github.simonplays15.betterbansystem.core.permissions.PermissionsManager
-
Returns the PermissionsManager instance for the specified PermissionsHandlerType.
- getInstance() - Static method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Returns the instance of the BetterBanSystem.
- getInt(String) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Returns the integer value associated with the specified path in the configuration.
- getInt(String, int) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Returns the integer value associated with the specified path in the configuration.
- getLanguageFile() - Method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Retrieves the LanguageFile object associated with the BetterBanSystem instance.
- getList(String) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Retrieves a list of objects from the configuration file at a given path.
- getList(String, List<?>) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Retrieves a List value from the configuration based on the provided path.
- getLogger() - Static method in class me.github.simonplays15.betterbansystem.core.logging.GlobalLogger
-
Get the logger instance for BetterBanSystem.
- getLogger(String) - Static method in class me.github.simonplays15.betterbansystem.core.logging.GlobalLogger
-
Retrieves the GlobalLogger instance with the provided name, creating it if it doesn't exist.
- getLong(String) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Returns the long value associated with the specified path.
- getLong(String, long) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Retrieves a long value from the configuration at the specified path.
- getMain() - Method in class me.github.simonplays15.betterbansystem.api.files.BasePluginDescription
-
Returns the main class specified in the plugin description.
- getMessage(String) - Method in class me.github.simonplays15.betterbansystem.api.files.LanguageFile
-
Retrieves a message by its key.
- getMessage(String, Map<String, String>) - Method in class me.github.simonplays15.betterbansystem.api.files.LanguageFile
-
Retrieves the message with the given key and placeholders.
- getName() - Method in class me.github.simonplays15.betterbansystem.api.files.BasePluginDescription
-
Returns the name of the plugin.
- getName() - Method in class me.github.simonplays15.betterbansystem.core.player.BaseCommandSender
-
Retrieves the name of the command sender.
- getName() - Method in class me.github.simonplays15.betterbansystem.core.player.BungeeCordCommandSender
-
Retrieves the name of the command sender.
- getName() - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Retrieves the name of the command sender.
- getOfflinePlayer(UUID) - Static method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Retrieves the OfflinePlayer object associated with the specified UUID.
- getParameter(AutoModActionParameters) - Method in class me.github.simonplays15.betterbansystem.core.automod.AutoModAction
-
Retrieves the value of the specified AutoModActionParameters key from the parameters map.
- getPermission() - Method in class me.github.simonplays15.betterbansystem.core.command.BaseCommand
-
Retrieves the permission associated with this command.
- getPermissions() - Method in class me.github.simonplays15.betterbansystem.core.player.BungeeCordCommandSender
-
Retrieves the permissions of the command sender.
- getPermissionsManager() - Method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Retrieves the permissions manager associated with this instance of BetterBanSystem.
- getPermManager() - Method in class me.github.simonplays15.betterbansystem.core.command.BaseCommand
-
Retrieves the PermissionsManager instance associated with this BaseCommand.
- getPlayer(String) - Static method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Retrieves the player object based on the given player name.
- getPlayer(UUID) - Static method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Retrieves the player with the specified UUID.
- getPluginDescription() - Method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Returns the plugin description of the current instance.
- getPrefix() - Method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
- getResource(String) - Method in class me.github.simonplays15.betterbansystem.api.files.ResourceFile
-
Retrieves an InputStream for a given resource file.
- getRunningPlugin() - Method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Retrieves the currently running plugin.
- getSenderType() - Method in class me.github.simonplays15.betterbansystem.core.player.BaseCommandSender
-
Retrieves the type of the command sender.
- getSenderType() - Method in class me.github.simonplays15.betterbansystem.core.player.BungeeCordCommandSender
-
Retrieves the type of the command sender.
- getSenderType() - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Retrieves the type of the command sender.
- getServer() - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Returns the server associated with this command sender.
- getString(String) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Retrieves the value of the specified path from the configuration as a string.
- getString(String, String) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Retrieves a string value from the configuration.
- getStringList(String) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Retrieves a list of strings from the specified path.
- getStringList(String, List<String>) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Returns a list of strings from the specified path in the configuration.
- getType() - Method in class me.github.simonplays15.betterbansystem.core.automod.AutoModAction
-
Returns the type of the AutoMod action.
- getUsage() - Method in class me.github.simonplays15.betterbansystem.core.command.BaseCommand
-
Retrieves the usage string of the command.
- getUUID(String) - Static method in class me.github.simonplays15.betterbansystem.api.uuid.UUIDFetcher
-
Retrieves the UUID for a given player name.
- getUUIDOrOfflineUUID(String) - Static method in class me.github.simonplays15.betterbansystem.api.uuid.UUIDFetcher
-
Returns the UUID of a player based on their name.
- getVersion() - Method in class me.github.simonplays15.betterbansystem.api.files.BasePluginDescription
-
Retrieves the version of the plugin.
- getVersion(Consumer<String>) - Method in class me.github.simonplays15.betterbansystem.core.Updater
-
Retrieves the version of a resource.
- GlobalLogger - Class in me.github.simonplays15.betterbansystem.core.logging
-
The GlobalLogger class provides a global logger instance that can be used to log messages to the console or to log files.
- GlobalLogger(String) - Constructor for class me.github.simonplays15.betterbansystem.core.logging.GlobalLogger
-
GlobalLogger class is responsible for creating and configuring a global logger instance.
- GlobalLogger(String, boolean, boolean) - Constructor for class me.github.simonplays15.betterbansystem.core.logging.GlobalLogger
-
Initializes the GlobalLogger with the specified logger name, debug mode, and whether log files should be written.
H
- handlerType - Variable in class me.github.simonplays15.betterbansystem.core.permissions.PermissionsManager
-
The handlerType field represents the type of permissions handler used by the PermissionsManager class.
- hashCode() - Method in class me.github.simonplays15.betterbansystem.core.automod.AutoModAction
-
Calculates the hash code for the AutoModAction object.
- hashCode() - Method in record class me.github.simonplays15.betterbansystem.core.ban.BanEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class me.github.simonplays15.betterbansystem.core.ban.IPBanEntry
-
Returns a hash code value for this object.
- hashCode() - Method in class me.github.simonplays15.betterbansystem.core.command.BaseCommand
-
Computes the hash code for this object.
- hashCode() - Method in record class me.github.simonplays15.betterbansystem.core.mute.MuteEntry
-
Returns a hash code value for this object.
- hashCode() - Method in record class me.github.simonplays15.betterbansystem.core.warn.Warn
-
Returns a hash code value for this object.
- hashCode() - Method in record class me.github.simonplays15.betterbansystem.core.warn.WarnEntry
-
Returns a hash code value for this object.
- hasPermission(String) - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Checks if the command sender has the specified permission.
- hasPermission(ProxiedPlayer, String) - Method in class me.github.simonplays15.betterbansystem.core.permissions.BungeeCordDefaultHandler
-
Checks if a player has a specific permission.
- hasPermission(Permission) - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Checks if the command sender has the specified permission.
- hasPermission(String) - Method in class me.github.simonplays15.betterbansystem.core.player.BaseCommandSender
-
Checks if the command sender has the specified permission.
- hasPermission(String) - Method in class me.github.simonplays15.betterbansystem.core.player.BungeeCordCommandSender
-
Checks if the command sender has the specified permission.
- hasPermission(String, String) - Method in class me.github.simonplays15.betterbansystem.core.permissions.BungeeCordDefaultHandler
-
Checks if the specified player has the given permission.
- hasPermission(String, String) - Method in class me.github.simonplays15.betterbansystem.core.permissions.CloudNetPermissionsHandler
-
Checks if the given player has the specified permission.
- hasPermission(String, String) - Method in class me.github.simonplays15.betterbansystem.core.permissions.LuckPermsManager
-
Checks if a player has a certain permission.
- hasPermission(String, String) - Method in class me.github.simonplays15.betterbansystem.core.permissions.PermissionsManager
-
This method checks if the specified player has the given permission.
- hasPermission(String, String) - Method in class me.github.simonplays15.betterbansystem.core.permissions.SpigotPermissionsHandler
-
Checks if the specified player has the given permission.
- hasPermission(String, String) - Method in class me.github.simonplays15.betterbansystem.core.permissions.VaultPermissionsSystem
-
Checks if the specified player has the given permission.
- hasPermission(Player, String) - Method in class me.github.simonplays15.betterbansystem.core.permissions.LuckPermsManager
-
Checks whether a player has the specified permission.
- hasPermission(Player, String) - Method in class me.github.simonplays15.betterbansystem.core.permissions.SpigotPermissionsHandler
-
Checks if the given player has the specified permission.
- hasPermission(Player, String) - Method in class me.github.simonplays15.betterbansystem.core.permissions.VaultPermissionsSystem
-
Checks if the specified player has the given permission.
- hasPermission(OfflinePlayer) - Method in class me.github.simonplays15.betterbansystem.core.permissions.SpigotPermissionsHandler
-
This method checks if the specified player has the given permission.
- hasPermission(OfflinePlayer) - Method in class me.github.simonplays15.betterbansystem.core.permissions.VaultPermissionsSystem
-
Checks if the given player has the specified permission.
- hasPermission(OfflinePlayer, String) - Method in class me.github.simonplays15.betterbansystem.core.permissions.LuckPermsManager
-
Checks whether the specified player has the given permission.
- hasPlayedBefore(Object) - Static method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Checks if the specified player has played before.
- HoverMessageUtil - Class in me.github.simonplays15.betterbansystem.core.chat
-
The type Hover message util.
- HoverMessageUtil() - Constructor for class me.github.simonplays15.betterbansystem.core.chat.HoverMessageUtil
I
- IBanEntry - Interface in me.github.simonplays15.betterbansystem.core.ban
-
IBanEntry represents a ban entry in a ban list.
- IBanEntryAdapter() - Constructor for class me.github.simonplays15.betterbansystem.core.ban.BanEntry.IBanEntryAdapter
- id() - Method in record class me.github.simonplays15.betterbansystem.core.warn.Warn
-
Returns the value of the
id
record component. - IDatabase - Interface in me.github.simonplays15.betterbansystem.core.database
-
The IDatabase interface represents a generic database and provides methods to interact with the database.
- idGenerator - Static variable in record class me.github.simonplays15.betterbansystem.core.warn.WarnEntry
-
The idGenerator variable is an AtomicInteger that is used for generating unique IDs for warnings.
- IIPBanEntry - Interface in me.github.simonplays15.betterbansystem.core.ban
-
The interface IIPBanEntry represents an entry in an IP ban list.
- IIPBanEntryAdapter() - Constructor for class me.github.simonplays15.betterbansystem.core.ban.IPBanEntry.IIPBanEntryAdapter
- IMuteEntry - Interface in me.github.simonplays15.betterbansystem.core.mute
-
The IMuteEntry interface represents a mute entry in a system.
- IMuteEntryAdapter() - Constructor for class me.github.simonplays15.betterbansystem.core.mute.MuteEntry.IMuteEntryAdapter
- info(Object...) - Method in class me.github.simonplays15.betterbansystem.core.logging.GlobalLogger
-
Logs an informational message.
- info(String) - Method in class me.github.simonplays15.betterbansystem.core.logging.GlobalLogger
-
Logs an informational message with the given message.
- INFO - Enum constant in enum class me.github.simonplays15.betterbansystem.core.logging.LogLevel
-
The INFO variable is of type LogLevel and represents the logging level for information messages.
- insert(String, Map<String, Object>) - Method in class me.github.simonplays15.betterbansystem.core.database.mongodb.CachedMongoDBDatabase
-
Inserts a new document into the specified table in the MongoDB database.
- insert(String, Map<String, Object>) - Method in class me.github.simonplays15.betterbansystem.core.database.mysql.CachedMySQLDatabase
-
Inserts data into the specified table and clears the corresponding cache entries.
- insert(String, Map<String, Object>) - Method in class me.github.simonplays15.betterbansystem.core.database.mysql.MySQLDatabase
-
Inserts a new row into the specified table with the given data.
- insert(String, Map<String, Object>) - Method in class me.github.simonplays15.betterbansystem.core.database.sqlite.CachedSQLiteDatabase
-
Inserts data into the specified table.
- insert(String, Map<String, Object>) - Method in class me.github.simonplays15.betterbansystem.core.database.sqlite.SQLiteDatabase
-
Inserts a new row into the specified table with the provided data.
- insert(String, Map<String, Object>) - Method in interface me.github.simonplays15.betterbansystem.core.database.IDatabase
-
Inserts data into the specified table and clears the corresponding cache entries.
- insert(String, Map<String, Object>) - Method in class me.github.simonplays15.betterbansystem.core.database.mongodb.MongoDBDatabase
-
Inserts a new document into the specified table in the MongoDB database.
- instance - Variable in class me.github.simonplays15.betterbansystem.bungeecord.BungeeCore
-
The BungeeCore class represents the core plugin for BetterBanSystem on BungeeCord.
- instance - Variable in class me.github.simonplays15.betterbansystem.spigot.SpigotCore
-
The `instance` variable represents an instance of the `SpigotCore` class, which is a core plugin class for Spigot.
- INSTANTBAN - Enum constant in enum class me.github.simonplays15.betterbansystem.core.automod.AutoModActionType
-
The INSTANTBAN variable represents the action type for instant banning in an auto-moderation system.
- InvalidDescriptionException - Exception in me.github.simonplays15.betterbansystem.api.exceptions
-
Represents an exception that is thrown when a description is invalid.
- InvalidDescriptionException() - Constructor for exception me.github.simonplays15.betterbansystem.api.exceptions.InvalidDescriptionException
-
Represents an exception that is thrown when a description is invalid.
- InvalidDescriptionException(String) - Constructor for exception me.github.simonplays15.betterbansystem.api.exceptions.InvalidDescriptionException
-
Exception indicating an invalid description.
- InvalidDescriptionException(String, Throwable) - Constructor for exception me.github.simonplays15.betterbansystem.api.exceptions.InvalidDescriptionException
-
InvalidDescriptionException is thrown when the description provided is invalid.
- ip() - Method in interface me.github.simonplays15.betterbansystem.core.ban.IIPBanEntry
-
Retrieves the IP address associated with the ban entry.
- ip() - Method in record class me.github.simonplays15.betterbansystem.core.ban.IPBanEntry
-
Returns the value of the
ip
record component. - IpBanCommand - Class in me.github.simonplays15.betterbansystem.core.command.commands
-
The type Ip ban command.
- IpBanCommand() - Constructor for class me.github.simonplays15.betterbansystem.core.command.commands.IpBanCommand
-
Instantiates a new Ip ban command.
- IPBanEntry - Record Class in me.github.simonplays15.betterbansystem.core.ban
-
Represents an entry for an IP ban.
- IPBanEntry(String, String, Date, Object, String) - Constructor for record class me.github.simonplays15.betterbansystem.core.ban.IPBanEntry
-
Creates a new IPBanEntry object and checks if the associated file exists.
- IPBanEntry.IIPBanEntryAdapter - Class in me.github.simonplays15.betterbansystem.core.ban
-
The IIPBanEntryAdapter class is a Gson TypeAdapter for serializing and deserializing IIPBanEntry objects.
- isBlock() - Method in class me.github.simonplays15.betterbansystem.core.player.BaseCommandSender
-
Checks if the command sender is a block.
- isBoolean(String) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Checks if the value at the specified path is a boolean.
- isBungeeCord() - Static method in class me.github.simonplays15.betterbansystem.api.runtimeservice.RuntimeService
-
Checks if the application is running in a BungeeCord environment.
- isConsole() - Method in class me.github.simonplays15.betterbansystem.core.player.BaseCommandSender
-
Checks if the command sender is a console.
- isDebug() - Method in class me.github.simonplays15.betterbansystem.core.logging.GlobalLogger
-
Determines if the application is currently running in debug mode.
- isDouble(String) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Check if the value located at the specified path is a double.
- isInt(String) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Determines if the value stored at the specified path is of type Integer.
- isList(String) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Checks if the value at the specified path is a List.
- isLong(String) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Checks if the value at the specified path is of type Long.
- isOp() - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Determines whether the command sender has operator permissions.
- isOther() - Method in class me.github.simonplays15.betterbansystem.core.player.BaseCommandSender
-
Checks if the sender type is OTHER.
- isPermissionSet(String) - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Determines whether the command sender has the specified permission.
- isPermissionSet(Permission) - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Checks if the command sender has the specified permission.
- isPlayer() - Method in class me.github.simonplays15.betterbansystem.core.player.BaseCommandSender
-
Determines whether the command sender is a player.
- isSpigot() - Static method in class me.github.simonplays15.betterbansystem.api.runtimeservice.RuntimeService
-
Checks if the application is running in a Spigot environment.
- isString(String) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Checks if the value at the specified path is a string.
- IWarnEntry - Interface in me.github.simonplays15.betterbansystem.core.warn
-
The IWarnEntry interface represents a warning entry.
- IWarnEntryAdapter() - Constructor for class me.github.simonplays15.betterbansystem.core.warn.WarnEntry.IWarnEntryAdapter
K
- KickCommand - Class in me.github.simonplays15.betterbansystem.core.command.commands
-
The type Kick command.
- KickCommand() - Constructor for class me.github.simonplays15.betterbansystem.core.command.commands.KickCommand
-
Instantiates a new Kick command.
- kickPlayer(Object, String) - Static method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Kicks the specified player with the given message.
L
- LanguageFile - Class in me.github.simonplays15.betterbansystem.api.files
-
This class represents a language file.
- LanguageFile(String) - Constructor for class me.github.simonplays15.betterbansystem.api.files.LanguageFile
-
Constructs a LanguageFile object by loading the language file from the specified path.
- load(File) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Loads the configuration from the given file.
- loadLanguage(String) - Method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Loads the specified language file.
- loadPermissionsSystem(PermissionsHandlerType) - Method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Loads the permissions system based on the specified
PermissionsHandlerType
. - loadUsercacheJson() - Static method in class me.github.simonplays15.betterbansystem.api.uuid.UUIDFetcher
-
Loads the user cache from the JSON file.
- log(LogLevel, Object...) - Method in class me.github.simonplays15.betterbansystem.core.logging.GlobalLogger
-
Logs a message with the given log level and arguments.
- loginEvent(LoginEvent) - Method in class me.github.simonplays15.betterbansystem.bungeecord.event.events.LoginEvents
-
Handles the login event.
- LoginEvents - Class in me.github.simonplays15.betterbansystem.bungeecord.event.events
-
The LoginEvents class is a listener class that handles login events.
- LoginEvents() - Constructor for class me.github.simonplays15.betterbansystem.bungeecord.event.events.LoginEvents
- LogLevel - Enum Class in me.github.simonplays15.betterbansystem.core.logging
-
The LogLevel enum represents different levels of logging.
- LookUpCommand - Class in me.github.simonplays15.betterbansystem.core.command.commands
-
The type Look up command.
- LookUpCommand() - Constructor for class me.github.simonplays15.betterbansystem.core.command.commands.LookUpCommand
-
Instantiates a new Look up command.
- LUCKPERMS - Enum constant in enum class me.github.simonplays15.betterbansystem.core.permissions.PermissionsHandlerType
-
LUCKPERMS is a class representing the LuckPerms permissions handler.
- LuckPermsManager - Class in me.github.simonplays15.betterbansystem.core.permissions
-
The LuckPermsManager class is responsible for managing permissions using the LuckPerms plugin.
- LuckPermsManager() - Constructor for class me.github.simonplays15.betterbansystem.core.permissions.LuckPermsManager
-
The LuckPermsManager class is responsible for managing permissions using the LuckPerms plugin.
M
- me.github.simonplays15.betterbansystem.api.exceptions - package me.github.simonplays15.betterbansystem.api.exceptions
- me.github.simonplays15.betterbansystem.api.files - package me.github.simonplays15.betterbansystem.api.files
- me.github.simonplays15.betterbansystem.api.runtimeservice - package me.github.simonplays15.betterbansystem.api.runtimeservice
- me.github.simonplays15.betterbansystem.api.uuid - package me.github.simonplays15.betterbansystem.api.uuid
- me.github.simonplays15.betterbansystem.bungeecord - package me.github.simonplays15.betterbansystem.bungeecord
- me.github.simonplays15.betterbansystem.bungeecord.event - package me.github.simonplays15.betterbansystem.bungeecord.event
- me.github.simonplays15.betterbansystem.bungeecord.event.events - package me.github.simonplays15.betterbansystem.bungeecord.event.events
- me.github.simonplays15.betterbansystem.core - package me.github.simonplays15.betterbansystem.core
- me.github.simonplays15.betterbansystem.core.automod - package me.github.simonplays15.betterbansystem.core.automod
- me.github.simonplays15.betterbansystem.core.ban - package me.github.simonplays15.betterbansystem.core.ban
- me.github.simonplays15.betterbansystem.core.chat - package me.github.simonplays15.betterbansystem.core.chat
- me.github.simonplays15.betterbansystem.core.command - package me.github.simonplays15.betterbansystem.core.command
- me.github.simonplays15.betterbansystem.core.command.commands - package me.github.simonplays15.betterbansystem.core.command.commands
- me.github.simonplays15.betterbansystem.core.database - package me.github.simonplays15.betterbansystem.core.database
- me.github.simonplays15.betterbansystem.core.database.mongodb - package me.github.simonplays15.betterbansystem.core.database.mongodb
- me.github.simonplays15.betterbansystem.core.database.mysql - package me.github.simonplays15.betterbansystem.core.database.mysql
- me.github.simonplays15.betterbansystem.core.database.sqlite - package me.github.simonplays15.betterbansystem.core.database.sqlite
- me.github.simonplays15.betterbansystem.core.logging - package me.github.simonplays15.betterbansystem.core.logging
- me.github.simonplays15.betterbansystem.core.mute - package me.github.simonplays15.betterbansystem.core.mute
- me.github.simonplays15.betterbansystem.core.permissions - package me.github.simonplays15.betterbansystem.core.permissions
- me.github.simonplays15.betterbansystem.core.player - package me.github.simonplays15.betterbansystem.core.player
- me.github.simonplays15.betterbansystem.core.warn - package me.github.simonplays15.betterbansystem.core.warn
- me.github.simonplays15.betterbansystem.spigot - package me.github.simonplays15.betterbansystem.spigot
- me.github.simonplays15.betterbansystem.spigot.event - package me.github.simonplays15.betterbansystem.spigot.event
- me.github.simonplays15.betterbansystem.spigot.event.events - package me.github.simonplays15.betterbansystem.spigot.event.events
- MONGODB - Enum constant in enum class me.github.simonplays15.betterbansystem.core.database.DriverType
-
The constant MONGODB is used to represent the MongoDB driver type.
- MongoDBDatabase - Class in me.github.simonplays15.betterbansystem.core.database.mongodb
-
MongoDBDatabase is a concrete class that extends the abstract class Database.
- MongoDBDatabase() - Constructor for class me.github.simonplays15.betterbansystem.core.database.mongodb.MongoDBDatabase
- MUTE - Enum constant in enum class me.github.simonplays15.betterbansystem.core.automod.AutoModActionType
-
The MUTE variable represents the action of muting a user in an auto-moderation system.
- MuteCommand - Class in me.github.simonplays15.betterbansystem.core.command.commands
-
The type Mute command.
- MuteCommand() - Constructor for class me.github.simonplays15.betterbansystem.core.command.commands.MuteCommand
-
Instantiates a new Mute command.
- MuteEntry - Record Class in me.github.simonplays15.betterbansystem.core.mute
-
Represents a mute entry for a player.
- MuteEntry(UUID, String, String, Date, Object, String) - Constructor for record class me.github.simonplays15.betterbansystem.core.mute.MuteEntry
-
Creates a mute entry if the file does not exist.
- MuteEntry.IMuteEntryAdapter - Class in me.github.simonplays15.betterbansystem.core.mute
-
The IMuteEntryAdapter class is a Gson TypeAdapter for serializing and deserializing IMuteEntry objects.
- MuteHandler - Class in me.github.simonplays15.betterbansystem.core.mute
-
The MuteHandler class provides methods for muting and unmuting players.
- MuteHandler() - Constructor for class me.github.simonplays15.betterbansystem.core.mute.MuteHandler
-
The MuteHandler class provides methods for muting and unmuting players.
- MuteManager - Class in me.github.simonplays15.betterbansystem.core.mute
-
The MuteManager class manages mute entries in a system.
- MuteManager() - Constructor for class me.github.simonplays15.betterbansystem.core.mute.MuteManager
-
The MuteManager class manages mute entries in a system.
- MYSQL - Enum constant in enum class me.github.simonplays15.betterbansystem.core.database.DriverType
-
Global constant representing the MYSQL driver type.
- MySQLDatabase - Class in me.github.simonplays15.betterbansystem.core.database.mysql
-
MySQLDatabase is a class that extends the abstract class Database and provides methods for managing an MySQL database.
- MySQLDatabase() - Constructor for class me.github.simonplays15.betterbansystem.core.database.mysql.MySQLDatabase
N
- name() - Method in record class me.github.simonplays15.betterbansystem.core.ban.BanEntry
-
Returns the value of the
name
record component. - name() - Method in interface me.github.simonplays15.betterbansystem.core.ban.IBanEntry
-
Returns the name associated with this ban entry.
- name() - Method in interface me.github.simonplays15.betterbansystem.core.mute.IMuteEntry
-
Retrieves the name of the mute entry.
- name() - Method in record class me.github.simonplays15.betterbansystem.core.mute.MuteEntry
-
Returns the value of the
name
record component. - name() - Method in interface me.github.simonplays15.betterbansystem.core.warn.IWarnEntry
-
Returns the name of the warning entry.
- name() - Method in record class me.github.simonplays15.betterbansystem.core.warn.WarnEntry
-
Returns the value of the
name
record component. - NotImplementedException - Exception in me.github.simonplays15.betterbansystem.api.exceptions
-
The NotImplementedException class is a subclass of RuntimeException, which is thrown to indicate that the code is not implemented yet.
- NotImplementedException() - Constructor for exception me.github.simonplays15.betterbansystem.api.exceptions.NotImplementedException
-
Exception thrown to indicate that code is not implemented yet.
- NotImplementedException(String) - Constructor for exception me.github.simonplays15.betterbansystem.api.exceptions.NotImplementedException
-
Constructs a new
NotImplementedException
with the specified detail message.
O
- of(Object) - Static method in class me.github.simonplays15.betterbansystem.core.player.BungeeCordCommandSender
-
Creates a BungeeCordCommandSender object from the given sender.
- of(Object) - Static method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Converts an object to a SpigotCommandSender.
- onChat(AsyncPlayerChatEvent) - Method in class me.github.simonplays15.betterbansystem.spigot.event.events.PlayerChatEvents
-
Handles the onChat event.
- onChat(ChatEvent) - Method in class me.github.simonplays15.betterbansystem.bungeecord.event.events.ChatEvents
-
Handles the chat event.
- onCommand(CommandSender, Command, String, String[]) - Method in class me.github.simonplays15.betterbansystem.bungeecord.CommandHandler
-
Executes a command.
- onCommand(CommandSender, Command, String, String[]) - Method in class me.github.simonplays15.betterbansystem.spigot.CommandHandler
-
Executes the command when it is called by a sender.
- onCommandSend(PlayerCommandPreprocessEvent) - Method in class me.github.simonplays15.betterbansystem.spigot.event.events.PlayerChatEvents
-
This method handles the PlayerCommandPreprocessEvent and checks if the player is muted.
- onDisable() - Method in class me.github.simonplays15.betterbansystem.spigot.SpigotCore
-
This method is called when the plugin is being disabled.
- onEnable() - Method in class me.github.simonplays15.betterbansystem.bungeecord.BungeeCore
-
Called when the plugin is enabled.
- onEnable() - Method in class me.github.simonplays15.betterbansystem.spigot.SpigotCore
-
Called when the plugin is enabled.
- onLoad() - Method in class me.github.simonplays15.betterbansystem.spigot.SpigotCore
-
This method is called when the plugin is being loaded by the server.
- onLogin(PlayerLoginEvent) - Method in class me.github.simonplays15.betterbansystem.spigot.event.events.PlayerLoginEvents
-
Handles the login event for players.
- onTabComplete(CommandSender, Command, String[]) - Method in class me.github.simonplays15.betterbansystem.bungeecord.CommandHandler
-
Retrieves a list of tab completion options for a given command.
- onTabComplete(CommandSender, Command, String, String[]) - Method in class me.github.simonplays15.betterbansystem.spigot.CommandHandler
-
Provides tab completion for a command.
- onTabComplete(BaseCommandSender, String[]) - Method in class me.github.simonplays15.betterbansystem.core.command.BaseCommand
-
Generates a list of tab completion options for the given command.
- OTHER - Enum constant in enum class me.github.simonplays15.betterbansystem.core.command.CommandSenderType
-
Represents a command sender type other than player, console, or block.
P
- parseActions(String) - Static method in class me.github.simonplays15.betterbansystem.core.automod.AutoModAction
-
Parses a string representation of auto moderation actions and returns an array of AutoModAction objects.
- PermissionManagerLoadException - Exception in me.github.simonplays15.betterbansystem.api.exceptions
-
The PermissionManagerLoadException class represents an exception thrown when there is an error loading the PermissionManager.
- PermissionManagerLoadException() - Constructor for exception me.github.simonplays15.betterbansystem.api.exceptions.PermissionManagerLoadException
-
The PermissionManagerLoadException class represents an exception thrown when there is an error loading the PermissionManager.
- PermissionManagerLoadException(String) - Constructor for exception me.github.simonplays15.betterbansystem.api.exceptions.PermissionManagerLoadException
-
PermissionManagerLoadException represents an exception thrown when there is an error loading the PermissionManager.
- PermissionManagerLoadException(String, Throwable) - Constructor for exception me.github.simonplays15.betterbansystem.api.exceptions.PermissionManagerLoadException
-
Constructs a PermissionManagerLoadException with the specified error message and cause.
- PermissionsHandlerType - Enum Class in me.github.simonplays15.betterbansystem.core.permissions
-
The PermissionsHandlerType enum represents the available types of permissions handlers.
- PermissionsManager - Class in me.github.simonplays15.betterbansystem.core.permissions
-
The PermissionsManager class is an abstract class that provides a base implementation for managing permissions.
- PermissionsManager(PermissionsHandlerType) - Constructor for class me.github.simonplays15.betterbansystem.core.permissions.PermissionsManager
-
The PermissionsManager class is responsible for managing permissions in the system.
- PLAYER - Enum constant in enum class me.github.simonplays15.betterbansystem.core.command.CommandSenderType
-
Represents a player in the game.
- PlayerChatEvents - Class in me.github.simonplays15.betterbansystem.spigot.event.events
-
This class handles player chat events and performs various actions based on the event.
- PlayerChatEvents() - Constructor for class me.github.simonplays15.betterbansystem.spigot.event.events.PlayerChatEvents
- PlayerLoginEvents - Class in me.github.simonplays15.betterbansystem.spigot.event.events
-
The PlayerLoginEvents class handles the login event for players.
- PlayerLoginEvents() - Constructor for class me.github.simonplays15.betterbansystem.spigot.event.events.PlayerLoginEvents
- prefix - Variable in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
The prefix variable stores a string that represents a prefix for messages or commands.
Q
- query(String) - Method in interface me.github.simonplays15.betterbansystem.core.database.IDatabase
-
Executes a database query with the given query string and clears the cache.
- query(String) - Method in class me.github.simonplays15.betterbansystem.core.database.mongodb.CachedMongoDBDatabase
-
Executes a query on the MongoDB database and clears the cache.
- query(String) - Method in class me.github.simonplays15.betterbansystem.core.database.mongodb.MongoDBDatabase
- query(String) - Method in class me.github.simonplays15.betterbansystem.core.database.mysql.CachedMySQLDatabase
-
Clears the cache and executes the given query string.
- query(String) - Method in class me.github.simonplays15.betterbansystem.core.database.mysql.MySQLDatabase
-
Executes the given query string.
- query(String) - Method in class me.github.simonplays15.betterbansystem.core.database.sqlite.CachedSQLiteDatabase
-
Executes a database query with the given query string.
- query(String) - Method in class me.github.simonplays15.betterbansystem.core.database.sqlite.SQLiteDatabase
-
Executes a database query with the given query string.
R
- read(JsonReader) - Method in class me.github.simonplays15.betterbansystem.core.ban.BanEntry.IBanEntryAdapter
-
Reads a JSON object from a JsonReader and creates a new IBanEntry instance based on the read data.
- read(JsonReader) - Method in class me.github.simonplays15.betterbansystem.core.ban.IPBanEntry.IIPBanEntryAdapter
-
Reads a JSON object from a JsonReader and returns an instance of IIPBanEntry.
- read(JsonReader) - Method in class me.github.simonplays15.betterbansystem.core.mute.MuteEntry.IMuteEntryAdapter
-
Reads the JSON representation of an IMuteEntry from a JsonReader and constructs a new IMuteEntry object.
- read(JsonReader) - Method in class me.github.simonplays15.betterbansystem.core.warn.WarnEntry.IWarnEntryAdapter
-
Reads a JSON representation of a warning entry and converts it into an IWarnEntry object.
- reason() - Method in record class me.github.simonplays15.betterbansystem.core.ban.BanEntry
-
Returns the value of the
reason
record component. - reason() - Method in interface me.github.simonplays15.betterbansystem.core.ban.IBanEntry
-
Retrieves the reason associated with this ban entry.
- reason() - Method in interface me.github.simonplays15.betterbansystem.core.ban.IIPBanEntry
-
Returns the reason associated with this IP ban entry.
- reason() - Method in record class me.github.simonplays15.betterbansystem.core.ban.IPBanEntry
-
Returns the value of the
reason
record component. - reason() - Method in interface me.github.simonplays15.betterbansystem.core.mute.IMuteEntry
-
Retrieves the reason for the mute entry.
- reason() - Method in record class me.github.simonplays15.betterbansystem.core.mute.MuteEntry
-
Returns the value of the
reason
record component. - reason() - Method in record class me.github.simonplays15.betterbansystem.core.warn.Warn
-
Returns the value of the
reason
record component. - REASON - Enum constant in enum class me.github.simonplays15.betterbansystem.core.automod.AutoModActionParameters
-
Represents the reason for an AutoMod action.
- recalculatePermissions() - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Recalculates the permissions of the command sender.
- registerEvent(Listener) - Method in class me.github.simonplays15.betterbansystem.bungeecord.event.EventManager
-
Registers an event listener with the plugin's event manager.
- registerEvent(Listener) - Method in class me.github.simonplays15.betterbansystem.spigot.event.EventManager
-
Registers an event listener with this EventManager.
- reloadConfig() - Method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Reloads the configuration by loading the config file into the current
config
object. - removeAttachment(PermissionAttachment) - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Removes a permission attachment from the command sender.
- removeBan(String) - Static method in class me.github.simonplays15.betterbansystem.core.ban.BanHandler
-
Removes the ban for the specified target.
- removeEntry(IBanEntry) - Static method in record class me.github.simonplays15.betterbansystem.core.ban.BanEntry
-
Removes an entry from the ban list.
- removeEntry(IIPBanEntry) - Static method in record class me.github.simonplays15.betterbansystem.core.ban.IPBanEntry
-
Removes an entry from the IP ban list.
- removeEntry(IMuteEntry) - Static method in record class me.github.simonplays15.betterbansystem.core.mute.MuteEntry
-
Removes an entry from the system.
- removeEntry(IWarnEntry) - Static method in record class me.github.simonplays15.betterbansystem.core.warn.WarnEntry
-
Removes the specified warning entry from the system.
- removeFromJson(String) - Static method in record class me.github.simonplays15.betterbansystem.core.ban.IPBanEntry
-
Removes an entry from a JSON file based on the provided IP address.
- removeFromJson(UUID) - Static method in record class me.github.simonplays15.betterbansystem.core.ban.BanEntry
-
Removes a specific UUID from a JSON file.
- removeFromJson(UUID) - Static method in record class me.github.simonplays15.betterbansystem.core.mute.MuteEntry
-
Removes a mute entry with the given UUID from a JSON file or database.
- removeFromJson(UUID) - Static method in record class me.github.simonplays15.betterbansystem.core.warn.WarnEntry
-
Removes the specified UUID from the JSON file.
- removeGroups(String...) - Method in class me.github.simonplays15.betterbansystem.core.player.BungeeCordCommandSender
-
Removes the specified groups from the command sender.
- removeIpBan(String) - Static method in class me.github.simonplays15.betterbansystem.core.ban.BanHandler
-
Removes an IP ban for a given target.
- removeMute(String) - Static method in class me.github.simonplays15.betterbansystem.core.mute.MuteHandler
-
Removes the mute for a specified target.
- removeWarn(int) - Method in interface me.github.simonplays15.betterbansystem.core.warn.IWarnEntry
-
Removes a warning with the specified ID.
- removeWarn(int) - Method in record class me.github.simonplays15.betterbansystem.core.warn.WarnEntry
-
Removes a warning with the specified ID from the warn entry.
- removeWarn(String, int) - Static method in class me.github.simonplays15.betterbansystem.core.warn.WarnHandler
-
Removes a specific warning from the target players warn entry.
- ResourceFile - Class in me.github.simonplays15.betterbansystem.api.files
-
ResourceFile represents a utility class for saving and accessing resources within a data folder.
- ResourceFile(File) - Constructor for class me.github.simonplays15.betterbansystem.api.files.ResourceFile
-
Constructs a new instance of the ResourceFile class.
- rollbackTransaction() - Method in interface me.github.simonplays15.betterbansystem.core.database.IDatabase
-
Rolls back the current transaction.
- rollbackTransaction() - Method in class me.github.simonplays15.betterbansystem.core.database.mongodb.MongoDBDatabase
-
Rolls back the current transaction.
- rollbackTransaction() - Method in class me.github.simonplays15.betterbansystem.core.database.mysql.MySQLDatabase
-
Rolls back the current transaction and sets auto-commit mode to true.
- rollbackTransaction() - Method in class me.github.simonplays15.betterbansystem.core.database.sqlite.SQLiteDatabase
-
Rollbacks the current transaction and restores the auto-commit behavior of the database connection.
- runCommand(BaseCommandSender, String[]) - Method in class me.github.simonplays15.betterbansystem.core.command.commands.LookUpCommand
-
Run command boolean.
- runCommand(BaseCommandSender, String[]) - Method in class me.github.simonplays15.betterbansystem.core.command.BaseCommand
-
Executes the command.
- runCommand(BaseCommandSender, String[]) - Method in class me.github.simonplays15.betterbansystem.core.command.commands.UnbanCommand
-
Run command boolean.
- runCommand(BaseCommandSender, String[]) - Method in class me.github.simonplays15.betterbansystem.core.command.commands.UnbanIpCommand
-
Run command boolean.
- runCommand(BaseCommandSender, String[]) - Method in class me.github.simonplays15.betterbansystem.core.command.commands.BanCommand
- runCommand(BaseCommandSender, String[]) - Method in class me.github.simonplays15.betterbansystem.core.command.commands.BanListCommand
-
Run command boolean.
- runCommand(BaseCommandSender, String[]) - Method in class me.github.simonplays15.betterbansystem.core.command.commands.DelWarnCommand
-
Run command boolean.
- runCommand(BaseCommandSender, String[]) - Method in class me.github.simonplays15.betterbansystem.core.command.commands.IpBanCommand
-
Run command boolean.
- runCommand(BaseCommandSender, String[]) - Method in class me.github.simonplays15.betterbansystem.core.command.commands.KickCommand
-
Run command boolean.
- runCommand(BaseCommandSender, String[]) - Method in class me.github.simonplays15.betterbansystem.core.command.commands.MuteCommand
-
Run command boolean.
- runCommand(BaseCommandSender, String[]) - Method in class me.github.simonplays15.betterbansystem.core.command.commands.TimeBanCommand
-
Run command boolean.
- runCommand(BaseCommandSender, String[]) - Method in class me.github.simonplays15.betterbansystem.core.command.commands.UnmuteCommand
-
Run command boolean.
- runCommand(BaseCommandSender, String[]) - Method in class me.github.simonplays15.betterbansystem.core.command.commands.WarnCommand
-
Run command boolean.
- RuntimeService - Class in me.github.simonplays15.betterbansystem.api.runtimeservice
-
The RuntimeService class provides utility methods for detecting the runtime environment in which the application is running.
- RuntimeService() - Constructor for class me.github.simonplays15.betterbansystem.api.runtimeservice.RuntimeService
S
- save(File) - Method in class me.github.simonplays15.betterbansystem.api.files.BaseConfig
-
Saves the configuration to a file.
- saveConfig() - Method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Saves the configuration to a file.
- saveResource(String, boolean) - Method in class me.github.simonplays15.betterbansystem.api.files.ResourceFile
-
Saves a resource to the specified resource path.
- saveToJson(IBanEntry) - Static method in record class me.github.simonplays15.betterbansystem.core.ban.BanEntry
-
Saves an IBanEntry object to a JSON file or a database table.
- saveToJson(IIPBanEntry) - Static method in record class me.github.simonplays15.betterbansystem.core.ban.IPBanEntry
-
Saves the given IP ban entry to a JSON file or a database.
- saveToJson(IMuteEntry) - Static method in record class me.github.simonplays15.betterbansystem.core.mute.MuteEntry
-
Saves an IMuteEntry object to JSON.
- saveToJson(IWarnEntry) - Static method in record class me.github.simonplays15.betterbansystem.core.warn.WarnEntry
-
Saves a WarnEntry to a JSON file.
- select(String, String) - Method in interface me.github.simonplays15.betterbansystem.core.database.IDatabase
-
Executes a SELECT query on a specified table with a provided condition.
- select(String, String) - Method in class me.github.simonplays15.betterbansystem.core.database.mongodb.CachedMongoDBDatabase
-
Retrieves a list of rows from a database table based on the given condition.
- select(String, String) - Method in class me.github.simonplays15.betterbansystem.core.database.mongodb.MongoDBDatabase
-
Retrieves a list of rows from a database table based on the given condition.
- select(String, String) - Method in class me.github.simonplays15.betterbansystem.core.database.mysql.CachedMySQLDatabase
-
Executes a SELECT query on a specified table with a provided condition.
- select(String, String) - Method in class me.github.simonplays15.betterbansystem.core.database.mysql.MySQLDatabase
-
Executes a SELECT statement on the specified table with a given condition and returns the result as a list of maps.
- select(String, String) - Method in class me.github.simonplays15.betterbansystem.core.database.sqlite.CachedSQLiteDatabase
-
Executes a SELECT query on the specified table with the given condition.
- select(String, String) - Method in class me.github.simonplays15.betterbansystem.core.database.sqlite.SQLiteDatabase
-
Executes a SELECT SQL statement on the specified table with the given condition.
- selectAll(String) - Method in interface me.github.simonplays15.betterbansystem.core.database.IDatabase
-
Retrieves all records from the specified table.
- selectAll(String) - Method in class me.github.simonplays15.betterbansystem.core.database.mongodb.CachedMongoDBDatabase
-
Retrieves all records from the specified table in the MongoDB database.
- selectAll(String) - Method in class me.github.simonplays15.betterbansystem.core.database.mongodb.MongoDBDatabase
-
Retrieves all records from the specified table in the MongoDB database.
- selectAll(String) - Method in class me.github.simonplays15.betterbansystem.core.database.mysql.CachedMySQLDatabase
-
Retrieves all rows from the specified table in the database.
- selectAll(String) - Method in class me.github.simonplays15.betterbansystem.core.database.mysql.MySQLDatabase
-
Retrieves all rows from the specified table in the database.
- selectAll(String) - Method in class me.github.simonplays15.betterbansystem.core.database.sqlite.CachedSQLiteDatabase
-
Retrieves all records from the specified table.
- selectAll(String) - Method in class me.github.simonplays15.betterbansystem.core.database.sqlite.SQLiteDatabase
-
Retrieves all records from the specified table.
- sendHoverableMessage(Object, String, String) - Static method in class me.github.simonplays15.betterbansystem.core.chat.HoverMessageUtil
-
Deprecated.This method is deprecated and should not be used. Use the overloaded methods instead.
- sendHoverableMessage(Object, BaseComponent[]) - Static method in class me.github.simonplays15.betterbansystem.core.chat.HoverMessageUtil
-
Sends a hoverable message to a player.
- sendHoverableMessage(Object, TextComponent) - Static method in class me.github.simonplays15.betterbansystem.core.chat.HoverMessageUtil
-
Sends a hoverable message to a player.
- sendHoverableMessage(Object, TextComponent...) - Static method in class me.github.simonplays15.betterbansystem.core.chat.HoverMessageUtil
-
Sends a hoverable message to a player or proxied player.
- sendMessage(Object, TextComponent) - Static method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Sends a message to a player or console.
- sendMessage(Object, String) - Static method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Sends a message to a player.
- sendMessage(String) - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Sends a message to the command sender with the specified string.
- sendMessage(String...) - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Sends a message or multiple messages to the command sender.
- sendMessage(UUID, String) - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Sends a message to the specified player identified by their UUID.
- sendMessage(UUID, String...) - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
This method sends a message or multiple messages to the command sender.
- sendMessage(Object, TextComponent...) - Static method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Sends a message or multiple messages to a player.
- sendMessage(Object, String...) - Static method in class me.github.simonplays15.betterbansystem.core.BetterBanSystem
-
Sends one or more messages to the specified player.
- sendMessage(String) - Method in class me.github.simonplays15.betterbansystem.core.player.BaseCommandSender
-
Sends a message to the command sender.
- sendMessage(String) - Method in class me.github.simonplays15.betterbansystem.core.player.BungeeCordCommandSender
-
Sends a message to the command sender.
- sendMessage(String...) - Method in class me.github.simonplays15.betterbansystem.core.player.BaseCommandSender
-
Sends a message or multiple messages to the command sender.
- sendMessage(String...) - Method in class me.github.simonplays15.betterbansystem.core.player.BungeeCordCommandSender
-
Sends a message or multiple messages to the command sender.
- sendMessage(UUID, String) - Method in class me.github.simonplays15.betterbansystem.core.player.BaseCommandSender
-
Sends a message to the player with the given UUID.
- sendMessage(UUID, String) - Method in class me.github.simonplays15.betterbansystem.core.player.BungeeCordCommandSender
-
Sends a message to the player with the given UUID.
- sendMessage(UUID, String...) - Method in class me.github.simonplays15.betterbansystem.core.player.BaseCommandSender
-
Sends a message to the specified UUID recipient with the provided string messages.
- sendMessage(UUID, String...) - Method in class me.github.simonplays15.betterbansystem.core.player.BungeeCordCommandSender
-
Sends a message or multiple messages to the command sender.
- sendMessage(BaseComponent) - Method in class me.github.simonplays15.betterbansystem.core.player.BungeeCordCommandSender
-
Sends a message to the command sender.
- sendMessage(BaseComponent...) - Method in class me.github.simonplays15.betterbansystem.core.player.BungeeCordCommandSender
-
Overrides the sendMessage method of the BaseCommandSender class to send multiple messages using BaseComponent.
- sendMessages(String...) - Method in class me.github.simonplays15.betterbansystem.core.player.BungeeCordCommandSender
-
Sends multiple messages to the command sender.
- sendUsage(BaseCommandSender) - Method in class me.github.simonplays15.betterbansystem.core.command.BaseCommand
-
Sends the usage of the command to the specified sender.
- setCommandName(String) - Method in class me.github.simonplays15.betterbansystem.core.command.BaseCommand
-
Sets the name of the command.
- setDebug(boolean) - Method in class me.github.simonplays15.betterbansystem.core.logging.GlobalLogger
-
Sets the debug mode for the GlobalLogger.
- setDescription(String) - Method in class me.github.simonplays15.betterbansystem.core.command.BaseCommand
-
Sets the description of the method.
- setLabel(String) - Method in class me.github.simonplays15.betterbansystem.core.command.BaseCommand
-
Sets the label for a command.
- setOp(boolean) - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Sets the op status of the command sender.
- setPermission(String) - Method in class me.github.simonplays15.betterbansystem.core.command.BaseCommand
-
Sets the permission for the command.
- setPermission(String, boolean) - Method in class me.github.simonplays15.betterbansystem.core.player.BungeeCordCommandSender
-
Sets a permission for the command sender.
- setUsage(String) - Method in class me.github.simonplays15.betterbansystem.core.command.BaseCommand
-
Sets the usage of the command.
- setWriteLogsToFile(boolean) - Method in class me.github.simonplays15.betterbansystem.core.logging.GlobalLogger
-
Sets the flag for writing logs to a file.
- source() - Method in record class me.github.simonplays15.betterbansystem.core.ban.BanEntry
-
Returns the value of the
source
record component. - source() - Method in interface me.github.simonplays15.betterbansystem.core.ban.IBanEntry
-
Retrieves the source of the ban entry.
- source() - Method in interface me.github.simonplays15.betterbansystem.core.ban.IIPBanEntry
-
Returns the source of the IP ban entry.
- source() - Method in record class me.github.simonplays15.betterbansystem.core.ban.IPBanEntry
-
Returns the value of the
source
record component. - source() - Method in interface me.github.simonplays15.betterbansystem.core.mute.IMuteEntry
-
Returns the source of the mute entry.
- source() - Method in record class me.github.simonplays15.betterbansystem.core.mute.MuteEntry
-
Returns the value of the
source
record component. - source() - Method in record class me.github.simonplays15.betterbansystem.core.warn.Warn
-
Returns the value of the
source
record component. - spigot() - Method in class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Retrieves the Spigot for this command sender.
- SPIGOT - Enum constant in enum class me.github.simonplays15.betterbansystem.core.permissions.PermissionsHandlerType
-
The SPIGOT constant represents the SPIGOT permissions handler type.
- SpigotCommandSender - Class in me.github.simonplays15.betterbansystem.core.player
-
SpigotCommandSender is a class that represents a command sender in the Spigot server.
- SpigotCommandSender(Object) - Constructor for class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
Constructor for the SpigotCommandSender class.
- SpigotCommandSender(CommandSender) - Constructor for class me.github.simonplays15.betterbansystem.core.player.SpigotCommandSender
-
SpigotCommandSender is a class that represents a command sender in the Spigot plugin for Bukkit.
- SpigotCore - Class in me.github.simonplays15.betterbansystem.spigot
-
Represents the core plugin class for Spigot.
- SpigotCore() - Constructor for class me.github.simonplays15.betterbansystem.spigot.SpigotCore
- SpigotPermissionsHandler - Class in me.github.simonplays15.betterbansystem.core.permissions
-
The SpigotPermissionsHandler class is a subclass of PermissionsManager that provides a specific implementation for managing permissions using the Spigot permissions system.
- SpigotPermissionsHandler() - Constructor for class me.github.simonplays15.betterbansystem.core.permissions.SpigotPermissionsHandler
-
The SpigotPermissionsHandler class is a subclass of PermissionsManager that provides a specific implementation for managing permissions using the Spigot permissions system.
- SQLITE - Enum constant in enum class me.github.simonplays15.betterbansystem.core.database.DriverType
-
Represents the SQLITE driver type for database connections.
- SQLiteDatabase - Class in me.github.simonplays15.betterbansystem.core.database.sqlite
-
The SQLiteDatabase class represents a database connection and provides methods for interacting with the database.
- SQLiteDatabase() - Constructor for class me.github.simonplays15.betterbansystem.core.database.sqlite.SQLiteDatabase
- start() - Method in class me.github.simonplays15.betterbansystem.core.ban.BanManager
-
Starts the BanManager and schedules tasks to check for expired ban entries.
- start() - Method in class me.github.simonplays15.betterbansystem.core.mute.MuteManager
-
The start method is used to start the mute manager.
- start() - Method in class me.github.simonplays15.betterbansystem.core.warn.WarnManager
-
Starts the auto-deletion of expired warnings based on the configured interval.
- startTransaction() - Method in interface me.github.simonplays15.betterbansystem.core.database.IDatabase
-
Starts a new transaction.
- startTransaction() - Method in class me.github.simonplays15.betterbansystem.core.database.mongodb.MongoDBDatabase
-
Starts a transaction.
- startTransaction() - Method in class me.github.simonplays15.betterbansystem.core.database.mysql.MySQLDatabase
-
Starts a transaction by disabling the auto-commit mode of the database connection.
- startTransaction() - Method in class me.github.simonplays15.betterbansystem.core.database.sqlite.SQLiteDatabase
-
Starts a transaction by setting the auto commit value to false.
- stop() - Method in class me.github.simonplays15.betterbansystem.core.ban.BanManager
-
Shuts down the scheduler and ensures all scheduled tasks are completed or canceled within 5 seconds.
- stop() - Method in class me.github.simonplays15.betterbansystem.core.mute.MuteManager
-
Stops the MuteManager.
- stop() - Method in class me.github.simonplays15.betterbansystem.core.warn.WarnManager
-
Stops the execution of the scheduler and shuts it down gracefully.
- StringFormatter - Class in me.github.simonplays15.betterbansystem.core.chat
-
The StringFormatter class provides methods for formatting messages related to bans and kicks.
- StringFormatter() - Constructor for class me.github.simonplays15.betterbansystem.core.chat.StringFormatter
- STRIP_COLOR_PATTERN - Static variable in class me.github.simonplays15.betterbansystem.core.chat.ChatColor
-
The Pattern used to strip color codes from a string.
- stripColor(String) - Static method in class me.github.simonplays15.betterbansystem.core.chat.ChatColor
-
Removes color formatting from the input string.
T
- testPermission(BaseCommandSender) - Method in class me.github.simonplays15.betterbansystem.core.command.BaseCommand
-
Tests if the specified command sender has the required permission to execute the command.
- testPermission(BaseCommandSender, String) - Method in class me.github.simonplays15.betterbansystem.core.command.BaseCommand
-
This method checks if a given command sender has the specified permission.
- TIMEBAN - Enum constant in enum class me.github.simonplays15.betterbansystem.core.automod.AutoModActionType
-
The TIMEBAN variable represents the action of temporarily banning a user for a specific duration of time.
- TimeBanCommand - Class in me.github.simonplays15.betterbansystem.core.command.commands
-
The type Time ban command.
- TimeBanCommand() - Constructor for class me.github.simonplays15.betterbansystem.core.command.commands.TimeBanCommand
-
Instantiates a new Time ban command.
- toString() - Method in class me.github.simonplays15.betterbansystem.core.automod.AutoModAction
-
Returns a string representation of the AutoModAction object.
- toString() - Method in record class me.github.simonplays15.betterbansystem.core.ban.BanEntry
-
Returns the string representation of the BanEntry object.
- toString() - Method in record class me.github.simonplays15.betterbansystem.core.ban.IPBanEntry
-
Returns a string representation of the IPBanEntry object.
- toString() - Method in class me.github.simonplays15.betterbansystem.core.command.BaseCommand
-
Returns a string representation of the BaseCommand object.
- toString() - Method in record class me.github.simonplays15.betterbansystem.core.mute.MuteEntry
-
Returns a string representation of the mute entry.
- toString() - Method in class me.github.simonplays15.betterbansystem.core.permissions.PermissionsManager
-
Returns a string representation of the PermissionsManager object.
- toString() - Method in record class me.github.simonplays15.betterbansystem.core.warn.Warn
-
Returns a string representation of this record class.
- toString() - Method in record class me.github.simonplays15.betterbansystem.core.warn.WarnEntry
-
Returns a string representation of this record class.
- trace(Object...) - Method in class me.github.simonplays15.betterbansystem.core.logging.GlobalLogger
-
Logs a trace-level message.
- TRACE - Enum constant in enum class me.github.simonplays15.betterbansystem.core.logging.LogLevel
-
This variable represents the tracing level to be used in the system.
- translateAlternateColorCodes(char, String) - Static method in class me.github.simonplays15.betterbansystem.core.chat.ChatColor
-
Translates the alternate color codes in a given string.
U
- UnbanCommand - Class in me.github.simonplays15.betterbansystem.core.command.commands
-
The type Unban command.
- UnbanCommand() - Constructor for class me.github.simonplays15.betterbansystem.core.command.commands.UnbanCommand
-
Instantiates a new Unban command.
- UnbanIpCommand - Class in me.github.simonplays15.betterbansystem.core.command.commands
-
The type Unban ip command.
- UnbanIpCommand() - Constructor for class me.github.simonplays15.betterbansystem.core.command.commands.UnbanIpCommand
-
Instantiates a new Unban ip command.
- UNKNOWN - Enum constant in enum class me.github.simonplays15.betterbansystem.core.automod.AutoModActionParameters
-
Unknown variable to represent an unknown value or parameter.
- UNKNOWN - Enum constant in enum class me.github.simonplays15.betterbansystem.core.automod.AutoModActionType
-
The UNKNOWN variable represents an unknown auto-moderation action type.
- UnmuteCommand - Class in me.github.simonplays15.betterbansystem.core.command.commands
-
The type Unmute command.
- UnmuteCommand() - Constructor for class me.github.simonplays15.betterbansystem.core.command.commands.UnmuteCommand
-
Instantiates a new Unmute command.
- UnsupportedMinecraftServerTypeException - Exception in me.github.simonplays15.betterbansystem.api.exceptions
-
Thrown when an unsupported Minecraft server type is encountered.
- UnsupportedMinecraftServerTypeException() - Constructor for exception me.github.simonplays15.betterbansystem.api.exceptions.UnsupportedMinecraftServerTypeException
-
Exception thrown when an unsupported Minecraft server type is encountered.
- UnsupportedMinecraftServerTypeException(String) - Constructor for exception me.github.simonplays15.betterbansystem.api.exceptions.UnsupportedMinecraftServerTypeException
-
Constructs a new UnsupportedMinecraftServerTypeException with the specified detail message.
- UnsupportedMinecraftServerTypeException(String, Throwable) - Constructor for exception me.github.simonplays15.betterbansystem.api.exceptions.UnsupportedMinecraftServerTypeException
-
Thrown to indicate that an unsupported Minecraft server type has been encountered.
- update(String, String, Object, Map<String, Object>) - Method in class me.github.simonplays15.betterbansystem.core.database.mongodb.CachedMongoDBDatabase
-
Updates a document in the specified MongoDB collection and clears the cache for the updated collection.
- update(String, String, Object, Map<String, Object>) - Method in class me.github.simonplays15.betterbansystem.core.database.mysql.CachedMySQLDatabase
-
Updates a record in the specified table with the given primary key and new data.
- update(String, String, Object, Map<String, Object>) - Method in class me.github.simonplays15.betterbansystem.core.database.mysql.MySQLDatabase
-
Updates a record in the specified table with the new data provided.
- update(String, String, Object, Map<String, Object>) - Method in class me.github.simonplays15.betterbansystem.core.database.sqlite.CachedSQLiteDatabase
-
Updates a record in the specified table with new data based on the primary key.
- update(String, String, Object, Map<String, Object>) - Method in class me.github.simonplays15.betterbansystem.core.database.sqlite.SQLiteDatabase
-
Updates a record in the specified table.
- update(String, String, Object, Map<String, Object>) - Method in interface me.github.simonplays15.betterbansystem.core.database.IDatabase
-
Updates a record in the specified table with the given primary key and new data.
- update(String, String, Object, Map<String, Object>) - Method in class me.github.simonplays15.betterbansystem.core.database.mongodb.MongoDBDatabase
-
Updates a document in the specified MongoDB collection.
- Updater - Class in me.github.simonplays15.betterbansystem.core
-
The Updater class is responsible for checking for updates of a resource.
- Updater() - Constructor for class me.github.simonplays15.betterbansystem.core.Updater
-
The Updater class is responsible for checking for updates of a resource.
- uuid() - Method in record class me.github.simonplays15.betterbansystem.core.ban.BanEntry
-
Returns the value of the
uuid
record component. - uuid() - Method in interface me.github.simonplays15.betterbansystem.core.ban.IBanEntry
-
Generates a new random UUID.
- uuid() - Method in interface me.github.simonplays15.betterbansystem.core.mute.IMuteEntry
-
Generates a new universally unique identifier (UUID).
- uuid() - Method in record class me.github.simonplays15.betterbansystem.core.mute.MuteEntry
-
Returns the value of the
uuid
record component. - uuid() - Method in interface me.github.simonplays15.betterbansystem.core.warn.IWarnEntry
-
Generates a new UUID.
- uuid() - Method in record class me.github.simonplays15.betterbansystem.core.warn.WarnEntry
-
Returns the value of the
uuid
record component. - UUIDFetcher - Class in me.github.simonplays15.betterbansystem.api.uuid
-
Class that retrieves UUIDs of players from the Mojang API or returns their offline UUID.
- UUIDFetcher() - Constructor for class me.github.simonplays15.betterbansystem.api.uuid.UUIDFetcher
V
- valueOf(String) - Static method in enum class me.github.simonplays15.betterbansystem.core.automod.AutoModActionParameters
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.github.simonplays15.betterbansystem.core.automod.AutoModActionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.github.simonplays15.betterbansystem.core.command.CommandSenderType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.github.simonplays15.betterbansystem.core.database.DriverType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.github.simonplays15.betterbansystem.core.logging.LogLevel
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class me.github.simonplays15.betterbansystem.core.permissions.PermissionsHandlerType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class me.github.simonplays15.betterbansystem.core.automod.AutoModActionParameters
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.github.simonplays15.betterbansystem.core.automod.AutoModActionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.github.simonplays15.betterbansystem.core.command.CommandSenderType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.github.simonplays15.betterbansystem.core.database.DriverType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.github.simonplays15.betterbansystem.core.logging.LogLevel
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class me.github.simonplays15.betterbansystem.core.permissions.PermissionsHandlerType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VAULT - Enum constant in enum class me.github.simonplays15.betterbansystem.core.permissions.PermissionsHandlerType
-
VAULT is a class in the PermissionsHandlerType enum that represents a permissions handler for managing permissions in the system.
- VaultPermissionsSystem - Class in me.github.simonplays15.betterbansystem.core.permissions
-
The VaultPermissionsSystem class is a concrete implementation of the PermissionsManager abstract class.
- VaultPermissionsSystem() - Constructor for class me.github.simonplays15.betterbansystem.core.permissions.VaultPermissionsSystem
-
The VaultPermissionsSystem class is a concrete implementation of the PermissionsManager abstract class.
W
- warn(Object...) - Method in class me.github.simonplays15.betterbansystem.core.logging.GlobalLogger
-
Adds a log record of warning level to the logger.
- Warn - Record Class in me.github.simonplays15.betterbansystem.core.warn
-
Represents a warning.
- Warn(int, String, Date, String) - Constructor for record class me.github.simonplays15.betterbansystem.core.warn.Warn
-
Creates an instance of a
Warn
record class. - WARN - Enum constant in enum class me.github.simonplays15.betterbansystem.core.automod.AutoModActionType
- WarnCommand - Class in me.github.simonplays15.betterbansystem.core.command.commands
-
The type Warn command.
- WarnCommand() - Constructor for class me.github.simonplays15.betterbansystem.core.command.commands.WarnCommand
-
Instantiates a new Warn command.
- WarnEntry - Record Class in me.github.simonplays15.betterbansystem.core.warn
-
Represents a warning entry for a player.
- WarnEntry(UUID, String, List<Warn>) - Constructor for record class me.github.simonplays15.betterbansystem.core.warn.WarnEntry
-
Checks if the specified file exists, and if it doesn't, creates a new file.
- WarnEntry.IWarnEntryAdapter - Class in me.github.simonplays15.betterbansystem.core.warn
-
The IWarnEntryAdapter class is a TypeAdapter for serializing and deserializing IWarnEntry objects to and from JSON.
- WarnHandler - Class in me.github.simonplays15.betterbansystem.core.warn
-
The WarnHandler class provides methods for adding and removing warnings for a target player.
- WarnHandler() - Constructor for class me.github.simonplays15.betterbansystem.core.warn.WarnHandler
- warning(String) - Method in class me.github.simonplays15.betterbansystem.core.logging.GlobalLogger
-
Logs a warning message.
- WARNING - Enum constant in enum class me.github.simonplays15.betterbansystem.core.logging.LogLevel
-
Represents a warning log level.
- WarnManager - Class in me.github.simonplays15.betterbansystem.core.warn
-
WarnManager class for managing warnings and auto-deletion of expired warnings.
- WarnManager() - Constructor for class me.github.simonplays15.betterbansystem.core.warn.WarnManager
-
WarnManager class for managing warnings and auto-deletion of expired warnings.
- warns() - Method in interface me.github.simonplays15.betterbansystem.core.warn.IWarnEntry
-
Retrieves the list of warn entries.
- warns() - Method in record class me.github.simonplays15.betterbansystem.core.warn.WarnEntry
-
Returns the value of the
warns
record component. - write(JsonWriter, IBanEntry) - Method in class me.github.simonplays15.betterbansystem.core.ban.BanEntry.IBanEntryAdapter
-
Writes the JSON representation of an IBanEntry object to a JsonWriter.
- write(JsonWriter, IIPBanEntry) - Method in class me.github.simonplays15.betterbansystem.core.ban.IPBanEntry.IIPBanEntryAdapter
-
Writes an IIPBanEntry object to a JsonWriter in a specific format.
- write(JsonWriter, IMuteEntry) - Method in class me.github.simonplays15.betterbansystem.core.mute.MuteEntry.IMuteEntryAdapter
-
Writes the given
IMuteEntry
object to the providedJsonWriter
. - write(JsonWriter, IWarnEntry) - Method in class me.github.simonplays15.betterbansystem.core.warn.WarnEntry.IWarnEntryAdapter
-
Writes an IWarnEntry object to JSON using a JsonWriter.
- writeLogFiles() - Method in class me.github.simonplays15.betterbansystem.core.logging.GlobalLogger
-
Determines whether to write log files.
All Classes and Interfaces|All Packages|Serialized Form
HoverMessageUtil.sendHoverableMessage(java.lang.Object, java.lang.String, java.lang.String)
instead.