๐ก Events reference
All public events live under com.ssomar.score.api.<plugin>.events (and .load for the lifecycle events). Import them from the com.ssomar:SCore artifact.
ExecutableItems
| Event | Cancellable | Fired when |
|---|---|---|
ExecutableItemActivateEvent | โ | an EI activator triggers for a player, before conditions run |
AddItemInPlayerInventoryEvent | โ | an EI enters a player inventory |
RemoveItemInPlayerInventoryEvent | โ | an EI leaves a player inventory |
ExecutableItemsPostLoadEvent | โ | all EI configurations are loaded |
RefreshExecutableItemEvent (in com.ssomar.score.events) | โ | an EI is refreshed (command or auto-update activator) |
ExecutableBlocks
| Event | Cancellable | Fired when |
|---|---|---|
ExecutableBlockPlaceEvent | โ | an EB is placed |
ExecutableBlockBreakEvent | โ | a placed EB is broken (BreakMethod NATURAL / CUSTOM) |
ExecutableBlockPistonBreakEvent | โ | a piston is about to break a placed EB |
ExecutableBlockLiquidBreakEvent | โ | a liquid is about to break a placed EB |
EntityWalkOnExecutableBlockEvent | โ | an entity walks on an EB with an ENTITY_WALK_ON activator |
ExecutableBlocksPostLoadEvent | โ | all EB configurations are loaded |
ExecutableEvents
| Event | Cancellable | Fired when |
|---|---|---|
ExecutableEventActivateEvent | โ | an EE activator triggers, before conditions run (player may be null, thread-aware) |
ExecutableEventsPostLoadEvent | โ | all EE configurations are loaded |
ExecutableCrafting
| Event | Cancellable | Fired when |
|---|---|---|
ExecutableCraftingCraftEvent | โ | a player crafts with a custom recipe, before ingredients are consumed (result mutable) |
ExecutableCraftingPostLoadEvent | โ | all recipes are loaded and registered |
MyFurniture
| Event | Cancellable | Fired when |
|---|---|---|
FurniturePlaceEvent | โ | a furniture is placed |
FurnitureBreakEvent | โ | a placed furniture is broken (BreakMethod) |
MyFurniturePostLoadEvent | โ | all furniture configurations are loaded |
CustomPiglinsTrades
| Event | Cancellable | Fired when |
|---|---|---|
PiglinTradeEvent | โ | a player triggers a custom piglin trade, before it runs |
CustomPiglinsTradesPostLoadEvent | โ | all trade configurations are loaded |
Tip
Every *PostLoadEvent carries the loaded manager (e.getManager()), so you can do your initial scan right in the listener without a lookup race.
Try it now
Copy this into ExecutableItems and reload
From the SCore custom commands reference. Paste it into a config, run the plugin's reload command, and you have a working starting point to edit.
activators:
activator0: # Activator ID, you can create as many activator on the activators list
option: # Here goes an activator that is at least instance of player
playerCommands:
- ABSORPTION amount:5 time:200 # Gives the player absorption
activator1: # Activator ID, you can create as many activator on the activators list
option: # Here goes an activator that is at least instance of target
targetCommands:
- ABSORPTION amount:5 time:200 # Gives the target absorptionE
Plugin used on this page
ExecutableItemsCustom items with abilities, activators and commands โ no code.
Created Jul 11, 2026Last updated Jul 11, 2026 by Ssomar
Edit this page on GitHub