A ban entry may have multiple actions that will be executed when an item or block matches its criterias.
Removes the item or block from the world.
By default the player can keep the block or item that is banned (this is useful when an item is only banned in some dimensions).
|Prints a message to the player.
|Logs the incident to the console
|Kicks the player from the server with the given message
|String kickMessage, String banMessage
|Bans a player from the server
|Executes a command in a console point of view
|Executes a command in a player point of view
The command of ServerCommand and PlayerCommand has some patterns for the execution environment:
|The player name
The player's UUID with hypens
|The item id
|The item meta / damage
|The item stack size
|The dimension id of the incident