LandActionConfig
Jump to navigation
Jump to search
Land actions have their own Config type.
MiniLandActionConfig has
@Getter @Setter
private boolean setMarker;
@Getter
private final IChunkPos origin;
as we are always at some location and possibly want to mark it.
LandActionConfig has
@Getter
private final String buyerAccount;
as there is mostly something to be payed for the action.
Event if nothing has to be payed we might log the action to the account transfer-history to keep a log per player.
ConfirmLandActionConfig has
@Getter @Setter
private boolean needsConfirmation = false;
set to True as default. /land XXXX YYYY [OK] at the end for confirmation and allows easy validation for all commands