Problem How to keep Mystcraft ages loaded?

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

Rebirth Gaming

New Member
Jul 29, 2019
360
0
0
We are experimenting with ways to grant players access to Mystcraft ages. We created an ocean of lava age as a test with world specific permissions, banned items, pricing of access to the age, etc.

The way we are granting access to these ages is via BossShop. The player can click an icon in the GUI which sends console commands to add permissions to the user, as well as warping them there.
Once the player makes the initial purchase of granting them access to the age, they can get to the age again for free on an unlimited basis by using /warp.

Because of this method, we aren't using linking books with the exception of the initial creation of the age.

Here's the issue, though. When our server restarts, the age doesn't load, and requires an admin using the linking book to reload the age. Once it's loaded, it stays loaded just fine, even when vacant. We are using anchors to keep the /warp chunk loaded, as well.
This is a even more so of an issue because /warp or any other teleportation command doesn't work when the dimension isn't loaded.

Oh, and btw, this is set properly, but something else is still unloading mystcraft ages on restart:

Code:
#Set to false to disable the automatic reloading of mystcraft dimensions on server restart
reload-dimensions=true

We are on Direwolf20, 1.0.12, using MCPC+. Running essentials for additional teleport commands.
 

Rebirth Gaming

New Member
Jul 29, 2019
360
0
0
See, that's what I thought. But check out my MCPC+ config:

Code:
world-environment-settings:
  normal:
    keep-world-loaded: true
  nether:
    keep-world-loaded: true
  the_end:
    keep-world-loaded: false
    enabled: true
  myst:
    keep-world-loaded: true
    enabled: true
  scl:
    keep-world-loaded: false
  storage:
    keep-world-loaded: false
  promised:
    keep-world-loaded: false
    enabled: true
  underdark:
    keep-world-loaded: false
    enabled: true
  twilightforest:
    keep-world-loaded: true
    enabled: true

I installed Multiverse for now, which works to force mystcraft ages of my choosing to load on startup. However, I have noticed MV causes some weird issues with ages, such as making them appear to rain inside the ages even though the age is set to no weather. Also, this is purely a graphical hiccup, as the various effects that come with raining, such as damaging endermen, don't happen. It's like it's raining but it's not. Same sort of thing happens with eternal day ages - it becomes eternal night or regular day cycle, but only graphically.
Removing MV fixes these weird anomalies.

I am hoping that this can be resolved without the use of an additional plugin, since that's just additional data and load on the server, plus those weird events which may later become a complaint when we start letting premium users have their own age.
 

Rebirth Gaming

New Member
Jul 29, 2019
360
0
0
I removed Multiverse because it's causing some realllly weird issues with Mystcraft ages. I found it was just better to manually load each age after each server restart than to deal with the MV issues. One of the biggest complaints about MV was that it was causing IC2 cables to stop working until they were removed and placed again.

If anyone can refer another plugin (or solution) that can load Mystcraft ages on server start, that would be great.
 

Connor Gavitt

New Member
Jul 29, 2019
1,091
-1
0
I use royalcommands to load any worlds I want loaded, in its world.yml you can tell it which worlds to load on startup.
 

Rebirth Gaming

New Member
Jul 29, 2019
360
0
0
I stumbled upon a method by complete accident.

Somehow, ender chests and ender tanks keep Mystcraft ages alive during a server restart. But, there seems to be some requirements.

This is how I stumbled upon it and what I did:
We recently had some issues with players using portal guns at spawn to bypass MyTown protections. My temporary solution was to use an interdiction matrix to confiscate them and place them into a regular white/white/white ender chest. Players could then reclaim their confiscated portal guns if they have access to the ender chest away from spawn.

One of our public Mystcraft ages also has a white/white/white ender chest in it for public use. When restarting our server the other day, I noticed this age (as well as a handful of others) were loading on their own!

It seems like that by having an ender chest/tank in a part of the world that is always loaded on server start, such as spawn or some place that's loaded with an anchor, and by having the same ender chest/tank with items actively in it in the age, the age will load on server start.

I immedietly tested out my hypothesis by approaching one of our players who has their own age who has been requesting us to find a way to keep them loaded during restarts and plopped down a regular w/w/w ender chest in his age. Sure enough, on the next restart, his age loaded all on its own.

I also noted that other ages without ender chests synced between worlds never loaded on restart and required manual loading.

Perhaps it's because the ender chest mod checks against all synced chests and tanks, then force loads the worlds which contain their synced partners? Maybe someone could give some more insight, but, this works!
 

Francis Baster

New Member
Jul 29, 2019
295
0
0
I can confirm that Multiverse derps the daylights out of Forge servers.
Thanks for sharing your findings with the enderchest.
 

Kutta

New Member
Jul 29, 2019
6
0
0
I have been trying ALL night to get my age that I am building a battle maze in to load on startup. I am going to try this after work. I am on Infinity Evolved 2.1.2. I shall post my findings.
 

Kutta

New Member
Jul 29, 2019
6
0
0
So i am home now, and can confirm that this is an acceptable fix for the issue even on Infinity, almost 2 years later. Thank you SO much for this!