Class ConfirmAPI
java.lang.Object
ru.cwcode.cwutils.confirmable.velocity.ConfirmAPI
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetString(com.velocitypowered.api.proxy.Player player) static voidonSuccess(com.velocitypowered.api.proxy.Player player) requestBuilder(com.velocitypowered.api.proxy.Player sender, String confirmableString, long timeToConfirm) static booleansenderAffected(com.velocitypowered.api.proxy.Player player)
-
Constructor Details
-
ConfirmAPI
public ConfirmAPI()
-
-
Method Details
-
requestBuilder
public static ConfirmAPI.ConfirmableBuilder requestBuilder(com.velocitypowered.api.proxy.Player sender, String confirmableString, long timeToConfirm) -
getString
-
senderAffected
public static boolean senderAffected(com.velocitypowered.api.proxy.Player player) -
onSuccess
public static void onSuccess(com.velocitypowered.api.proxy.Player player)
-