Jump to content

generator online drops


redpandq

Recommended Posts

Helllo! How I make that if the player is online generator drops the item. If player is offline it stops to drop them. I would be so thankful if somebody could help me 🙂

heres my code

every 10 seconds:
    loop all players:
        loop all blocks in radius 10 around loop-player:
            if loop-block is dirt:
                drop a sand at loop-block's position  

Edited by redpandq
yes
Link to comment
Share on other sites

On 6/20/2021 at 1:03 PM, redpandq said:

Helllo! How I make that if the player is online generator drops the item. If player is offline it stops to drop them. I would be so thankful if somebody could help me 🙂

heres my code

every 10 seconds:
    loop all players:
        loop all blocks in radius 10 around loop-player:
            if loop-block is dirt:
                drop a sand at loop-block's position  

1. Post issues in skript discussion

2. You should add the generators to a list variable connected with the player. (ex. {Gens::%loop-player%::*})

 

 

image.png.bc433d6489d70ad831075fe76809b993.png
 

Lifestealed | Minecraft Servers
 

OG [VIP] 12/26/20 - 10/27/2021
OG [PRO] 12/27/21 - 11/18/2022
OG [LEGEND] 11/18/2022 - 3/14/2023
[DEFAULT] 3/14/2023 - Present

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...