Client Sided Farming

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

Feb 25, 2025
3
0
1
Hi there! I was wondering how I could create a version of client sided farming onto a server? I'm really just wondering how I can make players view it and if they break the block, somehow the skript or plugin knows that they did and can give them xp? Also i'm really wanting to make it reappear every so often in an area like spawn, since they will be ghosts blocks im pretty sure players can still break it. I have no experience with skript so this would be really helpful! Ive already started off on it with

every 15 seconds:
loop all players:
set {_world} to world "Farm"
set {_start} to location at 225, -60, 578 in {_world}
set {_end} to location at 285, -60, 600 in {_world}
loop blocks between {_start} and {_end}:
if loop-block is air:
make loop-player see loop-block as wheat[age=7]

but right now the players can only right click it for it to dissapear and there is no data assigned to the block :/