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.Deprecated.Deprecated.Deprecated.Deprecated.OfflinePlayer.banPlayer
(@Nullable String reason, Date expires, @Nullable String source, boolean kickIfOnline) Deprecated.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, 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.addBan
(@NotNull PlayerProfile target, @Nullable String reason, @Nullable Date expires, @Nullable String source) <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) Deprecated.default BanEntry
Player.banPlayerFull
(@Nullable String reason, @Nullable String source) Deprecated.default BanEntry
Player.banPlayerFull
(@Nullable String reason, Date expires) Deprecated.default BanEntry
Deprecated.default BanEntry
Player.banPlayerIP
(@Nullable String reason) Deprecated.default BanEntry
Player.banPlayerIP
(@Nullable String reason, boolean kickPlayer) Deprecated.default BanEntry
Player.banPlayerIP
(@Nullable String reason, @Nullable String source) Deprecated.default BanEntry
Player.banPlayerIP
(@Nullable String reason, @Nullable String source, boolean kickPlayer) Deprecated.default BanEntry
Player.banPlayerIP
(@Nullable String reason, Date expires) Deprecated.default BanEntry
Player.banPlayerIP
(@Nullable String reason, Date expires, boolean kickPlayer) Deprecated.default BanEntry
Deprecated.default BanEntry
Player.banPlayerIP
(@Nullable String reason, Date expires, @Nullable String source, boolean kickPlayer) Deprecated.
BanList.addBan(Object, String, Date, String)