The Pure Suffering Mod

The Pure Suffering Mod

668k Downloads

Option to pause/resume invasions day count

RobertLeSanglier opened this issue ยท 5 comments

commented

Hello and happy new year !

I think the mod would be perfect if there were an admin command to toggle on/off the mod's day count.

When toggled off, the mod would stop counting the days, and thus not only would invasions not occur during this time but the severity tiers would not increase over this time either.

The usefulness of such a feature would be plenty for a server. For example, I would like to let my computer pre-generate my server world map using Chunky, but the thing is that letting my game run means the clock is ticking for invasions and their severity will increase over time. It could then be a pain for my players who don't have much playtime yet compared to the time I would let my server run to pre-generate.

It would also allow some breathing room for players who would like to pause invasions for many reasons such as :
-welcoming new players on their servers without having them face high tier invasions from the get-go,
-getting the time to relocate their bases,
-going on a special temporary adventure far away like exploring a biome from Alex's Caves.

We could then toggle the mod's day count back on once we're done using Chunky or doing some special event or testing to get back to the usual invasions !

Thank you for your amazing mod and I'll let you know once I've tested your updates if my previous issues were fixed !

commented

I didn't know there was a gamerule for that, thank you ! However, I know I haven't updated the mod yet, but it looks like this gamerule is not working on my version (1.20.1-1.6.6.4R-LTS1).

I have set the gamerule to false in game (I'm admin), then I have skipped some time using the /puresuffering cycle, and there are still invasions happening every few days !

EDIT: Quickly tested it on the latest mod version on a new world, the gamerule seems to work there. I will need to update my server mod version.

EDIT2: Just updated the mod on my server, currently the gamerule is set to false but invasions are still happening every few days ? I'm gonna keep testing

As for the server pause mod, I'm not sure if it would work because it means Chunky would run while the server is paused and I don't think that's possible, but I'll try it.

commented

For chunk pregeneration, does the multiplayer server pause mod help with that? As for stopping the day counter for events, currently Pure Suffering relies on the vanilla counter for invasions. There is a "puresuffering:enable_invasions" gamerule to disable invasions as needed for this in mind. Hyper & Nightmare invasions can also be disabled in gamerules. I suppose adding a separate day invasion counter could be added to the to-do list, it would require me rewrite core parts of the mod for it to work however.

commented

I've just tested the "puresuffering:enable_invasions" gamerule in 1.20.1 & 1.21.1 on version 1.6.7.0R and disabling invasions worked on both versions of the mod, however when I set "overrideGamerules" to true in the config file, it seems I forgot to make an exception due to this gamerule not having a config file version. This will be fixed in 1.6.7.1R and is currently being submitted to CurseForge for release. Let me know if it is fixed on your end.

commented

Looks like it is fixed, thank you very much !

commented

Np, going to keep this issue open as a reminder for me to separate the day timer in the next major version.