Minecraft - Multiple issues with Backups, Templates and the Console

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Phobos’ v2.6.3.2 (Mainline)
Virtualization Docker
Application Minecraft
Module MinecraftModule
Running in Container Yes
Current State Ready

Problem Description

Backup, Template and Console issues

Issue

I have been using AMP for a few months now, and I like it very, very much, but there are certain issues I encountered in that period that I am unable to fix. I hope the post is not too long, any help is appreciated.

Backups

Backups not deleting oldest

Every once in a while (on 3 servers, about once a week), a scheduled backup fails because the “Backup Space Limit” or the “Backup Count Limit” is being reached, although “Delete Single Oldest” is active. Is there a fix for that?

How to take backups, only if players were online (e.g. Minecraft)

Is there a setting that I missed to only take backups if a player has connected to the server between the last backup and now? Taking a backup every day, even if no one joined the server, is not that optimal, because at some point, all backups end up having the same state, which destroys the purpose of having multiple backups. So is there a possibility to configure a schedule to only run if a player joined between backups?

Templates

What is the “Instance Tag / Order ID”

I recently reregistered my AMP instance to enable the “Templates” feature of my advanced license. After reading the documentation and creating a template, if I want to deploy it for an existing user, it wants an “Instance Tag / Order ID”. What is meant by that, and how can I find it?

Templates not working

Separately from the question above, I have a problem with templates in general, no matter which “Provisioning Flags” I enter, none of them are working. For example, the easiest one on a Minecraft server being “Minecraft.SkipEULACheck” = “True” is not working. Did I configure something wrong or forget something? I tried it multiple times, with multiple sets of provisioning flags, and nothing seems to work.

Console

Console history not working correctly

Even after changing the “Console Scrollback Period” to absurdly high numbers in the settings, the console (specifically on Minecraft instances) doesn’t really show everything it is supposed to. It states to “only show the last 1000 lines”, but it is more like 10-30 lines at best, or nothing at all. It is really annoying because I have to go through the logs for basically everything I want to check. If I keep the console open while doing stuff on the server, it shows correctly at the time being, but not for long.
Is there a way to configure the console to show everything to the 1000-line limit? I also read a post a while ago that the console is supposed to be reworked, but that post was, I think, two years ago. Is there anything planned in the near future?

I would appreciate any input or help on any of the provided topics. :smiley:

Reproduction Steps

  • Setup AMP on Linux (Ubuntu 24.04.3)
  • Setup Minecraft Servers (Paper 1.21.1 - 1.21.8)
  • Reregister your AMP Instance to activate “Advanced Features”

If deleting the oldest backup doesn’t free up enough space to start a new one, it stops. Change the backup mode to “Keep Deleting” to make it delete multiple backups if necessary to make space. (You’re not the first to get caught out by this, I’ll change the error to make it more obvious what the problem is)

There isn’t currently a way to only take a backup if the server has been populated because AMP can’t track this for all games.

Instance Tag / Order ID is for Enterprise usage to associate instances with customer orders, or to integrate with external applications that want to supply their own ID.

Your node is wrong. It’s “MinecraftModule.Minecraft.SkipEULACheck” (note that this doesn’t omit the requirement to accept the EULA, it just stops AMP from trying to check this before the server starts) - You can find the nodes by turning on the “Show Development Information” setting.

The history is time gated, you need to also adjust the “Console Scrollback Period” which is 10 minutes by default.

Thank you very much for the quick and detailed answer.
Especially for the tip about the “Development Information.” I’ve just copied the nodes from the “MinecraftModule.kvp” without adding the filename, but that makes it much easier, of course.

Unfortunately, as stated in my post above, the change of the “Console Scrollback Period” didn’t work for me, as I already have it set to 1440 minutes, which helped a bit, but not as much as I hoped.

Could there be a different solution, or could it be that there is an invisible limit you cannot cross?

Also, for your information, I don’t know if this is intended, but the option “KeepDeleting” for “Limits.ReplacePolicy” is called “Delete Multiple” in the UI. If this is not intended and you planned to adjust the error message, maybe also take a look into that.