Uses of Interface
org.bukkit.BanEntry
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes relevant to bans.
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.-
Uses of BanEntry in org.bukkit
Modifier and TypeMethodDescriptionBanList.addBan
(@NotNull String target, @Nullable String reason, @Nullable Date expires, @Nullable String source) Deprecated.<E extends BanEntry<? super PlayerProfile>>
EAdds this user to theProfileBanList
.<E extends BanEntry<? super PlayerProfile>>
EAdds this user to theProfileBanList
.<E extends BanEntry<? super PlayerProfile>>
EAdds this user to theProfileBanList
.BanList.getBanEntry
(@NotNull String target) Deprecated.BanList.getEntries()
Gets a set containing everyBanEntry
in this list.Modifier and TypeMethodDescriptionBanList.addBan
(T target, @Nullable String reason, @Nullable Duration duration, @Nullable String source) Adds a ban to this list.BanList.addBan
(T target, @Nullable String reason, @Nullable Instant expires, @Nullable String source) Adds a ban to this list.Adds a ban to this list.Permanently Bans this player from the serverPermanently Bans this player from the serverBans this player from the serverBans this player from the serverOfflinePlayer.banPlayer
(@Nullable String reason, Date expires, @Nullable String source, boolean kickIfOnline) BanList.getBanEntry
(T target) Gets aBanEntry
by target.Modifier and TypeMethodDescriptionBanList.getBanEntries()
Deprecated.This return a generic class, prefer useBanList.getEntries()
-
Uses of BanEntry in org.bukkit.ban
Modifier and TypeMethodDescription<E extends BanEntry<? super PlayerProfile>>
EProfileBanList.addBan
(@NotNull PlayerProfile target, @Nullable String reason, @Nullable Date expires, @Nullable String source) <E extends BanEntry<? super PlayerProfile>>
EProfileBanList.addBan
(@NotNull PlayerProfile target, @Nullable String reason, Duration duration, @Nullable String source) Deprecated.<E extends BanEntry<? super PlayerProfile>>
EProfileBanList.addBan
(@NotNull PlayerProfile target, @Nullable String reason, Instant expires, @Nullable String source) Deprecated.<E extends BanEntry<? super PlayerProfile>>
EProfileBanList.getBanEntry
(@NotNull PlayerProfile target) Deprecated. -
Uses of BanEntry in org.bukkit.entity
Modifier and TypeMethodDescription<E extends BanEntry<? super PlayerProfile>>
EPlayer.ban
(@Nullable String reason, @Nullable Duration duration, @Nullable String source, boolean kickPlayer) Adds this user to theProfileBanList
.<E extends BanEntry<? super PlayerProfile>>
EPlayer.ban
(@Nullable String reason, @Nullable Instant expires, @Nullable String source, boolean kickPlayer) Adds this user to theProfileBanList
.<E extends BanEntry<? super PlayerProfile>>
EPlayer.ban
(@Nullable String reason, @Nullable Date expires, @Nullable String source, boolean kickPlayer) Adds this user to theProfileBanList
.Modifier and TypeMethodDescriptionPlayer.banIp
(@Nullable String reason, @Nullable Duration duration, @Nullable String source, boolean kickPlayer) Adds this user's current IP address to theIpBanList
.Player.banIp
(@Nullable String reason, @Nullable Instant expires, @Nullable String source, boolean kickPlayer) Adds this user's current IP address to theIpBanList
.Player.banIp
(@Nullable String reason, @Nullable Date expires, @Nullable String source, boolean kickPlayer) Adds this user's current IP address to theIpBanList
.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
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
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.
BanList.addBan(Object, String, Date, String)