ActionHandler

A class that handles and manages actions performed by CommandSender.

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
fun addAction(sender: CommandSender, action: ConfirmAction)

Adds an action to the map.

Link copied to clipboard
fun getAction(sender: CommandSender?): ConfirmAction?

Returns the action performed by the CommandSender.

Link copied to clipboard
fun getActions(): Map<CommandSender, ConfirmAction>

Returns all the actions stored in the map.

Link copied to clipboard
fun removeAction(sender: CommandSender?)

Removes an action from the map.