接口的使用
org.bukkit.BanEntry
使用BanEntry的程序包
-
org.bukkit中BanEntry的使用
返回BanEntry的org.bukkit中的方法修饰符和类型方法说明BanList.addBan(@NotNull String target, @Nullable String reason, @Nullable Date expires, @Nullable String source) 已过时。BanList.addBan(T target, @Nullable String reason, @Nullable Duration duration, @Nullable String source) 添加一个封禁到这个列表。BanList.addBan(T target, @Nullable String reason, @Nullable Instant expires, @Nullable String source) 添加一个封禁到这个列表。添加一个封禁到这个列表。Adds this user to theProfileBanList.Adds this user to theProfileBanList.Adds this user to theProfileBanList.BanList.getBanEntry(@NotNull String target) 已过时。BanList.getBanEntry(T target) 根据封禁目标(IP地址或玩家资料)来获取对应的BanEntry.返回变量类型为BanEntry的类型的org.bukkit中的方法修饰符和类型方法说明BanList.getBanEntries()已过时。该方法返回了一个形参化类的原始使用, 推荐使用带泛型参数的BanList.getEntries()BanList.getEntries()获取此列表包含的所有BanEntry. -
org.bukkit.ban中BanEntry的使用
返回BanEntry的org.bukkit.ban中的方法 -
org.bukkit.entity中BanEntry的使用
返回BanEntry的org.bukkit.entity中的方法修饰符和类型方法说明Player.ban(@Nullable String reason, @Nullable Duration duration, @Nullable String source, boolean kickPlayer) Adds this user to theProfileBanList.Player.ban(@Nullable String reason, @Nullable Instant expires, @Nullable String source, boolean kickPlayer) Adds this user to theProfileBanList.Player.ban(@Nullable String reason, @Nullable Date expires, @Nullable String source, boolean kickPlayer) Adds this user to theProfileBanList.Player.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.
BanList.addBan(Object, String, Date, String)