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. |
Modifier and Type | Method and 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,
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) |
default @NotNull BanEntry |
OfflinePlayer.banPlayer(@Nullable String reason,
@Nullable String source)
Permanently Bans this player from the server
|
@Nullable BanEntry |
BanList.getBanEntry(@NotNull String target)
Gets a
BanEntry by target. |
Modifier and Type | Method and Description |
---|---|
default @Nullable BanEntry |
Player.banPlayerFull(@Nullable String reason)
Permanently Bans the Profile and IP address currently used by the player.
|
default @Nullable BanEntry |
Player.banPlayerFull(@Nullable String reason,
@Nullable Date expires)
Bans the Profile and IP address currently used by the player.
|
default @Nullable BanEntry |
Player.banPlayerFull(@Nullable String reason,
@Nullable Date expires,
@Nullable String source)
Bans the Profile and IP address currently used by the player.
|
default @Nullable BanEntry |
Player.banPlayerFull(@Nullable String reason,
@Nullable String source)
Permanently Bans the Profile and IP address currently used by the player.
|
default @Nullable BanEntry |
Player.banPlayerIP(@Nullable String reason)
Permanently Bans the IP address currently used by the player.
|
default @Nullable BanEntry |
Player.banPlayerIP(@Nullable String reason,
boolean kickPlayer)
Permanently Bans the IP address currently used by the player.
|
default @Nullable BanEntry |
Player.banPlayerIP(@Nullable String reason,
@Nullable Date expires)
Bans the IP address currently used by the player.
|
default @Nullable BanEntry |
Player.banPlayerIP(@Nullable String reason,
@Nullable Date expires,
boolean kickPlayer)
Bans the IP address currently used by the player.
|
default @Nullable BanEntry |
Player.banPlayerIP(@Nullable String reason,
@Nullable Date expires,
@Nullable String source)
Bans the IP address currently used by the player.
|
default @Nullable BanEntry |
Player.banPlayerIP(@Nullable String reason,
@Nullable Date expires,
@Nullable String source,
boolean kickPlayer)
Bans the IP address currently used by the player.
|
default @Nullable BanEntry |
Player.banPlayerIP(@Nullable String reason,
@Nullable String source)
Permanently Bans the IP address currently used by the player.
|
default @Nullable BanEntry |
Player.banPlayerIP(@Nullable String reason,
@Nullable String source,
boolean kickPlayer)
Permanently Bans the IP address currently used by the player.
|
Copyright © 2021. All rights reserved.