-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Events:
wheat:
type: custom
custom_event_data:
event: me.rivaldev.harvesterhoes.api.events.RivalBlockBreakEvent
player_variable: getPlayer()
variables_to_capture:
- '%crop_type%;getCrop().getType()'
conditions:
- '%crop_type% contains WHEAT'
actions:
default:
- "console_command: coreplugin:kcore giveitem %player_name% nexo:wheat 1-3"
- "console_command: eco give pixelcoins %player_name% 1"
- "console_command: cyberlevel addExp 1 %player_name%"
- "wait_ticks: 1" # 10-20 ticks = 0.5-1 seconde
- "remove_item: %checkitem_remove_mat:WHEAT%"
- "wait_ticks: 1" # 10-20 ticks = 0.5-1 seconde
- "remove_item: %checkitem_remove_mat:WHEAT_SEEDS,amt:{checkitem_mat:WHEAT_SEEDS}%"
https://imgur.com/a/4RYdsPb
version:
This server is running Purpur version 1.21.8-2497-HEAD@a49cdb9 (2025-09-19T01:51:04Z) (Implementing API version 1.21.8-R0.1-SNAPSHOT)
- You are running the latest version