Configuration with Palworld - Sleep mode

System Information

Field Value
Operating System Linux - Ubuntu 22.04.4 on x86_64
Product AMP ‘Phobos’ v2.6.0.6 (Mainline)
Virtualization None
Application Palworld
Module GenericModule
Running in Container No
Current State Ready

Problem Description

Issue

Attempting to use the sleep mode setting in order to conserve server resources. It does not appear to be functioning.

Reproduction Steps

  • Manage settings
  • Activate Sleep mode with default settings
  • Activate ‘sleep on startup’ with default settings
  • Observe instance to see if it goes into sleep mode
  • Server does not enter sleep mode after startup
  • Server does not enter sleep mode after all players have logged off.

The template is not configured for sleep. Won’t work with Palworld

That’s because I recently turned it off because it wasn’t working anyhow.

The template doesn’t support sleep, regardless of whether you have the “Enable Sleep” button turned off or on in the AMP UI

Oh, well that’s odd. I noticed other games just don’t give the ‘Sleep Mode’ option, and it felt natural to assume it wouldn’t offer the option if it didn’t work.

Are there any plans to make it function?

To function the server must only use UDP for communication and be able to start from a cold start in under 25 seconds.

Thank you, Mike. It’s good to have an official answer. So is this something that can be set up with PalWorld, or is the game, by default, incapable of this setup?

As I’ve said, it does not work with Palworld

I’ve actually tested it, this is not theory

I appreciate the assistance, but if a staff member is telling me there’s a way, I’d like to hear more from them.

Suit yourself. I prepared the template and did all the testing, Mike hasn’t touched it lol

1 Like

Fellow staff member here, it doesn’t work. Greelan knows his stuff when it comes to templates better than Mike and I combined. xD

1 Like

Gotcha. The titles here on the forum are not great at identifying experience and responsibilities.

I apologize. The profile information makes it appear as if you’re just a community member attempting to lend assistance, not someone with information on how the templates function.

If you take suggestions, I would suggest editing the template to remove options that don’t function. As I said, other games don’t even offer sleep mode as an option.

The template is configured to disable sleep entirely. How AMP then treats that in terms of displaying sleep settings in the panel is determined by AMP’s closed source code, to which I don’t have access

Mike or Ice would need to address that anomaly

1 Like

Gotcha. Yeah, I see that in Starbound, sleep mode doesn’t appear at all, and in Minecraft, it’s in a completely different menu location, so it’s clear that the template can be altered, but I understand if that’s locked to developers only.

Another suggestion on Palworld from a quality of life standpoint: We’ve had a lot of issues on our server with rollbacks, crashes and desynchronization. We’ve made alterations to the default options and one default stood out starkly once we noticed it.

The default Palworld backup timer (auto save interval) is set at 30 seconds. From what I gather, this is a default from Palworld itself. I changed ours to 16 minutes. I don’t have a solid number to tell you works best, but I’m pretty sure that 30 seconds number was directly contributing to the desyncs, and possibly the crashes as it’s waaaaaay excessive.

After changing it, we had a record 13 hours of uptime without a restart or a crash, and it only ended at 13 hours because I thought it might have desync’d again, but after taking it down gracefully and throwing it back up it looks like it didn’t.

The Starbound instance is based on the same module as Palworld so there should be no difference between the two in terms of sleep settings (and in fact there is not - just checked with a new instance)

Minecraft Java has its own module, hence the different setup

There are only three continuing specific modules - Minecraft Java, FiveM/RedM, and Rust (plus srcds which has been largely replaced and will be deprecated soon)

Everything else is based on the generic module

Gotcha. I just meant that Starbound doesn’t even offer Sleep Mode in the config anywhere.

It does. It is in the same spot (System Settings>Sleep)

I’m not seeing it on my instance. Picture attached.

edit: … though a new one I made just now -does- have it. That’s bizarre.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.