Open Parties and Claims

Open Parties and Claims

25M Downloads

Forceload not working for server claims.

NiliusJulius opened this issue ยท 11 comments

commented

I'm playing on a server, and have created some claims in server-claim-mode.
If I mark these as forceloaded, and leave the area, they do not keep the area loaded, but if I make a player claim and forceload them, it does.

One thing that does work is:
If a chunk is forceloaded by for example the /forceload command, and in the server claim settings, forceload offline has been turned on, the forceload offline does get applied, so it seems to just be the forceload part that does not work.

This is on 1.20.2

commented

I'd be surprised if this is actually true. How are you testing whether chunks are forceloaded or not? Is regular forceloading turned on in the server claim config?

The /forceload command does not care about anything in this mod. It would forceload the chunk no matter what you configured. You shouldn't use that to test anything related to the mod.

commented

We first noticed it with a bonemeal farm.
To test I go to a random chunk which I forceload as server-claim, setup a dropper which empties its contents automatically and then teleport 20 chunks away.
When I tp back to the forceloaded chunk a minute later, the dropper has not emptied.

commented

Yes that is turned on
image

commented

I see, that's a good way to test it. So is regular forceloading enabled in the server claim config? Please double-check.

commented

Is this Forge or Fabric?

commented

Interesting. I'll look into it.

commented

Fabric

commented

Thanks, I'll check it out.

commented

Seems to be working in all my tests. I don't even remember how server claim forceloading is any different from player claim forceloading besides having unlimited forceloads. I don't think it is any different, which isn't making any sense in regards to this issue. I'll make sure though.

commented

I think I know what might be wrong. It is in fact related to server forceloads being unlimited.

commented

Yep, can confirm. The limit is still enforced when forceload tickets are being added. If you toggle forceloading off and on, it'll update the tickets and ignore limits for server claims, fixing the issue.