#(Niklas) Error in my script

34 messages · Page 1 of 1 (latest)

gleaming bison
reef solarBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

proud fjord
#

Doooo.. you have a debug report?

#

Indicating an error?

gleaming bison
#

nah cause it is just sometimes...

#

if there is no player nearby...

#

if the chunk isnt loaded...

proud fjord
#

Soo load the chunk before doing ya things

#

!c chunkload

mental joltBOT
# proud fjord !c chunkload
Group

world

Syntax

chunkload ({add}/remove/removeall) [<chunk>|...] (duration:<value>)

Short Description

Keeps a chunk actively loaded and allowing activity.

Description

Forces a chunk to load and stay loaded in the world for the duration specified or until removed.
This will not persist over server restarts.
If no duration is specified it defaults to 0 (forever).
While a chunk is loaded all normal activity such as crop growth and npc activity continues,
other than activity that requires a nearby player.

gleaming bison
#

wont this give huge lags?

#

Could I just let the plant grow in 6 seconds, flag it, then when the flag has expired the player can get his drops?

proud fjord
#

You can do that too

#

but chunkload shouldn't causing lag

#

you can just load it for a tick, do the thing and then it gets unloaded again

- chunkload <[chunk]> duration:1t

gleaming bison
#

it is because <player.location>

#

i should use the defined location of the armor stand

#

line 57 is important

proud fjord
#

Yeah

#

the entity is not loaded

#

because the chunk isn't loaded

#

entity load when the chunk load

gleaming bison
#

where do I have to set the chunkload

#

which line

proud fjord
#

before you use tags that require the chunk to be loaded