I built a Tasker program that blocks unknown numbers if toggled and allows back-to-back calls through. It uses a Minimalistic Text widget for control.
I also built one for background images. Every time I turn my screen off, my background changes to a new (blurry, gray) picture of my wife. Double tapping will unblur and color it. I can toggle switching if I like a particular picture.
Does it have to be pterodactyl? I have two servers set up with Docker and they were very easy to set up.
I use this: https://github.com/itzg/docker-minecraft-server