so i have the server i need and everything but it all comes crashing down with pterodactyl as I don't know much on it can someone help or guide me please
Pterodactyl has a discord, why don't you go there for dedicated support?
Regardless of where you ask - if you want help you should provide detailed information. Tell exactly what commands you entered, from start to finish, not skipping anything and provide the outputs that you've gotten, especially the errors.
For pterodactyl or any gaming server, you need a real server with a real operating system that you get full control over.
Instead look for cheap VPS options in your country. Make sure their specs are good enough for a minecraft server. It will cost ~ 5-10$ per month. Then:
Point the domain from cloudflare to that VPS by changing the dns records in cloudflare
I've always just run the server directly from the JAR in a screen session. If you're just running a simple server and don't need the features of Pterodactyl it's definitely the easiest option. Just download the JAR from Minecraft's website to a new directory, and run with java -Xmx4G -Xms4G -jar minecraft_server.1.21.6.jar nogui (The page says 1 gig of RAM, but I'd recommend more if you have it available).
good news i fixed all the errors right now i am just making a map for my server if anyone is interested when its ready I can put the IP here if you guys wanna try it out
I wrote my own but it's manageable. I use mods, resource packs, data packs and have a whitelist. I make sure to backup the compose file from time to time.
If you are having an issue managing it, let me know.
OP, you bring back memories. I had an absolute blast running my server. Now, I had mine set up on a baremetal VPS with some balls because I was running a lot of add-ons and shaders. Good luck with your project. Minecraft, to me, is a bit more than just a game when you get into the guts of it.
You'd enjoy Vintage Story. It started as the Vintage Craft mod, but it got too big for MC. Still in early access, but already a great game, with a built in modding API
I'm sure I'd dig it. Alas, my seizure condition now won't let me play moving graphics games. It can/does induce a seizure, which chaps my ass something fierce because there are a lot of kick ass games I'd like to try. Those graphics on Vintage Story look very nice.