log

public abstract CompletableFuture<Void> log(UUID playerUuid, String action, String target, String metadata)

Logs an action.

Return

A future that completes when the log is persisted.

Parameters

playerUuid

The player's UUID.

action

The action name (e.g., GRANT, REVOKE, EQUIP, UNEQUIP).

target

The target of the action (e.g., skin ID, bundle ID).

metadata

Additional metadata.