# Uses of Interface
org.bukkit.BanEntry

Packages that use BanEntry
Package
Description
org.bukkit
The root package of the Bukkit API, contains generalized API classes.
org.bukkit.entity
Interfaces for non-voxel objects that can exist in a `world`, including all players, monsters, projectiles, etc.

## Uses of BanEntry in org.bukkit

Methods in org.bukkit that return BanEntry
Modifier and Type
Method
Description
`@Nullable BanEntry`
BanList.`addBan(@NotNull String target, @Nullable String reason, @Nullable Date expires, @Nullable String source)`
Adds a ban to the this list.
`default @NotNull BanEntry`
OfflinePlayer.`banPlayer(@Nullable String reason)`
Permanently Bans this player from the server
`default @NotNull BanEntry`
OfflinePlayer.`banPlayer(@Nullable String reason, @Nullable String source)`
Permanently Bans this player from the server
`default @NotNull BanEntry`
OfflinePlayer.`banPlayer(@Nullable String reason, Date expires)`
Bans this player from the server
`default @NotNull BanEntry`
OfflinePlayer.`banPlayer(@Nullable String reason, Date expires, @Nullable String source)`
Bans this player from the server
`default @NotNull BanEntry`
OfflinePlayer.`banPlayer(@Nullable String reason, Date expires, @Nullable String source, boolean kickIfOnline)`
`@Nullable BanEntry`
BanList.`getBanEntry(@NotNull String target)`
Gets a `BanEntry` by target.
Methods in org.bukkit that return types with arguments of type BanEntry
Modifier and Type
Method
Description
`@NotNull Set<BanEntry>`
BanList.`getBanEntries()`
Gets a set containing every `BanEntry` in this list.

## Uses of BanEntry in org.bukkit.entity

Methods in org.bukkit.entity that return BanEntry
Modifier and Type
Method
Description
`default BanEntry`
Player.`banPlayerFull(@Nullable String reason)`
Permanently Bans the Profile and IP address currently used by the player.
`default BanEntry`
Player.`banPlayerFull(@Nullable String reason, @Nullable String source)`
Permanently Bans the Profile and IP address currently used by the player.
`default BanEntry`
Player.`banPlayerFull(@Nullable String reason, Date expires)`
Bans the Profile and IP address currently used by the player.
`default BanEntry`
Player.`banPlayerFull(@Nullable String reason, Date expires, @Nullable String source)`
Bans the Profile and IP address currently used by the player.
`default BanEntry`
Player.`banPlayerIP(@Nullable String reason)`
Permanently Bans the IP address currently used by the player.
`default BanEntry`
Player.`banPlayerIP(@Nullable String reason, boolean kickPlayer)`
Permanently Bans the IP address currently used by the player.
`default BanEntry`
Player.`banPlayerIP(@Nullable String reason, @Nullable String source)`
Permanently Bans the IP address currently used by the player.
`default BanEntry`
Player.`banPlayerIP(@Nullable String reason, @Nullable String source, boolean kickPlayer)`
Permanently Bans the IP address currently used by the player.
`default BanEntry`
Player.`banPlayerIP(@Nullable String reason, Date expires)`
Bans the IP address currently used by the player.
`default BanEntry`
Player.`banPlayerIP(@Nullable String reason, Date expires, boolean kickPlayer)`
Bans the IP address currently used by the player.
`default BanEntry`
Player.`banPlayerIP(@Nullable String reason, Date expires, @Nullable String source)`
Bans the IP address currently used by the player.
`default BanEntry`
Player.`banPlayerIP(@Nullable String reason, Date expires, @Nullable String source, boolean kickPlayer)`
Bans the IP address currently used by the player.