Uses of Interface
me.github.simonplays15.betterbansystem.core.ban.IBanEntry
Packages that use IBanEntry
Package
Description
-
Uses of IBanEntry in me.github.simonplays15.betterbansystem.core.ban
Classes in me.github.simonplays15.betterbansystem.core.ban that implement IBanEntryModifier and TypeClassDescriptionfinal recordBanEntry represents a single ban entry in a ban system.Methods in me.github.simonplays15.betterbansystem.core.ban that return IBanEntryModifier and TypeMethodDescriptionstatic @NotNull IBanEntryBanHandler.addBan(@NotNull BaseCommandSender sender, @NotNull String target, String reason, Date expires) Adds a ban entry for a target player.static IBanEntryBanHandler.findBanEntry(String playerName) Finds a ban entry for the given player name.static IBanEntryBanHandler.findBanEntry(UUID uuid) Finds a ban entry for the given UUID.static IBanEntryFinds an entry in the list of all entries by UUID.BanEntry.IBanEntryAdapter.read(@NotNull com.google.gson.stream.JsonReader reader) Reads a JSON object from a JsonReader and creates a new IBanEntry instance based on the read data.Methods in me.github.simonplays15.betterbansystem.core.ban that return types with arguments of type IBanEntryModifier and TypeMethodDescriptionBanEntry.getAllEntries()Retrieves all ban entries from the database and/or file.Methods in me.github.simonplays15.betterbansystem.core.ban with parameters of type IBanEntryModifier and TypeMethodDescriptionstatic voidBanEntry.removeEntry(@NotNull IBanEntry entry) Removes an entry from the ban list.static voidBanEntry.saveToJson(IBanEntry entry) Saves an IBanEntry object to a JSON file or a database table.voidBanEntry.IBanEntryAdapter.write(@NotNull com.google.gson.stream.JsonWriter writer, @NotNull IBanEntry entry) Writes the JSON representation of an IBanEntry object to a JsonWriter. -
Uses of IBanEntry in me.github.simonplays15.betterbansystem.core.chat
Methods in me.github.simonplays15.betterbansystem.core.chat with parameters of type IBanEntryModifier and TypeMethodDescriptionstatic @NotNull StringStringFormatter.formatBanMessage(@NotNull IBanEntry entry) Formats a ban message for a given ban entry.