#(fireml) ChunkLoad not working

42 messages · Page 1 of 1 (latest)

mellow widget
#

hey so i've written a script which will load a chunk while a player is online. my problem is that chunkload doesn't seem to be doing anything. i executed my command then checked if the chunk was force loaded and it returned false. is it a problem with Denizen or am i just being dumb?

debug:
https://paste.denizenscript.com/View/112506

script:
https://paste.denizenscript.com/View/112507

arctic gulchBOT
#

(fireml) ChunkLoad not working

#

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>

severe crestBOT
# nocturne glen !mcve
Info: mcve

Please create a Minimal, Complete, and Verifiable Example of the problem you're reporting.
Minimal: contains nothing other than the part that's broken (and bare minimum structure).
Complete: contains everything needed to demonstrate the issue.
Verifiable: Anybody should be able to throw it on their own server and see the problem happen for themselves, without any needed tinkering.

nocturne glen
severe crestBOT
# nocturne glen !logcheck https://paste.denizenscript.com/View/112506
Server Version

Paper version git-Paper-83 (MC: 1.20.1)-- (Current build :white_check_mark:)

Plugin Version(s)

Citizens: 2.0.32-SNAPSHOT (build 3150) -- (:warning:Outdated build, behind by 19)
Denizen: 1.2.8-SNAPSHOT (build 6827-DEV) -- (Current build :white_check_mark:)
Depenizen: 2.1.0 (build 836) -- (Current build :white_check_mark:)
dDiscordBot: 0.7 (build 289) -- (Current build :white_check_mark:)

Checked For

@nocturne glen

Online/Offline

Offline, but proxied.

UUID Version

4 (:white_check_mark: Online)

Java Version

17.0.7 :white_check_mark:

Other Noteworthy Plugin(s)

WorldGuard: 7.0.9-beta1+2249-223b80c, ProtocolLib: 5.1.0-SNAPSHOT-660

Possibly Relevant Plugin(s)

ViaVersion: 4.7.0 - Mixed client vs server versions can sometimes cause packet-related issues.
HeadDatabase: 4.17.3 - HeadDatabase has been known to cause issues with skins.
CMI: 9.6.1.1 - CMI tends to mess with a large variety of server features and often gets in the way of issue debugging.
Multiverse-Core: 4.3.9 - Multi-world configuration plugins may affect NPCs in unexpected ways.
FastAsyncWorldEdit: 2.6.5-SNAPSHOT-520;c0e20a6 - This plugin has been known to break the plugin load order on many servers, due to usage of the 'loadbefore' directive in its 'plugin.yml'.

mellow widget
gloomy oar
#

The chunk the player is on is already loaded

mellow widget
#

it tries to keep it force loaded

#

should show up in that tag iirc?

#

!c chunkload

severe crestBOT
# mellow widget !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.

gloomy oar
#

I dont think chunkload forces chunks to load

#

so the tag will return false

#

!m chunk.force_loaded

severe crestBOT
# gloomy oar !m chunk.force_loaded

Sets whether this plugin is force-loaded or not.
Unless you have a specific reason to use this, prefer !command chunkload.

Object

ChunkTag

Input

ElementTag(Boolean)

Tags

<ChunkTag.force_loaded> Returns whether the chunk is forced to stay loaded at all times.

Examples
- adjust <player.location.chunk> force_loaded:true
mellow widget
#

it says it in the command description

gloomy oar
#

It's a mechanism

nocturne glen
#

Force load is a different tag+mech pair afaik, yeah

mellow widget
#

makes sense though

#

i'll switch to that

gloomy oar
nocturne glen
#

chunkload keeps the chunk loaded, but force_loaded is just a seprate thing

gloomy oar
#

Actually yeah it says it "forces" lmao

#

Bad description then I guess?

mellow widget
#

seems like it

nocturne glen
#

I mean, that is what it does - it's just easily confused with force_loaded

mellow widget
#

maybe change it to just "Keeps a chunk loaded in the world for the duration specified or until removed."

#

i updated everything and that tag/mech worked perfectly

bleak compassBOT
#
Resolved

Thread closed as resolved.

nocturne glen
bleak compassBOT
#
Thread Reopened

Thread was manually reopened by @nocturne glen.

mellow widget
#

alright

#

am i good to close this now?

nocturne glen
#

Ye sure