Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
API Documentation
Triggered when a timer is modified.
@EventHandler public void onVCTEvent(VCTEvent event) { if (event.getType() == VCTEventType.MODIFY) { String timerId = event.getTimerId(); String modifier = event.getModifier(); String modification = event.getModification(); Bukkit.broadcastMessage("Timer " + timerId + " was modified! | Modifier: " + modifier + " | Modification: " + modification); } }
vct_modify_example: type: custom custom_event_data: event: voiidstudios.vct.api.VCTEvent variables_to_capture: - '%eventType%;getType()' - '%timerId%;getTimerId()' - '%modifier%;getModifier()' - '%modification%;getModification()' conditions: - '%eventType% == MODIFY' actions: default: - 'to_all: actionbar: Timer %timerId% was modified! | Modifier: %modifier% | Modification: %modification%;200'
/vct modify
String getTimerId()
String getModifier()
String getModification()