Hi,
I just decided to make a farm skript, because I wanted to try how it worked. I were able to make the farm plugin itself, but I want cooldown on farming, but I don't know how to make this.
This is my code:
So what I want, is that you need to wait 10 seconds before farming again, and it also gives a message in chat. Somebody able to help me out?!
- Finn04
I just decided to make a farm skript, because I wanted to try how it worked. I were able to make the farm plugin itself, but I want cooldown on farming, but I don't know how to make this.
This is my code:
Code:
on rightclick on ripe wheat:
if player is holding a hoe:
cancel event
message "{@tag} &aYou succesfully farmed wheat!"
set block to air
drop wheat
set durability of player's tool to (durability of player's tool + 1)
add 1 to {xp.%player%}
set event-block to air
wait 10 seconds
set event-block to crops
So what I want, is that you need to wait 10 seconds before farming again, and it also gives a message in chat. Somebody able to help me out?!
- Finn04
